Searched refs:h_name (Results 1 - 25 of 87) sorted by relevance

1234

/freebsd-current/contrib/atf/test-programs/
H A Dcommon.sh34 for h_name in "${@}"; do
35 echo ${srcdir}/${h_name}
/freebsd-current/sbin/ipf/libipf/
H A Dhostname.c31 if (hp != NULL && hp->h_name != NULL &&
32 *hp->h_name != '\0') {
33 strncpy(hostbuf, hp->h_name, sizeof(hostbuf));
/freebsd-current/crypto/heimdal/lib/roken/
H A Dhostent_find_fqdn.c39 * Try to find a fqdn (with `.') in he if possible, else return h_name
45 const char *ret = he->h_name;
H A Dcopyhostent.c52 res->h_name = NULL;
57 res->h_name = strdup (h->h_name);
58 if (res->h_name == NULL) {
H A Dfreehostent.c47 free (h->h_name);
/freebsd-current/contrib/ntp/libntp/
H A Dnumtohost.c40 strlcpy(bp, hp->h_name, LIB_BUFLENGTH);
/freebsd-current/usr.sbin/lpr/pac/
H A Dpac.c76 char *h_name; /* Name of this user */ member in struct:hent
266 printf("%-24s %7.2f %4d $%6.2f\n", hp->h_name,
295 hp->h_name, hp->h_count);
330 hp->h_name = (char *) calloc(sizeof(char), strlen(name)+1);
331 strcpy(hp->h_name, name);
352 if (strcmp(hp->h_name, name) == 0)
404 r = strcmp(h1->h_name, h2->h_name);
/freebsd-current/usr.sbin/bootparamd/bootparamd/
H A Dbootparamd.c66 if (debug) warnx("this is host %s", he->h_name);
67 if (dolog) syslog(LOG_NOTICE,"This is host %s\n", he->h_name);
69 strncpy(askname, he->h_name, sizeof(askname));
125 strncpy(askname, he->h_name, sizeof(askname));
208 if (he && !strcmp(he->h_name, l_askname)) match = 1;
315 if (he && !strcmp(l_askname, he->h_name)) {
332 if (he && !strcmp(l_askname, he->h_name)) {
334 snprintf(l_hostname, len, "%s", he->h_name);
/freebsd-current/usr.bin/bluetooth/bthost/
H A Dbthost.c97 printf("%s", reverse? he->h_name :
103 reverse? he->h_name :
/freebsd-current/lib/libc/tests/nss/
H A Dgethostby_test.c148 if (src->h_name != NULL) {
149 dest->h_name = strdup(src->h_name);
150 ATF_REQUIRE(dest->h_name != NULL);
195 free(ht->h_name);
222 if (ht1->h_name == NULL || ht2->h_name == NULL)
227 strcmp(ht1->h_name, ht2->h_name) != 0)
378 rv = check_addrinfo_for_name(ai, he->h_name);
[all...]
/freebsd-current/contrib/ldns/compat/
H A Dfake-rfc2553.c74 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
204 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) {
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.c75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
210 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) {
/freebsd-current/contrib/unbound/compat/
H A Dfake-rfc2553.c72 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
200 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) {
/freebsd-current/cddl/contrib/opensolaris/common/ctf/
H A Dctf_hash.c117 hep->h_name = name;
156 ctsp = &fp->ctf_str[CTF_NAME_STID(hep->h_name)];
157 str = ctsp->cts_strs + CTF_NAME_OFFSET(hep->h_name);
/freebsd-current/lib/libc/net/
H A Dgethostnamadr.c111 len += strlen(he->h_name) + 1;
137 n = strlen(he->h_name) + 1;
138 strcpy(cp, he->h_name);
139 hptr->h_name = cp;
285 if (ht->h_name != NULL)
286 desired_size += strlen(ht->h_name) + 1;
322 if (new_ht.h_name != NULL) {
323 size = strlen(new_ht.h_name);
324 memcpy(p, new_ht.h_name, size);
325 new_ht.h_name
[all...]
H A Dgethostbydns.c151 he->h_name = NULL;
195 he->h_name = bp;
197 /* The qname can be abbreviated, but h_name is now absolute. */
198 qname = he->h_name;
261 he->h_name = bp;
319 he->h_name = bp;
334 he->h_name = bp;
349 if (strcasecmp(he->h_name, bp) != 0) {
351 AskedForGot, he->h_name, bp);
362 he->h_name
[all...]
H A Dname6.c298 if (hp2 && strcmp(hp->h_name, hp2->h_name) == 0) {
414 if (hp->h_name != NULL)
415 size += strlen(hp->h_name) + 1;
442 if (hp->h_name != NULL) {
443 nhp->h_name = cp;
444 strcpy(cp, hp->h_name);
447 nhp->h_name = NULL;
485 hp->h_name = (char *)name;
516 hp->h_name
[all...]
/freebsd-current/usr.bin/talk/
H A Dio.c77 hp2 = gethostbyname(hp->h_name);
83 his_machine_name = strdup(hp->h_name);
/freebsd-current/sbin/ipf/ipsend/
H A Darp.c83 if (!(ether_hostton(hp->h_name, (struct ether_addr *)ether)))
85 if (!(ether_hostton(hp->h_name, ether)))
/freebsd-current/contrib/tcp_wrappers/
H A Dsocket.c336 STRN_CPY(host->name, hp->h_name, sizeof(host->name));
361 } else if (STR_NE(host->name, hp->h_name)
371 host->name, STRING_LENGTH, hp->h_name);
396 inet_ntoa(sin->sin_addr), STRING_LENGTH, hp->h_name);
/freebsd-current/sys/sys/
H A Dmodule_khelp.h52 char h_name[HELPER_NAME_MAXLEN]; member in struct:helper
/freebsd-current/usr.sbin/bluetooth/bthidcontrol/
H A Dhid.c111 (he != NULL && he->h_name != NULL)?
112 he->h_name : "");
/freebsd-current/usr.sbin/bootparamd/callbootd/
H A Dcallbootd.c41 printf("%s answered:\n", he ? he->h_name : inet_ntoa(raddr->sin_addr));
53 printf("%s answered:\n", he ? he->h_name : inet_ntoa(raddr->sin_addr));
/freebsd-current/lib/libutil/
H A Drealhostname.c58 strlcpy(trimmed, hp->h_name, sizeof(trimmed));
63 strlcpy(lookup, hp->h_name, sizeof(lookup));
/freebsd-current/sys/kern/
H A Dkern_khelp.c86 h->h_name, h->h_hooks[i].hook_type,
245 if (strncmp(h->h_name, hname, HELPER_NAME_MAXLEN) == 0) {
303 __func__, h->h_name,
334 strlcpy(kmd->helper->h_name, kmd->name, HELPER_NAME_MAXLEN);

Completed in 480 milliseconds

1234