/titanic_41/usr/src/cmd/tcpd/ |
H A D | scaffold.c | 56 for (count = 0; hp->h_addr_list[count] != 0; count++) 67 hb->host.h_addr_list = hb->addr_list; 68 hb->host.h_addr_list[count] = 0; 69 data = (char *) (hb->host.h_addr_list + count + 1); 71 for (count = 0; (addr = hp->h_addr_list[count]) != 0; count++) { 72 hb->host.h_addr_list[count] = data + hp->h_length * count; 73 memcpy(hb->host.h_addr_list[count], addr, hp->h_length); 92 h.h_addr_list = addr_list; 93 h.h_addr_list[0] = (char *) &addr; 140 for (count = 0; (addr = hp->h_addr_list[count]) != 0; count++) {
|
H A D | tcpdmatch.c | 179 for (count = 0; (addr = hp->h_addr_list[count]) != 0; count++) { 235 for (count = 0; (addr = hp->h_addr_list[count]) != 0; count++) { 247 if (hp->h_addr_list[count + 1])
|
/titanic_41/usr/src/lib/libnsl/nss/ |
H A D | getipnodeby.c | 340 order_haddrlist_af(AF_INET6, hp->h_addr_list); in getipnodebyname() 541 addr6 = (struct in6_addr *)hp->h_addr_list[0]; in getipnodebyaddr() 819 host->h_addr_list = (char **)ROUND_UP(buffer, sizeof (char **)); in __mapv4tov6() 820 if ((char *)host->h_addr_list >= limit || in __mapv4tov6() 821 buff_locp <= (char *)host->h_addr_list) { in __mapv4tov6() 832 for (i = 0; he4->h_addr_list[i] != NULL; i++) { in __mapv4tov6() 835 (char *)&(host->h_addr_list[count + 1])) { in __mapv4tov6() 844 host->h_addr_list[count] = (char *)addr6p; in __mapv4tov6() 850 bcopy((char *)he4->h_addr_list[i], in __mapv4tov6() 857 host->h_addr_list[count] = NULL; in __mapv4tov6() [all …]
|
/titanic_41/usr/src/lib/libresolv2/common/irs/ |
H A D | gethostent_r.c | 168 for (i = 0; he->h_addr_list[i]; i++, nptr++) { in copy_hostent() 190 hptr->h_addr_list = ptr; in copy_hostent() 191 for (i = 0; he->h_addr_list[i]; i++ , ptr++) { in copy_hostent() 192 memcpy(cp, he->h_addr_list[i], n); in copy_hostent() 193 hptr->h_addr_list[i] = cp; in copy_hostent() 196 hptr->h_addr_list[i] = NULL; in copy_hostent() 231 hptr->h_addr_list = hdptr->h_addr_ptrs; in copy_hostent() 232 while (he->h_addr_list[i] && i < (_MAXADDRS)) { in copy_hostent() 234 memcpy(cp, he->h_addr_list[i], n); in copy_hostent() 235 hptr->h_addr_list[i] = cp; in copy_hostent() [all …]
|
H A D | gethostent.c | 186 for (hap = net_data->ho_last->h_addr_list; in gethostbyaddr_p() 316 he.h_addr_list = addr_list; in getipnodebyname() 317 he.h_addr_list[0] = (v4 == 1) ? (char *)&in4 : (char *)&in6; in getipnodebyname() 318 he.h_addr_list[1] = NULL; in getipnodebyname() 449 cpp = he->h_addr_list; 466 memput(he->h_addr_list, sizeof(char *) * (addresses)); 826 cpp = he1->h_addr_list; 839 cpp = he2->h_addr_list; 862 he->h_addr_list = memget(sizeof(char *) * (addresses)); 863 if (he->h_addr_list == NULL) [all …]
|
H A D | irp_ho.c | 235 for (p = ho->h_addr_list ; *p != NULL ; p++) { in ho_byaddr() 388 if (ho->h_addr_list != NULL) { in free_host() 389 for (p = ho->h_addr_list ; *p != NULL ; p++) in free_host() 391 free(ho->h_addr_list); in free_host()
|
/titanic_41/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 139 host->h_addr_list = (char **) 141 ret = dns_netdb_aliases(he->h_addr_list, host->h_addr_list, 146 host->h_aliases = host->h_addr_list + count + 1; 152 host->h_addr_list = (char **) 155 ret = dns_netdb_aliases(he->h_addr_list, 156 host->h_addr_list, (char **)&addrp6, 159 ret = dns_netdb_aliases(he->h_addr_list, 160 host->h_addr_list, (char **)&addrp6, 166 host->h_aliases = host->h_addr_list + count + 1; 217 for (p = hp->h_addr_list; *p != 0; p++) { in ent2str() [all …]
|
H A D | gethostent6.c | 144 if (h == 0 || h->h_addr_list == 0) { in cloneAddrList() 158 for (addrCount = 0; h->h_addr_list[addrCount]; addrCount++); in cloneAddrList() 179 (struct in_addr *)h->h_addr_list[i], addrArray[i]); in cloneAddrList() 181 (void) memcpy(addrArray[i], h->h_addr_list[i], in cloneAddrList() 378 mhe.h_addr_list = (char **)mergeAddrs; 407 v6he.h_addr_list = (char **)v6Addrs;
|
/titanic_41/usr/src/cmd/sendmail/aux/ |
H A D | mconnect.c | 137 bcopy(hp->h_addr_list[addr_num], 142 bcopy(&hp->h_addr_list[addr_num][IN6ADDRSZ - INADDRSZ], 172 if (hp->h_addr_list[++addr_num] != NULL) { 175 bcopy(hp->h_addr_list[addr_num], 180 bcopy(&hp->h_addr_list[addr_num]
|
/titanic_41/usr/src/cmd/backup/lib/ |
H A D | myrcmd.c | 116 numhp.h_addr_list = (char **)numaddrlist; in myrcmd() 177 bcopy(hp->h_addr_list[0], (caddr_t)&sin.sin_addr, hp->h_length); in myrcmd() 191 if (hp->h_addr_list[1] != NULL) { in myrcmd() 199 hp->h_addr_list++; in myrcmd() 200 bcopy(hp->h_addr_list[0], (caddr_t)&sin.sin_addr, in myrcmd()
|
/titanic_41/usr/src/lib/print/libhttp-core/common/ |
H A D | http-addr.c | 108 memcpy((char *)&(addr->ipv6.sin6_addr), host->h_addr_list[n], in httpAddrLoad() 118 strlcpy(addr->un.sun_path, host->h_addr_list[n], sizeof(addr->un.sun_path)); in httpAddrLoad() 130 memcpy((char *)&(addr->ipv4.sin_addr), host->h_addr_list[n], in httpAddrLoad() 311 host_ip.h_addr_list = packed_ptr; in httpGetHostByName() 347 host_ip.h_addr_list = packed_ptr; in httpGetHostByName()
|
/titanic_41/usr/src/stand/lib/sa/ |
H A D | netdb.h | 62 char **h_addr_list; /* list of addresses from name server */ member 63 #define h_addr h_addr_list[0] /* address, for backward compatiblity */
|
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | fake-getaddrinfo.c | 102 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { in getaddrinfo() 103 for (i = 0; hp->h_addr_list[i]; i++) { in getaddrinfo() 104 cur = malloc_ai(port, ((struct in_addr *)hp->h_addr_list[i])->s_addr); in getaddrinfo()
|
/titanic_41/usr/src/lib/libbc/inc/include/ |
H A D | netdb.h | 37 char **h_addr_list; /* list of addresses from name server */ member 38 #define h_addr h_addr_list[0] /* address, for backward compatiblity */
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_doorclt.c | 319 hptr->h_addr_list = (char **)((char *)hptr + in kgetipnodebyname() 321 *hptr->h_addr_list = (char *)cnf; in kgetipnodebyname() 394 hptr->h_addr_list = (char **)((char *)hptr + in kgetipnodebyname() 396 *hptr->h_addr_list = ((char *)cnf + cnf->h_addr_list_offset); in kgetipnodebyname()
|
/titanic_41/usr/src/lib/libwrap/ |
H A D | workarounds.c | 236 if ((hp = gethostbyname(name)) && !hp->h_addr_list[1] && hp->h_aliases[1]) { 244 o_addr_list = hp->h_addr_list; 247 hp->h_addr_list = hp->h_aliases;
|
H A D | socket.c | 220 for (i = 0; hp->h_addr_list[i]; i++) { 221 if (memcmp(hp->h_addr_list[i],
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 369 hp->h_addr_list = list; in lgetipnodebyname() 371 hp->h_addr_list[i] = NULL; in lgetipnodebyname() 385 hp->h_addr_list[ind] = in lgetipnodebyname() 406 hp->h_addr_list[ind] = in lgetipnodebyname() 413 hp->h_addr_list[ind] = in lgetipnodebyname()
|
/titanic_41/usr/src/cmd/svr4pkg/libinst/ |
H A D | is_local_host.c | 136 for (nha = 0; hp->h_addr_list[nha]; nha++) { in is_local_if() 137 if (memcmp(hp->h_addr_list[nha], lifraddrp(lifrp), in is_local_if()
|
/titanic_41/usr/src/lib/libbc/libc/net/ |
H A D | rcmd.c | 67 bcopy(hp->h_addr_list[0], (caddr_t)&sin.sin_addr, hp->h_length); in rcmd() 81 if (hp->h_addr_list[1] != NULL) { in rcmd() 88 hp->h_addr_list++; in rcmd() 89 bcopy(hp->h_addr_list[0], (caddr_t)&sin.sin_addr, in rcmd()
|
/titanic_41/usr/src/cmd/ypcmd/ |
H A D | rpc_bootstrap.c | 179 hent->h_addr_list = tmphost_addrs; 194 hent->h_addr_list[0], hent->h_length); 203 hent->h_addr_list[0], hent->h_length); 445 host.h_addr_list = host_addrs; in __files_gethostent() 457 bcopy(addr, host.h_addr_list[0], len); in __files_gethostent()
|
/titanic_41/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent.c | 626 hp->h_addr_list = (char **)(ROUND_DOWN(addrp - 631 hp->h_addr_list[i] = (char *)addrp; 637 hp->h_addr_list = (char **)(ROUND_DOWN(addrp6 - 643 hp->h_addr_list[i] = (char *)addrp6; 647 hp->h_addr_list[nhosts] = 0; 650 (char *)hp->h_addr_list - args->buf.buffer);
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipseckey.c | 768 dummy.he.h_addr_list = dummy.addtl; in parseaddr() 778 dummy.he.h_addr_list = dummy.addtl; in parseaddr() 1256 srchp->h_addr_list[1] = NULL; in doaddresses() 1259 if (srchp->h_addr_list[i] == NULL) in doaddresses() 1267 bcopy(srchp->h_addr_list[i], &sin6->sin6_addr, in doaddresses() 1328 } while (srchp != NULL && srchp->h_addr_list[++i] != NULL); in doaddresses() 1338 for (i = 0; dsthp->h_addr_list[i] != NULL; i++) { in doaddresses() 1341 dsthp->h_addr_list[1] = NULL; in doaddresses() 1348 bcopy(dsthp->h_addr_list[i], &sin6->sin6_addr, in doaddresses() 1354 last_dst = (dsthp->h_addr_list[i + 1] == NULL); in doaddresses() [all …]
|
/titanic_41/usr/src/lib/libresolv/ |
H A D | netdb.h | 61 char **h_addr_list; /* list of addresses from name server */ member 62 #define h_addr h_addr_list[0] /* address, for backward compatiblity */
|
/titanic_41/usr/src/lib/libast/common/uwin/ |
H A D | rcmd.c | 174 bcopy(hp->h_addr_list[0], (caddr_t)&sin.sin_addr, hp->h_length); in rcmd() 188 if (hp->h_addr_list[1] != NULL) { in rcmd() 204 hp->h_addr_list++; in rcmd() 205 bcopy(hp->h_addr_list[0], (caddr_t)&sin.sin_addr, in rcmd()
|