/illumos-gate/usr/src/stand/lib/sa/ |
H A D | netdb.h | 59 char **h_aliases; /* alias list */ member in struct:hostent
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | gethostent_r.c | 171 for (i = 0; he->h_aliases[i]; i++, nptr++) { 172 len += strlen(he->h_aliases[i]) + 1; 206 hptr->h_aliases = ptr; 207 for (i = 0 ; he->h_aliases[i]; i++) { 208 n = strlen(he->h_aliases[i]) + 1; 209 strcpy(cp, he->h_aliases[i]); 210 hptr->h_aliases[i] = cp; 213 hptr->h_aliases[i] = NULL; 255 hptr->h_aliases = hdptr->host_aliases; 256 while (he->h_aliases[ [all...] |
H A D | gethostent.c | 156 for (hap = net_data->ho_last->h_aliases; hap && *hap; hap++) 319 he.h_aliases = aliases; 320 he.h_aliases[0] = NULL; 458 cpp = he->h_aliases; 465 memput(he->h_aliases, sizeof(char *) * (names)); 831 cpp = he1->h_aliases; 845 cpp = he2->h_aliases; 911 he->h_aliases = memget(sizeof(char *) * (names)); 912 if (he->h_aliases == NULL) 914 memset(he->h_aliases, [all...] |
H A D | irp_ho.c | 382 if (ho->h_aliases != NULL) { 383 for (p = ho->h_aliases ; *p != NULL ; p++) 385 free(ho->h_aliases);
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | getipnodeby.c | 414 * front-end sets h_aliases to a one 417 * getipnodebyname() requires h_aliases to 422 * h_aliases to NULL here instead. 424 hp->h_aliases = NULL; 888 host->h_aliases = host->h_addr_list + count + 1; 900 if (buff_locp <= (char *)(host->h_aliases)) 904 host->h_aliases = NULL; /* no aliases for literal */ 914 if (buff_locp <= (char *)(host->h_aliases)) 921 for (i = 0; he4->h_aliases[i] != NULL; i++) { 922 buff_locp -= (len = strlen(he4->h_aliases[ [all...] |
H A D | gethostent.c | 243 host->h_aliases = _nss_netdb_aliases(p, limit - p, 245 if (host->h_aliases == NULL) 254 if (host->h_aliases == 0) { 261 host->h_name = host->h_aliases[0]; 262 host->h_aliases++;
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | workarounds.c | 236 if ((hp = gethostbyname(name)) && !hp->h_addr_list[1] && hp->h_aliases[1]) { 237 for (o_aliases = n_addr_list = hp->h_aliases; *o_aliases; o_aliases++) { 247 hp->h_addr_list = hp->h_aliases; 248 hp->h_aliases = o_addr_list + 1;
|
/illumos-gate/usr/src/lib/libbc/inc/include/ |
H A D | netdb.h | 34 char **h_aliases; /* alias list */ member in struct:hostent
|
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | gethostent6.c | 200 * Create a new alias array that is is a copy of h->h_aliases[] plus 202 * in h->h_aliases[]. 224 if (h == 0 || h->h_aliases == 0) { 229 for (aliasCount = 0; h->h_aliases[aliasCount]; aliasCount++) { 230 stringSize += RNDUP(strlen(h->h_aliases[aliasCount])+1); 239 h->h_aliases[j]) == 0) { 260 int len = strlen(h->h_aliases[i]); 262 (void) memcpy(aliasArray[i], h->h_aliases[i], len+1); 396 mhe.h_aliases = mergeAliases; 408 v6he.h_aliases [all...] |
H A D | dns_common.c | 145 /* h_aliases */ 146 host->h_aliases = host->h_addr_list + count + 1; 147 ret = dns_netdb_aliases(he->h_aliases, host->h_aliases, 165 /* h_aliases */ 166 host->h_aliases = host->h_addr_list + count + 1; 167 ret = dns_netdb_aliases(he->h_aliases, host->h_aliases, 256 for (q = hp->h_aliases; q && *q; q++) {
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogethost.c | 57 for (q = hp->h_aliases; *q != 0; q++) {
|
H A D | dogetipnodes.c | 77 for (q = hp->h_aliases; q && *q; q++) {
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/ |
H A D | iscsi_door.h | 115 char **h_aliases; /* alias list */ member in struct:hostent
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | netdb.h | 58 char **h_aliases; /* alias list */ member in struct:hostent
|
H A D | res_gethost.c | 131 host.h_aliases = host_aliases; 404 q = host.h_aliases = host_aliases; 450 for (cp = p->h_aliases; *cp != 0; cp++)
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-addr.c | 308 host_ip.h_aliases = NULL; 344 host_ip.h_aliases = NULL;
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_generic.c | 244 if (ent.h_aliases == NULL) 246 for (p = ent.h_aliases; *p != 0; p++) {
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent.c | 648 hp->h_aliases = _nss_netdb_aliases(abuf_start, 651 if (hp->h_aliases == 0) { 655 hp->h_name = hp->h_aliases[0]; 656 hp->h_aliases++; 686 if ((cp = hp->h_aliases) == NULL)
|
/illumos-gate/usr/src/head/ |
H A D | netdb.h | 98 char **h_aliases; /* alias list */ member in struct:hostent
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 130 hp ? hp->h_aliases : NULL); 177 retval = addhost(AF_INET6, ip6addr, addname, hp ? hp->h_aliases : NULL);
|
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndrboot.c | 289 for (i = 0; hp->h_aliases[i] != NULL; i++) { 290 if (strcmp(hp->h_aliases[i], fromhost) == 0) 291 (void) strncpy(fromname, hp->h_aliases[i], 311 for (i = 0; hp->h_aliases[i] != NULL; i++) { 312 if (strcmp(hp->h_aliases[i], tohost) == 0) 313 (void) strncpy(toname, hp->h_aliases[i],
|
/illumos-gate/usr/src/cmd/rexd/ |
H A D | mount_nfs.c | 170 if (hp->h_aliases[0] && *hp->h_aliases[0]) 171 fprintf(stderr, "h_aliases %s\n\t", hp->h_aliases[0]); 173 fprintf(stderr, "h_aliases %s\n\t", "<none>");
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_standalone.c | 472 sizeof (char *) * 2 + /* The h_aliases member */ 486 result->h_aliases = (char **)ROUND_UP(result->h_addr_list, 488 result->h_aliases[0] = buffer; 489 result->h_aliases[1] = NULL; 496 result->h_aliases = result->h_addr_list; 504 sizeof (char *) * 2 + /* The h_aliases member */ 518 result->h_aliases = (char **)ROUND_UP(result->h_addr_list, 520 result->h_aliases[0] = buffer; 521 result->h_aliases[1] = NULL; 528 result->h_aliases [all...] |
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | rpc_bootstrap.c | 403 for (cp = hp->h_aliases; cp != 0 && *cp != 0; cp++) 463 q = host.h_aliases = host_aliases;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | fake-addrinfo.c | 1229 for (i = 0; hp->h_aliases[i]; i++) { 1230 if (strchr(hp->h_aliases[i], '.') != 0) { 1231 name2 = hp->h_aliases[i]; 1236 h_aliases[0] on all systems I've seen). */ 1237 if (hp->h_aliases[i] == 0)
|