| /netbsd/src/lib/libc/net/ |
| D | sethostent.c | 181 hent.h_addrtype = 0; /* XXX: gcc */ in _hf_gethtbyname2() 185 info->hp->h_addrtype = af; in _hf_gethtbyname2() 202 hent.h_addrtype = af = hp->h_addrtype; in _hf_gethtbyname2() 235 hp->h_addrtype = hent.h_addrtype; in _hf_gethtbyname2() 275 info->hp->h_addrtype = va_arg(ap, int); in _hf_gethtbyaddr()
|
| D | gethnamaddr.c | 595 hp->h_addrtype = af; in gethostbyname_internal() 791 if (hent->h_addrtype != 0 && hent->h_addrtype != af) in gethostent_r() 813 hent->h_addrtype = af; in gethostent_r() 868 if (hp->h_addrtype != AF_INET || hp->h_length != NS_INADDRSZ) in map_v4v6_hostent() 870 hp->h_addrtype = AF_INET6; in map_v4v6_hostent() 947 info->hp->h_addrtype = va_arg(ap, int); in _dns_gethtbyname() 949 switch (info->hp->h_addrtype) { in _dns_gethtbyname() 1014 info->hp->h_addrtype = va_arg(ap, int); in _dns_gethtbyaddr() 1016 switch (info->hp->h_addrtype) { in _dns_gethtbyaddr() 1081 if (info->hp->h_addrtype == AF_INET && (res->options & RES_USE_INET6)) { in _dns_gethtbyaddr() [all …]
|
| /netbsd/src/external/gpl2/xcvs/dist/lib/ |
| 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/src/external/bsd/libbind/dist/irs/ |
| D | gethostent_r.c | 185 hptr->h_addrtype = he->h_addrtype; in copy_hostent() 226 hptr->h_addrtype = he->h_addrtype; in copy_hostent()
|
| 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;
|
| D | irp_ho.c | 181 af == ho->h_addrtype) { in ho_byname2() 235 af == ho->h_addrtype && in ho_byaddr()
|
| 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()
|
| 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()
|
| 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/src/distrib/utils/libhack/ |
| 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/src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| D | copyhostent.c | 56 res->h_addrtype = h->h_addrtype; in copyhostent()
|
| D | roken_gethostby.c | 200 he.h_addrtype = AF_INET; in roken_gethostby()
|
| /netbsd/src/external/ibm-public/postfix/dist/src/util/ |
| 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/src/lib/libbluetooth/ |
| 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/src/external/ibm-public/postfix/dist/src/local/ |
| D | biff_notify.c | 79 sin.sin_family = hp->h_addrtype; in biff_notify()
|
| /netbsd/src/external/apache2/mDNSResponder/nss/ |
| 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/src/external/bsd/ntp/dist/libntp/ |
| D | machines.c | 46 host1->h_addrtype = AF_INET; in gethostbyname() 60 host1->h_addrtype = AF_INET; in gethostbyaddr()
|
| 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()
|
| /netbsd/src/lib/libcompat/4.3/ |
| D | rexec.c | 93 rsin.sin_family = hp->h_addrtype;
|
| /netbsd/src/external/bsd/ntp/dist/include/ |
| D | ntp_machine.h | 142 int h_addrtype; /* host address type */ member
|
| /netbsd/src/tests/lib/libc/net/ |
| D | h_hostent.c | 60 h->h_name, h->h_length, h->h_addrtype); in phostent()
|
| /netbsd/src/include/ |
| D | netdb.h | 151 int h_addrtype; /*%< host address type */ member
|
| /netbsd/src/crypto/external/cpl/trousers/dist/src/tddl/ |
| D | tddl.c | 71 addr.sin_family = host->h_addrtype; in open_device()
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| D | get_addrs.c | 71 res->val[0].addr_type = hostent->h_addrtype; in gethostname_fallback()
|
| /netbsd/src/external/bsd/ntp/dist/sntp/libevent/ |
| D | evutil.c | 1186 if (ent->h_addrtype == PF_INET) { in addrinfo_from_hostent() 1197 } else if (ent->h_addrtype == PF_INET6) { in addrinfo_from_hostent() 1551 if (ent->h_addrtype != hints.ai_family && in evutil_getaddrinfo() 1565 if (ent->h_addrtype != PF_INET && ent->h_addrtype != PF_INET6) in evutil_getaddrinfo()
|