Searched refs:h_addrtype (Results 1 - 25 of 42) sorted by relevance

12

/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dgethostent_r.c183 hptr->h_addrtype = he->h_addrtype;
224 hptr->h_addrtype = he->h_addrtype;
H A Dgethostent.c153 net_data->ho_last->h_addrtype == af) {
206 hp->h_addrtype == AF_INET6 &&
322 he.h_addrtype = (v4 == 1) ? AF_INET : AF_INET6;
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) {
233 af == ho->h_addrtype &&
H A Dlcl_ho.c232 if (hp->h_addrtype != af)
298 int taf = hp->h_addrtype;
403 pvt->host.h_addrtype = af;
H A Ddns_ho.c490 pvt->host.h_addrtype = AF_INET6;
718 pvt->host.h_addrtype = af;
1072 if (hp->h_addrtype != AF_INET || hp->h_length != INADDRSZ)
1074 hp->h_addrtype = AF_INET6;
H A Dirpmarshall.c901 switch(ho->h_addrtype) {
924 addrlen = (ho->h_addrtype == AF_INET ? 16 : 46) ; /*%< XX other AF's?? */
958 if (inet_ntop(ho->h_addrtype, *av, p, remlen) == NULL) {
1035 /* h_addrtype field */
1110 ho->h_addrtype = hoaddrtype;
1418 /* h_addrtype field */
1592 /* h_addrtype field */
2140 ADDR_T_STR(he.h_addrtype));
2143 inet_ntop(he.h_addrtype, he.h_addr_list[i],
H A Dgetaddrinfo.c634 net_data->ho_last->h_addrtype == af) {
1166 af = hp->h_addrtype;
/osnet-11/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;
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 in struct:hostent
/osnet-11/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c115 /* h_addrtype and h_length */
116 host->h_addrtype = af_type;
146 if (he->h_addrtype == AF_INET && af_type == AF_INET6) {
206 if (af_type == AF_INET && hp->h_addrtype != AF_INET)
217 if (hp->h_addrtype == AF_INET6) {
H A Dgethostent6.c151 (h->h_addrtype == AF_INET);
398 /* reset h_length, h_addrtype */
400 mhe.h_addrtype = AF_INET6;
406 v6he.h_addrtype = AF_INET6;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/
H A Dhostent.pm12 $h_addrtype $h_length
38 $h_addrtype = $hob->[2] = $_[2];
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsn2princ.c196 hp->h_addrtype, &err);
/osnet-11/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);
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_nb.c227 if (h->h_addrtype != AF_INET) {
/osnet-11/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-dns.c167 ldhp->ldaphe_addrtype = prhp->h_addrtype;
/osnet-11/usr/src/lib/libnsl/nss/
H A Dgethostent.c275 host->h_addrtype = af;
H A Dgetipnodeby.c915 host->h_addrtype = AF_INET6;
946 host->h_addrtype = AF_INET6;
1040 host->h_addrtype = AF_INET6;
1168 host->h_addrtype = AF_INET;
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg_lockdmsg.c318 server.sin_family = hp->h_addrtype;
/osnet-11/usr/src/lib/libsocket/inet/
H A Dgetaddrinfo.c635 if (hp->h_addrtype == AF_INET6) {
643 } else if (hp->h_addrtype == AF_INET) {
/osnet-11/usr/src/lib/libdhcpdu/common/
H A Drfc2136.c160 * h_addrtype must be AF_INET, and h_length must be
187 if (hp->h_addrtype != AF_INET) {
188 dprint("h_addrtype (%d) != AF_INET - return -1\n",
189 hp->h_addrtype);
/osnet-11/usr/src/cmd/sendmail/src/
H A Ddaemon.c1665 hp->h_addrtype != AF_INET)
1697 hp->h_addrtype != AF_INET6)
2409 addr.sa.sa_family = hp->h_addrtype;
2410 switch (hp->h_addrtype)
2432 hp->h_addrtype, hp->h_length);
3332 if (hp->h_addrtype == AF_INET)
3342 if (hp->h_addrtype == AF_INET6)
3346 if (hp->h_addrtype == AF_INET &&
/osnet-11/usr/src/lib/libast/common/comp/
H A Dsyslog.c149 if (!hp || hp->h_addrtype != AF_INET || hp->h_length > sizeof(struct in_addr))
/osnet-11/usr/src/lib/librdc/common/
H A Dnetaddrs.c454 if (hp->h_addrtype == AF_INET) {
/osnet-11/usr/src/lib/auditd_plugins/remote/
H A Dtransport.c253 addr.ss_family = host->h_addrtype;
254 switch (host->h_addrtype) {

Completed in 68 milliseconds

12