| /NextBSD/lib/libc/net/ |
| HD | gethostbyht.c | 136 he->h_addrtype = af; in gethostent_p() 253 if (he.h_addrtype != af) in _ht_gethostbyname() 255 if (he.h_addrtype == AF_INET && in _ht_gethostbyname() 259 he.h_addrtype = AF_INET6; in _ht_gethostbyname() 318 if (he.h_addrtype == af && !bcmp(he.h_addr, addr, len)) { in _ht_gethostbyaddr() 319 if (he.h_addrtype == AF_INET && in _ht_gethostbyaddr() 323 he.h_addrtype = AF_INET6; in _ht_gethostbyaddr()
|
| HD | name6.c | 459 nhp->h_addrtype = hp->h_addrtype; in _hpcopy() 486 hp->h_addrtype = af; in _hpaddr() 532 hp->h_addrtype = AF_INET6; in _hpmerge() 535 hp->h_addrtype = hp1->h_addrtype; in _hpmerge() 572 if (hp->h_addrtype == AF_INET6) in _hpmapv6() 576 hp6.h_addrtype = AF_INET6; in _hpmapv6() 600 hp->h_addrtype) in _hpsort() 650 switch (hp->h_addrtype) { in _hpreorder() 688 switch (hp->h_addrtype) { in _hpreorder()
|
| HD | map_v4v6.c | 92 if (hp->h_addrtype != AF_INET || hp->h_length != INADDRSZ) in _map_v4v6_hostent() 94 hp->h_addrtype = AF_INET6; in _map_v4v6_hostent()
|
| HD | gethostbydns.c | 449 he->h_addrtype = AF_INET6; in __dns_getanswer() 454 he->h_addrtype = AF_INET; in __dns_getanswer() 495 he.h_addrtype = af; in _dns_gethostbyname() 692 he.h_addrtype = af; in _dns_gethostbyaddr() 699 he.h_addrtype = AF_INET6; in _dns_gethostbyaddr()
|
| HD | gethostnamadr.c | 121 hptr->h_addrtype = he->h_addrtype; in __copy_hostent() 457 he.h_addrtype = af; in fakeaddr()
|
| /NextBSD/lib/libc/tests/nss/ |
| HD | gethostby_test.c | 158 dest->h_addrtype = src->h_addrtype; in clone_hostent() 231 if (ht1->h_addrtype != ht2->h_addrtype || in compare_hostent() 392 he->h_addrtype); in is_hostent_equal() 414 ht->h_name, ht->h_addrtype, ht->h_length); in sdump_hostent() 574 ht->h_addrtype = (int)strtol(s, &ts, 10); in hostent_read_snapshot_func() 693 if (!((ht->h_addrtype >= 0) && (ht->h_addrtype < AF_MAX))) in hostent_test_correctness() 735 he->h_addrtype); in hostent_test_gethostbyaddr() 819 he->h_addrtype); in hostent_test_getnameinfo_eq() 831 switch (he->h_addrtype) { in hostent_test_getnameinfo_eq() 850 he->h_addrtype); in hostent_test_getnameinfo_eq()
|
| /NextBSD/crypto/heimdal/lib/roken/ |
| HD | copyhostent.c | 54 res->h_addrtype = h->h_addrtype; in copyhostent()
|
| /NextBSD/contrib/smbfs/lib/smb/ |
| HD | nb_net.c | 81 if (h->h_addrtype != AF_INET) { in nb_resolvehost_in() 95 sinp->sin_family = h->h_addrtype; in nb_resolvehost_in()
|
| /NextBSD/contrib/bsnmp/lib/ |
| HD | support.c | 138 if (hent->h_addrtype != hints->ai_family) in getaddrinfo() 140 if (hent->h_addrtype != AF_INET) in getaddrinfo()
|
| /NextBSD/lib/libosxsupport/ |
| HD | mdns_module.c | 431 h.host.h_addrtype = af; in mdns_hostbyname() 444 …ATEGORY_HOST_IPV4, 1, bb, 0LL, h.host.h_name, h.host.h_aliases, h.host.h_addrtype, h.host.h_length… in mdns_hostbyname() 447 …ATEGORY_HOST_IPV6, 1, bb, 0LL, h.host.h_name, h.host.h_aliases, h.host.h_addrtype, h.host.h_length… in mdns_hostbyname() 497 h.host.h_addrtype = af; in mdns_hostbyaddr() 515 …gned long)si, cat, 1, bb, 0LL, h.host.h_name, h.host.h_aliases, h.host.h_addrtype, h.host.h_length… in mdns_hostbyaddr() 557 h4.host.h_addrtype = AF_INET; in mdns_addrinfo() 559 h6.host.h_addrtype = AF_INET6; in mdns_addrinfo() 674 h4.host.h_addrtype = AF_INET; in mdns_item_call() 676 h6.host.h_addrtype = AF_INET6; in mdns_item_call() 1192 if (((rrtype == ns_t_a && context->host->host.h_addrtype == AF_INET) || in _mdns_query_callback() [all …]
|
| HD | file_module.c | 1307 int i, ntokens, match, h_addrtype, h_length; in _fsi_parse_host() local 1328 h_addrtype = AF_UNSPEC; in _fsi_parse_host() 1331 h_addrtype = AF_INET; in _fsi_parse_host() 1338 h_addrtype = AF_INET6; in _fsi_parse_host() 1344 if (h_addrtype == AF_UNSPEC) in _fsi_parse_host() 1358 if (h_addrtype == af) in _fsi_parse_host() 1386 if (h_addrtype == AF_INET) in _fsi_parse_host() 1388 …unsigned long)si, CATEGORY_HOST_IPV4, 1, va, vb, tokens[1], h_aliases, h_addrtype, h_length, h_add… in _fsi_parse_host() 1392 …unsigned long)si, CATEGORY_HOST_IPV6, 1, va, vb, tokens[1], h_aliases, h_addrtype, h_length, h_add… in _fsi_parse_host()
|
| /NextBSD/usr.sbin/timed/timedc/ |
| HD | cmds.c | 198 server.sin_family = hp->h_addrtype; in clockdiff() 228 dayaddr.sin_family = hp->h_addrtype; in clockdiff() 395 sin.sin_family = hp->h_addrtype; in testing()
|
| /NextBSD/contrib/tcp_wrappers/ |
| HD | scaffold.c | 153 if (hp->h_addrtype != AF_INET) { 154 tcpd_warn("%d: not an internet host", hp->h_addrtype);
|
| /NextBSD/lib/libbluetooth/ |
| HD | bluetooth.c | 92 if (p->h_addrtype == type && bcmp(p->h_addr, addr, len) == 0) in bt_gethostbyaddr() 130 host.h_addrtype = AF_BLUETOOTH; in bt_gethostent()
|
| /NextBSD/lib/libc/tests/resolv/ |
| HD | resolv_test.c | 136 hp2 = gethostbyaddr(buf, hp->h_length, hp->h_addrtype); in resolv_gethostby() 159 hp2 = getipnodebyaddr(buf, hp->h_length, hp->h_addrtype, in resolv_getipnodeby()
|
| /NextBSD/contrib/ntp/libntp/ |
| HD | machines.c | 45 host1->h_addrtype = AF_INET; in gethostbyname() 59 host1->h_addrtype = AF_INET; in gethostbyaddr()
|
| HD | ntp_rfc2553.c | 565 ai->ai_family = hp->h_addrtype; in do_nodename() 569 ai->ai_addr->sa_family = hp->h_addrtype; in do_nodename()
|
| /NextBSD/usr.bin/talk/ |
| HD | io.c | 81 if (hp2 != NULL && hp2->h_addrtype == AF_INET && in talk()
|
| /NextBSD/crypto/openssl/apps/ |
| HD | s_socket.c | 469 if (h2->h_addrtype != AF_INET) { in do_accept() 533 if ((short)he->h_addrtype != AF_INET) { in host_ip()
|
| /NextBSD/usr.sbin/ypserv/ |
| HD | yp_dnslookup.c | 78 if (inet_ntop(hp->h_addrtype, hp->h_addr, addr, sizeof(addr)) == NULL) in parse() 392 hent->h_addrtype = q->addrtype; in yp_run_dnsq()
|
| /NextBSD/contrib/netbsd-tests/lib/libc/net/ |
| HD | h_hostent.c | 60 h->h_name, h->h_length, h->h_addrtype); in phostent()
|
| /NextBSD/contrib/ntp/include/ |
| HD | ntp_machine.h | 140 int h_addrtype; /* host address type */ member
|
| /NextBSD/crypto/openssl/crypto/bio/ |
| HD | b_sock.c | 151 if ((short)he->h_addrtype != AF_INET) { in BIO_get_host_ip() 327 ret->h_addrtype = a->h_addrtype;
|
| /NextBSD/include/ |
| HD | netdb.h | 97 int h_addrtype; /* host address type */ member
|
| /NextBSD/tools/regression/capsicum/libcapsicum/ |
| HD | dns.c | 142 if (hp0->h_addrtype != hp1->h_addrtype) in hostent_compare()
|