/illumos-gate/usr/src/cmd/tcpd/ |
H A D | scaffold.c | 60 + (hp->h_length + sizeof(char *)) * count)) == 0) { 66 hb->host.h_length = hp->h_length; 72 hb->host.h_addr_list[count] = data + hp->h_length * count; 73 memcpy(hb->host.h_addr_list[count], addr, hp->h_length); 91 if (numeric_addr(host, &addr, &h.h_addrtype, &h.h_length) != -1) {
|
H A D | tcpdmatch.c | 180 memcpy((char *) SGADDRP(&server_sin), addr, hp->h_length); 236 memcpy((char *) SGADDRP(&client_sin), addr, hp->h_length);
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | myrcmd.c | 111 numhp.h_length = sizeof (numaddr); in myrcmd() 121 if ((unsigned)(hp->h_length) > sizeof (sin.sin_addr)) { in myrcmd() 124 hp->h_length, sizeof (sin.sin_addr)); in myrcmd() 175 bcopy(hp->h_addr_list[0], (caddr_t)&sin.sin_addr, hp->h_length); in myrcmd() 199 hp->h_length); in myrcmd()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | gethostent_r.c | 165 len += he->h_length; in copy_hostent() 180 n = hptr->h_length = he->h_length; in copy_hostent() 221 n = hptr->h_length = he->h_length; in copy_hostent()
|
H A D | gethostent.c | 181 net_data->ho_last->h_length == len) in gethostbyaddr_p() 317 he.h_length = (v4 == 1) ? INADDRSZ : IN6ADDRSZ; in getipnodebyname() 934 he->h_length = (af == AF_INET) ? INADDRSZ : IN6ADDRSZ; 1039 pvt->host.h_length = NS_INADDRSZ; 1042 pvt->host.h_length = NS_IN6ADDRSZ;
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_gethost.c | 178 if (n != host.h_length) { 187 host.h_length = n; 300 hp->h_length = len; 332 if (memcmp(*a, addr, hp2->h_length) == 0) 334 if (bcmp(*a, addr, hp2->h_length) == 0) 399 host.h_length = sizeof (u_long); in _gethtent()
|
H A D | netdb.h | 58 int h_length; /* length of address */ member
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_doorclt.c | 298 hptr->h_length = sizeof (struct in_addr); in kgetipnodebyname() 301 hptr->h_length = sizeof (struct in6_addr); in kgetipnodebyname() 308 if ((msg_size < hptr->h_length) || in kgetipnodebyname() 393 hptr->h_length = cnf->h_addrlen; in kgetipnodebyname()
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-addr.c | 107 host->h_length); in httpAddrLoad() 129 host->h_length); in httpAddrLoad() 308 host_ip.h_length = strlen(name) + 1; in httpGetHostByName() 344 host_ip.h_length = 4; in httpGetHostByName()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | get_addrs.c | 77 bcopy(hp->h_addr, (char *)&my_machine_addr, hp->h_length); 106 bcopy(hp->h_addr, (char *) &rem_machine_addr, hp->h_length);
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent.c | 131 void *addrp, int v6flag, int *h_length) in __nss_files_get_addr() argument 147 *h_length = sizeof (in_addr_t); in __nss_files_get_addr() 159 *h_length = sizeof (struct in6_addr); in __nss_files_get_addr() 172 int v6flag = 0, addrlen, h_length; in __nss_files_check_addr() local 196 v6flag, &h_length) == 0) in __nss_files_check_addr() 200 return (h_length == argp->key.hostaddr.len && in __nss_files_check_addr()
|
/illumos-gate/usr/src/cmd/iscsid/ |
H A D | iscsid.c | 506 cnf->h_addrlen = (uint32_t)hptr->h_length; in _getipnodebyname_req() 514 hptr->h_length); in _getipnodebyname_req() 517 cnf_len += hptr->h_length; in _getipnodebyname_req() 520 cnf->h_size_needed += hptr->h_length; in _getipnodebyname_req()
|
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | gethostent6.c | 148 domap = (h->h_length == sizeof (struct in_addr)) && in cloneAddrList() 152 addrlen = h->h_length; in cloneAddrList() 397 mhe.h_length = sizeof (struct in6_addr); 403 v6he.h_length = sizeof (struct in6_addr);
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | workarounds.c | 238 memcpy(*n_addr_list++, (char *) &addr, hp->h_length); 244 memcpy(*n_addr_list++, *o_addr_list, hp->h_length);
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | rpc_bootstrap.c | 175 hent->h_length = (type == AF_INET6) ? 192 hent->h_addr_list[0], hent->h_length); 201 hent->h_addr_list[0], hent->h_length); 456 host.h_length = len; in __files_gethostent()
|
/illumos-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | common.c | 93 (void) memcpy(&ipv6addr, hp->h_addr_list[0], hp->h_length); in is_listening() 133 hp->h_length); in pseudo_serialno_from_addr() 156 hp->h_length, buf, sizeof (buf)); in pseudo_serialno_from_addr()
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | gethostent.c | 269 host->h_length = sizeof (struct in6_addr); in __str2hostent() 271 host->h_length = sizeof (struct in_addr); in __str2hostent()
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | netdb.h | 61 int h_length; /* length of address */ member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 400 hp->h_length = sizeof (struct in6_addr); in lgetipnodebyname() 428 hp->h_length = in lgetipnodebyname() 435 hp->h_length = in lgetipnodebyname()
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | nb_net.c | 82 if (h->h_length != 4) { in nb_resolvehost_in()
|
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | getrpcport.c | 44 memcpy((char *) &addr.sin_addr, hp->h_addr, hp->h_length); in getrpcport()
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/ |
H A D | iscsi_door.h | 117 int h_length; /* length of address */ member
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | is_local_host.c | 138 hp->h_length) == 0) { in is_local_if()
|
/illumos-gate/usr/src/lib/libstmfproxy/common/ |
H A D | stmftransport.c | 139 hp->h_length); in pt_socket_connect()
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | tcp_misc.c | 95 bcopy(hp->h_addr, (caddr_t)&serv_addr.sin6_addr, hp->h_length); in tcp_open()
|