Home
last modified time | relevance | path

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

12

/NextBSD/lib/libc/net/
HDgethostbyht.c136 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()
HDname6.c459 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()
HDmap_v4v6.c92 if (hp->h_addrtype != AF_INET || hp->h_length != INADDRSZ) in _map_v4v6_hostent()
94 hp->h_addrtype = AF_INET6; in _map_v4v6_hostent()
HDgethostbydns.c449 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()
HDgethostnamadr.c121 hptr->h_addrtype = he->h_addrtype; in __copy_hostent()
457 he.h_addrtype = af; in fakeaddr()
/NextBSD/lib/libc/tests/nss/
HDgethostby_test.c158 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/
HDcopyhostent.c54 res->h_addrtype = h->h_addrtype; in copyhostent()
/NextBSD/contrib/smbfs/lib/smb/
HDnb_net.c81 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/
HDsupport.c138 if (hent->h_addrtype != hints->ai_family) in getaddrinfo()
140 if (hent->h_addrtype != AF_INET) in getaddrinfo()
/NextBSD/lib/libosxsupport/
HDmdns_module.c431 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 …]
HDfile_module.c1307 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/
HDcmds.c198 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/
HDscaffold.c153 if (hp->h_addrtype != AF_INET) {
154 tcpd_warn("%d: not an internet host", hp->h_addrtype);
/NextBSD/lib/libbluetooth/
HDbluetooth.c92 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/
HDresolv_test.c136 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/
HDmachines.c45 host1->h_addrtype = AF_INET; in gethostbyname()
59 host1->h_addrtype = AF_INET; in gethostbyaddr()
HDntp_rfc2553.c565 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/
HDio.c81 if (hp2 != NULL && hp2->h_addrtype == AF_INET && in talk()
/NextBSD/crypto/openssl/apps/
HDs_socket.c469 if (h2->h_addrtype != AF_INET) { in do_accept()
533 if ((short)he->h_addrtype != AF_INET) { in host_ip()
/NextBSD/usr.sbin/ypserv/
HDyp_dnslookup.c78 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/
HDh_hostent.c60 h->h_name, h->h_length, h->h_addrtype); in phostent()
/NextBSD/contrib/ntp/include/
HDntp_machine.h140 int h_addrtype; /* host address type */ member
/NextBSD/crypto/openssl/crypto/bio/
HDb_sock.c151 if ((short)he->h_addrtype != AF_INET) { in BIO_get_host_ip()
327 ret->h_addrtype = a->h_addrtype;
/NextBSD/include/
HDnetdb.h97 int h_addrtype; /* host address type */ member
/NextBSD/tools/regression/capsicum/libcapsicum/
HDdns.c142 if (hp0->h_addrtype != hp1->h_addrtype) in hostent_compare()

12