Home
last modified time | relevance | path

Searched refs:h_addrtype (Results 1 – 25 of 83) sorted by relevance

1234

/titanic_41/usr/src/cmd/tcpd/
H A Dscaffold.c65 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 Dtcpdmatch.c176 server_sin.sg_family = hp->h_addrtype;
232 client_sin.sg_family = hp->h_addrtype;
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Dis_local_host.c85 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()
/titanic_41/usr/src/lib/print/libhttp-core/common/
H A Dhttp-addr.c100 if (host->h_addrtype == AF_INET6) in httpAddrLoad()
115 if (host->h_addrtype == AF_LOCAL) in httpAddrLoad()
122 if (host->h_addrtype == AF_INET) in httpAddrLoad()
309 host_ip.h_addrtype = AF_LOCAL; in httpGetHostByName()
345 host_ip.h_addrtype = AF_INET; in httpGetHostByName()
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dgethostent_r.c183 hptr->h_addrtype = he->h_addrtype; in copy_hostent()
224 hptr->h_addrtype = he->h_addrtype; in copy_hostent()
H A Dgethostent.c153 net_data->ho_last->h_addrtype == af) { in gethostbyname2_p()
206 hp->h_addrtype == AF_INET6 && in gethostent_p()
322 he.h_addrtype = (v4 == 1) ? AF_INET : AF_INET6; in getipnodebyname()
451 memput(*cpp, (he->h_addrtype == AF_INET) ?
876 if (af == AF_INET6 && he1->h_addrtype == AF_INET) {
897 if (af == AF_INET6 && he2->h_addrtype == AF_INET) {
937 he->h_addrtype = af;
1040 pvt->host.h_addrtype = af;
H A Dirp_ho.c179 af == ho->h_addrtype) { in ho_byname2()
233 af == ho->h_addrtype && in ho_byaddr()
H A Dlcl_ho.c232 if (hp->h_addrtype != af) in ho_byname2()
298 int taf = hp->h_addrtype; in ho_byaddr()
403 pvt->host.h_addrtype = af; in ho_next()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dget_addrs.c73 if (hp->h_addrtype != AF_INET) {
102 if (hp->h_addrtype != AF_INET) {
/titanic_41/usr/src/lib/libresolv/
H A Dres_gethost.c186 host.h_addrtype = (class == C_IN) ? AF_INET : AF_UNSPEC;
297 hp->h_addrtype = type;
398 host.h_addrtype = AF_INET; in _gethtent()
467 if (p->h_addrtype == type && !memcmp(p->h_addr, addr, len))
469 if (p->h_addrtype == type && !bcmp(p->h_addr, addr, len))
H A Dnetdb.h59 int h_addrtype; /* host address type */ member
/titanic_41/usr/src/uts/common/sys/scsi/adapters/
H A Discsi_door.h69 uint32_t h_addrtype; member
116 int h_addrtype; /* host address type */ member
/titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_doorclt.c318 hptr->h_addrtype = af; in kgetipnodebyname()
392 hptr->h_addrtype = cnf->h_addrtype; in kgetipnodebyname()
/titanic_41/usr/src/cmd/ypcmd/
H A Drpc_bootstrap.c176 hent->h_addrtype = type;
189 switch (hent->h_addrtype) {
237 if (hent->h_addrtype == AF_INET) {
397 if (hp->h_addrtype != af) in __files_gethostbyname()
459 host.h_addrtype = af; in __files_gethostent()
/titanic_41/usr/src/stand/lib/sa/
H A Dnetdb.h60 int h_addrtype; /* host address type */ member
/titanic_41/usr/src/lib/libsmbfs/smb/
H A Dnb_net.c76 if (h->h_addrtype != AF_INET) { in nb_resolvehost_in()
/titanic_41/usr/src/cmd/iscsid/
H A Discsid.c508 cnf->h_addrtype = (uint32_t)hptr->h_addrtype; in _getipnodebyname_req()
529 cnf->h_addrtype = 0; in _getipnodebyname_req()
/titanic_41/usr/src/lib/libbc/inc/include/
H A Dnetdb.h35 int h_addrtype; /* host address type */ member
/titanic_41/usr/src/cmd/backup/lib/
H A Dmyrcmd.c112 numhp.h_addrtype = AF_INET; in myrcmd()
176 sin.sin_family = hp->h_addrtype; in myrcmd()
/titanic_41/usr/src/lib/nsswitch/dns/common/
H A Dgethostent6.c151 (h->h_addrtype == AF_INET); in cloneAddrList()
400 mhe.h_addrtype = AF_INET6;
406 v6he.h_addrtype = AF_INET6;
H A Ddns_common.c124 host->h_addrtype = af_type;
154 if (he->h_addrtype == AF_INET && af_type == AF_INET6) {
214 if (af_type == AF_INET && hp->h_addrtype != AF_INET) in ent2str()
225 if (hp->h_addrtype == AF_INET6) { in ent2str()
/titanic_41/usr/src/cmd/getent/
H A Ddogetipnodes.c56 if (hp->h_addrtype == AF_INET6) { in puthostent()
/titanic_41/usr/src/cmd/fs.d/nfs/clear_locks/
H A Dclear_locks.c85 arg.addr_type = he->h_addrtype; in nfs4_clr_state()
/titanic_41/usr/src/lib/libbc/libc/net/
H A Drexec.c71 sin.sin_family = hp->h_addrtype; in rexec()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c367 hp->h_addrtype = AF_INET6; in lgetipnodebyname()
403 hp->h_addrtype = AF_INET; in lgetipnodebyname()

1234