/illumos-gate/usr/src/cmd/tcpd/ |
H A D | scaffold.c | 65 hb->host.h_addrtype = hp->h_addrtype;; 91 if (numeric_addr(host, &addr, &h.h_addrtype, &h.h_length) != -1) { 111 if (!VALID_ADDRTYPE(hp->h_addrtype)) { 112 tcpd_warn("%d: not an internet host", hp->h_addrtype); 138 sin.sg_family = hp->h_addrtype;
|
H A D | tcpdmatch.c | 176 server_sin.sg_family = hp->h_addrtype; 232 client_sin.sg_family = hp->h_addrtype;
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | is_local_host.c | 85 if ((s = socket(hp->h_addrtype, SOCK_DGRAM, 0)) == -1) { in is_local_if() 90 lifn.lifn_family = hp->h_addrtype; in is_local_if() 105 lifc.lifc_family = hp->h_addrtype; in is_local_if() 123 if (lifrp->lifr_addr.ss_family != hp->h_addrtype) { in is_local_if()
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-addr.c | 98 if (host->h_addrtype == AF_INET6) in httpAddrLoad() 113 if (host->h_addrtype == AF_LOCAL) in httpAddrLoad() 120 if (host->h_addrtype == AF_INET) in httpAddrLoad() 307 host_ip.h_addrtype = AF_LOCAL; in httpGetHostByName() 343 host_ip.h_addrtype = AF_INET; in httpGetHostByName()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | gethostent_r.c | 179 hptr->h_addrtype = he->h_addrtype; in copy_hostent() 220 hptr->h_addrtype = he->h_addrtype; in copy_hostent()
|
H A D | gethostent.c | 149 net_data->ho_last->h_addrtype == af) { in gethostbyname2_p() 202 hp->h_addrtype == AF_INET6 && in gethostent_p() 318 he.h_addrtype = (v4 == 1) ? AF_INET : AF_INET6; in getipnodebyname() 447 memput(*cpp, (he->h_addrtype == AF_INET) ? 872 if (af == AF_INET6 && he1->h_addrtype == AF_INET) { 893 if (af == AF_INET6 && he2->h_addrtype == AF_INET) { 933 he->h_addrtype = af; 1036 pvt->host.h_addrtype = af;
|
H A D | irp_ho.c | 175 af == ho->h_addrtype) { in ho_byname2() 229 af == ho->h_addrtype && in ho_byaddr()
|
H A D | lcl_ho.c | 228 if (hp->h_addrtype != af) in ho_byname2() 294 int taf = hp->h_addrtype; in ho_byaddr() 399 pvt->host.h_addrtype = af; in ho_next()
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_gethost.c | 189 host.h_addrtype = (class == C_IN) ? AF_INET : AF_UNSPEC; 299 hp->h_addrtype = type; 400 host.h_addrtype = AF_INET; in _gethtent() 469 if (p->h_addrtype == type && !memcmp(p->h_addr, addr, len)) 471 if (p->h_addrtype == type && !bcmp(p->h_addr, addr, len))
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | get_addrs.c | 71 if (hp->h_addrtype != AF_INET) { 100 if (hp->h_addrtype != AF_INET) {
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/ |
H A D | iscsi_door.h | 69 uint32_t h_addrtype; member 116 int h_addrtype; /* host address type */ member
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | rpc_bootstrap.c | 174 hent->h_addrtype = type; 187 switch (hent->h_addrtype) { 235 if (hent->h_addrtype == AF_INET) { 395 if (hp->h_addrtype != af) in __files_gethostbyname() 457 host.h_addrtype = af; in __files_gethostent()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_doorclt.c | 318 hptr->h_addrtype = af; in kgetipnodebyname() 392 hptr->h_addrtype = cnf->h_addrtype; in kgetipnodebyname()
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | netdb.h | 60 int h_addrtype; /* host address type */ member
|
/illumos-gate/usr/src/cmd/iscsid/ |
H A D | iscsid.c | 507 cnf->h_addrtype = (uint32_t)hptr->h_addrtype; in _getipnodebyname_req() 528 cnf->h_addrtype = 0; in _getipnodebyname_req()
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | nb_net.c | 76 if (h->h_addrtype != AF_INET) { in nb_resolvehost_in()
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | myrcmd.c | 110 numhp.h_addrtype = AF_INET; in myrcmd() 174 sin.sin_family = hp->h_addrtype; in myrcmd()
|
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | gethostent6.c | 149 (h->h_addrtype == AF_INET); in cloneAddrList() 398 mhe.h_addrtype = AF_INET6; 404 v6he.h_addrtype = AF_INET6;
|
H A D | dns_common.c | 122 host->h_addrtype = af_type; in ent2result() 149 if (he->h_addrtype == AF_INET && af_type == AF_INET6) { in ent2result() 206 if (af_type == AF_INET && hp->h_addrtype != AF_INET) in ent2str() 217 if (hp->h_addrtype == AF_INET6) { in ent2str()
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetipnodes.c | 56 if (hp->h_addrtype == AF_INET6) { in puthostent()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/clear_locks/ |
H A D | clear_locks.c | 86 arg.addr_type = he->h_addrtype; in nfs4_clr_state()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 391 hp->h_addrtype = AF_INET6; in lgetipnodebyname() 427 hp->h_addrtype = AF_INET; in lgetipnodebyname()
|
/illumos-gate/usr/src/cmd/cmd-inet/common/ |
H A D | kcmd.c | 189 if (hp->h_addrtype == AF_INET) { in kcmd() 190 sin.sin_family = hp->h_addrtype; in kcmd() 196 "Kerberos", hp->h_addrtype); in kcmd()
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | listener.c | 395 addr.sa.sa_family = hp->h_addrtype; 396 switch (hp->h_addrtype) 419 name, at, hp->h_addrtype);
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | tcp_misc.c | 96 serv_addr.sin6_family = hp->h_addrtype; in tcp_open()
|