Home
last modified time | relevance | path

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

123

/illumos-gate/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;
/illumos-gate/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()
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp-addr.c98 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 Dgethostent_r.c179 hptr->h_addrtype = he->h_addrtype; in copy_hostent()
220 hptr->h_addrtype = he->h_addrtype; in copy_hostent()
H A Dgethostent.c149 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 Dirp_ho.c175 af == ho->h_addrtype) { in ho_byname2()
229 af == ho->h_addrtype && in ho_byaddr()
H A Dlcl_ho.c228 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 Dres_gethost.c189 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 Dget_addrs.c71 if (hp->h_addrtype != AF_INET) {
100 if (hp->h_addrtype != AF_INET) {
/illumos-gate/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
/illumos-gate/usr/src/cmd/ypcmd/
H A Drpc_bootstrap.c174 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 Discsi_doorclt.c318 hptr->h_addrtype = af; in kgetipnodebyname()
392 hptr->h_addrtype = cnf->h_addrtype; in kgetipnodebyname()
/illumos-gate/usr/src/stand/lib/sa/
H A Dnetdb.h60 int h_addrtype; /* host address type */ member
/illumos-gate/usr/src/cmd/iscsid/
H A Discsid.c507 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 Dnb_net.c76 if (h->h_addrtype != AF_INET) { in nb_resolvehost_in()
/illumos-gate/usr/src/cmd/backup/lib/
H A Dmyrcmd.c110 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 Dgethostent6.c149 (h->h_addrtype == AF_INET); in cloneAddrList()
398 mhe.h_addrtype = AF_INET6;
404 v6he.h_addrtype = AF_INET6;
H A Ddns_common.c122 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 Ddogetipnodes.c56 if (hp->h_addrtype == AF_INET6) { in puthostent()
/illumos-gate/usr/src/cmd/fs.d/nfs/clear_locks/
H A Dclear_locks.c86 arg.addr_type = he->h_addrtype; in nfs4_clr_state()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c391 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 Dkcmd.c189 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 Dlistener.c395 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 Dtcp_misc.c96 serv_addr.sin6_family = hp->h_addrtype; in tcp_open()

123