| /netbsd/src/external/bsd/libbind/dist/irs/ |
| D | gethostent_r.c | 173 for (i = 0; he->h_aliases[i]; i++, nptr++) { in copy_hostent() 174 len += strlen(he->h_aliases[i]) + 1; in copy_hostent() 208 hptr->h_aliases = ptr; in copy_hostent() 209 for (i = 0 ; he->h_aliases[i]; i++) { in copy_hostent() 210 n = strlen(he->h_aliases[i]) + 1; in copy_hostent() 211 strcpy(cp, he->h_aliases[i]); in copy_hostent() 212 hptr->h_aliases[i] = cp; in copy_hostent() 215 hptr->h_aliases[i] = NULL; in copy_hostent() 257 hptr->h_aliases = hdptr->host_aliases; in copy_hostent() 258 while (he->h_aliases[i] && i < (_MAXALIASES-1)) { in copy_hostent() [all …]
|
| D | gethostent.c | 147 for (hap = net_data->ho_last->h_aliases; hap && *hap; hap++) in gethostbyname2_p() 304 he.h_aliases = aliases; in getipnodebyname() 305 he.h_aliases[0] = NULL; in getipnodebyname() 438 cpp = he->h_aliases; in freehostent() 445 memput(he->h_aliases, sizeof(char *) * (names)); in freehostent() 811 cpp = he1->h_aliases; in copyandmerge() 825 cpp = he2->h_aliases; in copyandmerge() 891 he->h_aliases = memget(sizeof(char *) * (names)); in copyandmerge() 892 if (he->h_aliases == NULL) in copyandmerge() 894 memset(he->h_aliases, 0, sizeof(char *) * (names)); in copyandmerge() [all …]
|
| D | irp_ho.c | 384 if (ho->h_aliases != NULL) { in free_host() 385 for (p = ho->h_aliases ; *p != NULL ; p++) in free_host() 387 free(ho->h_aliases); in free_host()
|
| D | irpmarshall.c | 920 need += joinlength(ho->h_aliases) + 1; in irp_marshall_ho() 953 joinarray(ho->h_aliases, *buffer, COMMA); strcat(*buffer, fieldsep); in irp_marshall_ho() 1111 ho->h_aliases = aliases; in irp_unmarshall_ho() 2139 for (i = 0 ; he.h_aliases[i] != NULL ; i++) in main() 2140 printf("\n\t\t\"%s\"", he.h_aliases[i]); in main()
|
| D | lcl_ho.c | 239 for (hap = hp->h_aliases; *hap; hap++) { in ho_byname2() 409 q = pvt->host.h_aliases = pvt->host_aliases; in ho_next()
|
| D | nis_ho.c | 494 q = pvt->host.h_aliases = pvt->host_aliases; in makehostent()
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| D | copyhostent.c | 55 res->h_aliases = NULL; in copyhostent() 64 for (n = 0, p = h->h_aliases; *p != NULL; ++p) in copyhostent() 66 res->h_aliases = malloc ((n + 1) * sizeof(*res->h_aliases)); in copyhostent() 67 if (res->h_aliases == NULL) { in copyhostent() 72 res->h_aliases[i] = NULL; in copyhostent() 74 res->h_aliases[i] = strdup (h->h_aliases[i]); in copyhostent() 75 if (res->h_aliases[i] == NULL) { in copyhostent()
|
| D | freehostent.c | 50 if (h->h_aliases != NULL) { in freehostent() 51 for (p = h->h_aliases; *p != NULL; ++p) in freehostent() 53 free (h->h_aliases); in freehostent()
|
| D | hostent_find_fqdn.c | 51 for (h = (const char **)he->h_aliases; *h != NULL; ++h) { in hostent_find_fqdn()
|
| D | roken_gethostby.c | 199 he.h_aliases = NULL; in roken_gethostby()
|
| /netbsd/src/lib/libc/net/ |
| D | sethostent.c | 195 for (cp = hp->h_aliases; *cp != NULL; cp++) in _hf_gethtbyname2() 206 for (anum = 0; hp->h_aliases[anum]; anum++) { in _hf_gethtbyname2() 209 HENT_SCOPY(aliases[anum], hp->h_aliases[anum], in _hf_gethtbyname2() 238 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _hf_gethtbyname2() 249 HENT_SCOPY(hp->h_aliases[i], aliases[i], ptr, len); in _hf_gethtbyname2() 250 hp->h_aliases[anum] = NULL; in _hf_gethtbyname2()
|
| D | gethnamaddr.c | 284 hent->h_aliases = ap = aliases; in getanswer() 498 qlen = (n + 1) * sizeof(*hent->h_aliases); in getanswer() 501 hent->h_aliases = (void *)bp; in getanswer() 659 HENT_ARRAY(hp->h_aliases, 0, buf, buflen); in gethostbyname_internal() 661 hp->h_aliases[0] = NULL; in gethostbyname_internal() 816 HENT_ARRAY(hent->h_aliases, anum, buf, buflen); in gethostent_r() 823 HENT_SCOPY(hent->h_aliases[i], aliases[i], buf, buflen); in gethostent_r() 824 hent->h_aliases[anum] = NULL; in gethostent_r() 1207 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _yp_hostent() 1217 HENT_SCOPY(hp->h_aliases[i], aliases[i], ptr, len); in _yp_hostent() [all …]
|
| /netbsd/src/distrib/utils/libhack/ |
| D | gethost.c | 216 HENT_ARRAY(hent->h_aliases, anum, buf, buflen); in gethostent_r() 223 HENT_SCOPY(hent->h_aliases[i], aliases[i], buf, buflen); in gethostent_r() 224 hent->h_aliases[anum] = NULL; in gethostent_r()
|
| /netbsd/src/external/apache2/mDNSResponder/nss/ |
| D | nss_mdnsd.c | 648 ctx->host.h_aliases = ctx->host_aliases; in _mdns_hostent_init() 650 ctx->host.h_name = ctx->host.h_aliases[0] = NULL; in _mdns_hostent_init() 681 if (!strncmp(ctx->host.h_aliases[i], name, len) in _mdns_hostent_add_host() 682 && (strlen(ctx->host.h_aliases[i]) == len)) { in _mdns_hostent_add_host() 693 ctx->host.h_aliases[ctx->naliases - 1] = ctx->next; in _mdns_hostent_add_host() 725 HENT_ARRAY(hp->h_aliases, ctx->naliases - 1, ptr, len); in _mdns_hostent_done() 736 HENT_SCOPY(hp->h_aliases[i], chp->h_aliases[i], ptr, len); in _mdns_hostent_done() 737 hp->h_aliases[ctx->naliases - 1] = NULL; in _mdns_hostent_done()
|
| /netbsd/src/tests/lib/libc/net/ |
| D | h_hostent.c | 62 for (i = 0; h->h_aliases[i]; i++) in phostent() 63 printf("%s%s", i == 0 ? "" : " ", h->h_aliases[i]); in phostent()
|
| /netbsd/src/external/bsd/openldap/dist/libraries/libldap/ |
| D | util-int.c | 811 if( src->h_aliases != NULL ) { in copy_hostent() 812 for( p = src->h_aliases; (*p) != NULL; p++ ) { in copy_hostent() 836 res->h_aliases = tp; in copy_hostent() 837 if ( src->h_aliases != NULL ) { in copy_hostent() 838 tbuf = cpy_aliases( &tp, tbuf, src->h_aliases ); in copy_hostent()
|
| /netbsd/src/lib/libbluetooth/ |
| D | bluetooth.c | 73 for (cp = p->h_aliases; *cp != 0; cp++) in bt_gethostbyname() 137 q = host.h_aliases = host_aliases; in bt_gethostent()
|
| /netbsd/src/external/bsd/ntp/dist/libntp/ |
| D | machines.c | 47 host1->h_aliases = name; in gethostbyname() 61 host1->h_aliases = name; in gethostbyaddr()
|
| /netbsd/src/external/bsd/ntp/dist/include/ |
| D | ntp_machine.h | 141 char **h_aliases; /* alias list */ member
|
| /netbsd/src/include/ |
| D | netdb.h | 150 char **h_aliases; /*%< alias list */ member
|
| /netbsd/src/external/bsd/libbind/dist/doc/ |
| D | getipnodebyname.cat3 | 29 char **h_aliases; /* alias list */ 41 h_aliases A zero-terminated array of alternate names for the host.
|
| D | gethostbyname.cat3 | 40 char **h_aliases; /* alias list */ 52 h_aliases A zero-terminated array of alternate names for the host.
|
| /netbsd/src/usr.sbin/ypserv/ypserv/ |
| D | ypserv_db.c | 534 while ((ptr = *(host->h_aliases)) != NULL) { in lookup_host() 542 host->h_aliases++; in lookup_host()
|
| /netbsd/src/external/bsd/libbind/dist/include/ |
| D | netdb.h | 143 char **h_aliases; /*%< alias list */ member
|
| /netbsd/src/external/bsd/am-utils/dist/amd/ |
| D | opts.c | 876 if (hp->h_aliases == NULL) { in f_xhost() 880 cp = hp->h_aliases; in f_xhost()
|