Home
last modified time | relevance | path

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

1234

/netbsd/lib/libc/net/
H A Dsethostent.c180 hent.h_addrtype = 0; /* XXX: gcc */ in _hf_gethtbyname2()
184 info->hp->h_addrtype = af; in _hf_gethtbyname2()
201 hent.h_addrtype = af = hp->h_addrtype; in _hf_gethtbyname2()
234 hp->h_addrtype = hent.h_addrtype; in _hf_gethtbyname2()
273 info->hp->h_addrtype = va_arg(ap, int); in _hf_gethtbyaddr()
H A Dgethnamaddr.c594 hp->h_addrtype = af; in gethostbyname_internal()
790 if (hent->h_addrtype != 0 && hent->h_addrtype != af) in gethostent_r()
812 hent->h_addrtype = af; in gethostent_r()
867 if (hp->h_addrtype != AF_INET || hp->h_length != NS_INADDRSZ) in map_v4v6_hostent()
869 hp->h_addrtype = AF_INET6; in map_v4v6_hostent()
946 info->hp->h_addrtype = va_arg(ap, int); in _dns_gethtbyname()
948 switch (info->hp->h_addrtype) { in _dns_gethtbyname()
1013 info->hp->h_addrtype = va_arg(ap, int); in _dns_gethtbyaddr()
1015 switch (info->hp->h_addrtype) { in _dns_gethtbyaddr()
1086 hp->h_addrtype = AF_INET6; in _dns_gethtbyaddr()
[all …]
/netbsd/external/gpl2/xcvs/dist/lib/
H A Dgetaddrinfo.c105 switch (he->h_addrtype) in getaddrinfo()
127 switch (he->h_addrtype) in getaddrinfo()
190 tmp->ai_addr->sa_family = he->h_addrtype; in getaddrinfo()
/netbsd/external/bsd/libbind/dist/irs/
H A Dgethostent_r.c185 hptr->h_addrtype = he->h_addrtype; in copy_hostent()
226 hptr->h_addrtype = he->h_addrtype; in copy_hostent()
H A Dgethostent.c144 net_data->ho_last->h_addrtype == af) { in gethostbyname2_p()
191 hp->h_addrtype == AF_INET6 && in gethostent_p()
307 he.h_addrtype = (v4 == 1) ? AF_INET : AF_INET6; in getipnodebyname()
431 memput(*cpp, (he->h_addrtype == AF_INET) ? in freehostent()
856 if (af == AF_INET6 && he1->h_addrtype == AF_INET) { in copyandmerge()
877 if (af == AF_INET6 && he2->h_addrtype == AF_INET) { in copyandmerge()
917 he->h_addrtype = af; in copyandmerge()
1016 pvt->host.h_addrtype = af;
H A Dirp_ho.c181 af == ho->h_addrtype) { in ho_byname2()
235 af == ho->h_addrtype && in ho_byaddr()
H A Dlcl_ho.c234 if (hp->h_addrtype != af) in ho_byname2()
300 int taf = hp->h_addrtype; in ho_byaddr()
405 pvt->host.h_addrtype = af; in ho_next()
H A Dirpmarshall.c903 switch(ho->h_addrtype) { in irp_marshall_ho()
926 addrlen = (ho->h_addrtype == AF_INET ? 16 : 46) ; /*%< XX other AF's?? */ in irp_marshall_ho()
960 if (inet_ntop(ho->h_addrtype, *av, p, remlen) == NULL) { in irp_marshall_ho()
1112 ho->h_addrtype = hoaddrtype; in irp_unmarshall_ho()
2142 ADDR_T_STR(he.h_addrtype)); in main()
2145 inet_ntop(he.h_addrtype, he.h_addr_list[i], in main()
H A Ddns_ho.c492 pvt->host.h_addrtype = AF_INET6; in ho_byaddr()
720 pvt->host.h_addrtype = af; in gethostans()
1074 if (hp->h_addrtype != AF_INET || hp->h_length != INADDRSZ) in map_v4v6_hostent()
1076 hp->h_addrtype = AF_INET6; in map_v4v6_hostent()
/netbsd/distrib/utils/libhack/
H A Dgethost.c191 if (hent->h_addrtype != 0 && hent->h_addrtype != af) in gethostent_r()
213 hent->h_addrtype = af; in gethostent_r()
/netbsd/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dcopyhostent.c56 res->h_addrtype = h->h_addrtype; in copyhostent()
/netbsd/external/ibm-public/postfix/dist/src/util/
H A Dfind_inet.c85 if (hp->h_addrtype != AF_INET) in find_inet_addr()
86 msg_fatal("unexpected address family: %d", hp->h_addrtype); in find_inet_addr()
/netbsd/external/gpl2/gettext/dist/gettext-tools/src/
H A Dhostname.c363 if (h->h_addrtype == AF_INET6) in print_hostname()
371 if (h->h_addrtype == AF_INET) in print_hostname()
/netbsd/lib/libbluetooth/
H A Dbluetooth.c95 if (p->h_addrtype == type && memcmp(p->h_addr, addr, len) == 0) in bt_gethostbyaddr()
133 host.h_addrtype = AF_BLUETOOTH; in bt_gethostent()
/netbsd/external/ibm-public/postfix/dist/src/local/
H A Dbiff_notify.c79 sin.sin_family = hp->h_addrtype; in biff_notify()
/netbsd/external/apache2/mDNSResponder/nss/
H A Dnss_mdnsd.c651 ctx->host.h_addrtype = af; in _mdns_hostent_init()
723 hp->h_addrtype = ctx->host.h_addrtype; in _mdns_hostent_done()
831 if (ctx->host.h_addrtype == AF_INET) { in _mdns_hostent_cb()
838 if (ctx->host.h_addrtype == AF_INET6) { in _mdns_hostent_cb()
/netbsd/external/bsd/ntp/dist/libntp/
H A Dntp_rfc2553.c567 ai->ai_family = hp->h_addrtype; in do_nodename()
571 ai->ai_addr->sa_family = hp->h_addrtype; in do_nodename()
H A Dmachines.c47 host1->h_addrtype = AF_INET; in gethostbyname()
61 host1->h_addrtype = AF_INET; in gethostbyaddr()
/netbsd/sbin/iscsid/
H A Discsid_driverif.c111 serverAddress.sin_family = host->h_addrtype; in bind_socket()
300 host->h_addrtype, host->h_length, *((int *) host->h_addr_list[0]))); in make_connection()
301 serverAddress.sin_family = host->h_addrtype; in make_connection()
555 serverAddress.sin_family = host->h_addrtype; in event_recover_connection()
/netbsd/external/bsd/ntp/dist/include/
H A Dntp_machine.h142 int h_addrtype; /* host address type */ member
/netbsd/lib/libcompat/4.3/
H A Drexec.c93 rsin.sin_family = hp->h_addrtype;
/netbsd/tests/lib/libc/net/
H A Dh_hostent.c60 h->h_name, h->h_length, h->h_addrtype); in phostent()
/netbsd/include/
H A Dnetdb.h151 int h_addrtype; /*%< host address type */ member
/netbsd/crypto/external/cpl/trousers/dist/src/tddl/
H A Dtddl.c71 addr.sin_family = host->h_addrtype; in open_device()
/netbsd/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_platform_limits_openbsd.h297 int h_addrtype; member

1234