/netbsd/lib/libc/net/ |
H A D | sethostent.c | 180 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 D | gethnamaddr.c | 594 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 D | getaddrinfo.c | 105 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 D | gethostent_r.c | 185 hptr->h_addrtype = he->h_addrtype; in copy_hostent() 226 hptr->h_addrtype = he->h_addrtype; in copy_hostent()
|
H A D | gethostent.c | 144 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 D | irp_ho.c | 181 af == ho->h_addrtype) { in ho_byname2() 235 af == ho->h_addrtype && in ho_byaddr()
|
H A D | lcl_ho.c | 234 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 D | irpmarshall.c | 903 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 D | dns_ho.c | 492 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 D | gethost.c | 191 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 D | copyhostent.c | 56 res->h_addrtype = h->h_addrtype; in copyhostent()
|
/netbsd/external/ibm-public/postfix/dist/src/util/ |
H A D | find_inet.c | 85 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 D | hostname.c | 363 if (h->h_addrtype == AF_INET6) in print_hostname() 371 if (h->h_addrtype == AF_INET) in print_hostname()
|
/netbsd/lib/libbluetooth/ |
H A D | bluetooth.c | 95 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 D | biff_notify.c | 79 sin.sin_family = hp->h_addrtype; in biff_notify()
|
/netbsd/external/apache2/mDNSResponder/nss/ |
H A D | nss_mdnsd.c | 651 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 D | ntp_rfc2553.c | 567 ai->ai_family = hp->h_addrtype; in do_nodename() 571 ai->ai_addr->sa_family = hp->h_addrtype; in do_nodename()
|
H A D | machines.c | 47 host1->h_addrtype = AF_INET; in gethostbyname() 61 host1->h_addrtype = AF_INET; in gethostbyaddr()
|
/netbsd/sbin/iscsid/ |
H A D | iscsid_driverif.c | 111 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 D | ntp_machine.h | 142 int h_addrtype; /* host address type */ member
|
/netbsd/lib/libcompat/4.3/ |
H A D | rexec.c | 93 rsin.sin_family = hp->h_addrtype;
|
/netbsd/tests/lib/libc/net/ |
H A D | h_hostent.c | 60 h->h_name, h->h_length, h->h_addrtype); in phostent()
|
/netbsd/include/ |
H A D | netdb.h | 151 int h_addrtype; /*%< host address type */ member
|
/netbsd/crypto/external/cpl/trousers/dist/src/tddl/ |
H A D | tddl.c | 71 addr.sin_family = host->h_addrtype; in open_device()
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_platform_limits_openbsd.h | 297 int h_addrtype; member
|