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

1234

/freebsd-13-stable/contrib/atf/test-programs/
H A Dcommon.sh34 for h_name in "${@}"; do
35 echo ${srcdir}/${h_name}
/freebsd-13-stable/contrib/ipfilter/lib/
H A Dhostname.c32 if (hp != NULL && hp->h_name != NULL &&
33 *hp->h_name != '\0') {
34 strncpy(hostbuf, hp->h_name, sizeof(hostbuf));
/freebsd-13-stable/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-13-stable/contrib/ntp/libntp/
H A Dnumtohost.c40 strlcpy(bp, hp->h_name, LIB_BUFLENGTH);
/freebsd-13-stable/usr.sbin/lpr/pac/
H A Dpac.c90 char *h_name; /* Name of this user */ member in struct:hent
280 printf("%-24s %7.2f %4d $%6.2f\n", hp->h_name,
309 hp->h_name, hp->h_count);
344 hp->h_name = (char *) calloc(sizeof(char), strlen(name)+1);
345 strcpy(hp->h_name, name);
366 if (strcmp(hp->h_name, name) == 0)
418 r = strcmp(h1->h_name, h2->h_name);
/freebsd-13-stable/usr.sbin/bootparamd/bootparamd/
H A Dbootparamd.c68 if (debug) warnx("this is host %s", he->h_name);
69 if (dolog) syslog(LOG_NOTICE,"This is host %s\n", he->h_name);
71 strncpy(askname, he->h_name, sizeof(askname));
127 strncpy(askname, he->h_name, sizeof(askname));
210 if (he && !strcmp(he->h_name, l_askname)) match = 1;
317 if (he && !strcmp(l_askname, he->h_name)) {
334 if (he && !strcmp(l_askname, he->h_name)) {
336 snprintf(l_hostname, len, "%s", he->h_name);
/freebsd-13-stable/usr.bin/bluetooth/bthost/
H A Dbthost.c98 printf("%s", reverse? he->h_name :
104 reverse? he->h_name :
/freebsd-13-stable/lib/libc/tests/nss/
H A Dgethostby_test.c151 if (src->h_name != NULL) {
152 dest->h_name = strdup(src->h_name);
153 ATF_REQUIRE(dest->h_name != NULL);
198 free(ht->h_name);
225 if (ht1->h_name == NULL || ht2->h_name == NULL)
230 strcmp(ht1->h_name, ht2->h_name) != 0)
381 rv = check_addrinfo_for_name(ai, he->h_name);
[all...]
/freebsd-13-stable/lib/libc/net/
H A Dgethostbydns.c158 he->h_name = NULL;
202 he->h_name = bp;
204 /* The qname can be abbreviated, but h_name is now absolute. */
205 qname = he->h_name;
268 he->h_name = bp;
323 he->h_name = bp;
338 he->h_name = bp;
353 if (strcasecmp(he->h_name, bp) != 0) {
355 AskedForGot, he->h_name, bp);
366 he->h_name
[all...]
H A Dgethostnamadr.c114 len += strlen(he->h_name) + 1;
140 n = strlen(he->h_name) + 1;
141 strcpy(cp, he->h_name);
142 hptr->h_name = cp;
288 if (ht->h_name != NULL)
289 desired_size += strlen(ht->h_name) + 1;
325 if (new_ht.h_name != NULL) {
326 size = strlen(new_ht.h_name);
327 memcpy(p, new_ht.h_name, size);
328 new_ht.h_name
[all...]
H A Dname6.c301 if (hp2 && strcmp(hp->h_name, hp2->h_name) == 0) {
417 if (hp->h_name != NULL)
418 size += strlen(hp->h_name) + 1;
445 if (hp->h_name != NULL) {
446 nhp->h_name = cp;
447 strcpy(cp, hp->h_name);
450 nhp->h_name = NULL;
488 hp->h_name = (char *)name;
519 hp->h_name
[all...]
/freebsd-13-stable/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-13-stable/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-13-stable/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-13-stable/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-13-stable/contrib/ipfilter/ipsend/
H A Darp.c89 if (!(ether_hostton(hp->h_name, (struct ether_addr *)ether)))
91 if (!(ether_hostton(hp->h_name, ether)))
/freebsd-13-stable/usr.bin/talk/
H A Dio.c83 hp2 = gethostbyname(hp->h_name);
89 his_machine_name = strdup(hp->h_name);
/freebsd-13-stable/contrib/tcp_wrappers/
H A Dsocket.c340 STRN_CPY(host->name, hp->h_name, sizeof(host->name));
365 } else if (STR_NE(host->name, hp->h_name)
375 host->name, STRING_LENGTH, hp->h_name);
400 inet_ntoa(sin->sin_addr), STRING_LENGTH, hp->h_name);
/freebsd-13-stable/sys/sys/
H A Dmodule_khelp.h54 char h_name[HELPER_NAME_MAXLEN]; member in struct:helper
/freebsd-13-stable/lib/libutil/
H A Drealhostname.c61 strlcpy(trimmed, hp->h_name, sizeof(trimmed));
66 strlcpy(lookup, hp->h_name, sizeof(lookup));
/freebsd-13-stable/usr.sbin/bluetooth/bthidcontrol/
H A Dhid.c112 (he != NULL && he->h_name != NULL)?
113 he->h_name : "");
/freebsd-13-stable/usr.sbin/bootparamd/callbootd/
H A Dcallbootd.c43 printf("%s answered:\n", he ? he->h_name : inet_ntoa(raddr->sin_addr));
55 printf("%s answered:\n", he ? he->h_name : inet_ntoa(raddr->sin_addr));
/freebsd-13-stable/sys/kern/
H A Dkern_khelp.c89 h->h_name, h->h_hooks[i].hook_type,
248 if (strncmp(h->h_name, hname, HELPER_NAME_MAXLEN) == 0) {
306 __func__, h->h_name,
341 strlcpy(kmd->helper->h_name, kmd->name, HELPER_NAME_MAXLEN);

Completed in 292 milliseconds

1234