/freebsd/lib/libc/net/ |
H A D | gethostbyht.c | 132 he->h_addrtype = af; in gethostent_p() 249 if (he.h_addrtype != af) in _ht_gethostbyname() 251 if (he.h_addrtype == AF_INET && in _ht_gethostbyname() 255 he.h_addrtype = AF_INET6; in _ht_gethostbyname() 314 if (he.h_addrtype == af && !bcmp(he.h_addr, addr, len)) { in _ht_gethostbyaddr() 315 if (he.h_addrtype == AF_INET && in _ht_gethostbyaddr() 319 he.h_addrtype = AF_INET6; in _ht_gethostbyaddr()
|
H A D | map_v4v6.c | 87 if (hp->h_addrtype != AF_INET || hp->h_length != INADDRSZ) in _map_v4v6_hostent() 89 hp->h_addrtype = AF_INET6; in _map_v4v6_hostent()
|
H A D | name6.c | 460 nhp->h_addrtype = hp->h_addrtype; in _hpcopy() 487 hp->h_addrtype = af; in _hpaddr() 533 hp->h_addrtype = AF_INET6; in _hpmerge() 536 hp->h_addrtype = hp1->h_addrtype; in _hpmerge() 573 if (hp->h_addrtype == AF_INET6) in _hpmapv6() 577 hp6.h_addrtype = AF_INET6; in _hpmapv6() 601 hp->h_addrtype) in _hpsort() 651 switch (hp->h_addrtype) { in _hpreorder() 688 switch (hp->h_addrtype) { in _hpreorder()
|
H A D | gethostbydns.c | 446 he->h_addrtype = AF_INET6; in __dns_getanswer() 451 he->h_addrtype = AF_INET; in __dns_getanswer() 492 he.h_addrtype = af; in _dns_gethostbyname() 689 he.h_addrtype = af; in _dns_gethostbyaddr() 696 he.h_addrtype = AF_INET6; in _dns_gethostbyaddr()
|
H A D | gethostnamadr.c | 120 hptr->h_addrtype = he->h_addrtype; in __copy_hostent() 456 he.h_addrtype = af; in fakeaddr()
|
/freebsd/lib/libc/tests/nss/ |
H A D | gethostby_test.c | 153 dest->h_addrtype = src->h_addrtype; in clone_hostent() 225 if (ht1->h_addrtype != ht2->h_addrtype || in compare_hostent() 386 he->h_addrtype); in is_hostent_equal() 408 ht->h_name, ht->h_addrtype, ht->h_length); in sdump_hostent() 570 ht->h_addrtype = (int)strtol(s, &ts, 10); in hostent_read_snapshot_func() 689 if (!((ht->h_addrtype >= 0) && (ht->h_addrtype < AF_MAX))) in hostent_test_correctness() 731 he->h_addrtype); in hostent_test_gethostbyaddr() 817 he->h_addrtype); in hostent_test_getnameinfo_eq() 829 switch (he->h_addrtype) { in hostent_test_getnameinfo_eq() 848 he->h_addrtype); in hostent_test_getnameinfo_eq()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | copyhostent.c | 54 res->h_addrtype = h->h_addrtype; in copyhostent()
|
H A D | roken_gethostby.c | 197 he.h_addrtype = AF_INET; in roken_gethostby()
|
/freebsd/contrib/smbfs/lib/smb/ |
H A D | 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()
|
/freebsd/contrib/sendmail/libmilter/ |
H A D | sm_gethost.c | 79 if (h != NULL && h->h_addrtype != family) 150 if (h != NULL && h->h_addrtype != family)
|
H A D | listener.c | 395 addr.sa.sa_family = hp->h_addrtype; 396 switch (hp->h_addrtype) 419 name, at, hp->h_addrtype);
|
/freebsd/contrib/bsnmp/lib/ |
H A D | support.c | 138 if (hent->h_addrtype != hints->ai_family) in getaddrinfo() 140 if (hent->h_addrtype != AF_INET) in getaddrinfo()
|
/freebsd/contrib/tcp_wrappers/ |
H A D | scaffold.c | 147 if (hp->h_addrtype != AF_INET) { in find_inet_addr() 148 tcpd_warn("%d: not an internet host", hp->h_addrtype); in find_inet_addr()
|
/freebsd/lib/libbluetooth/ |
H A D | bluetooth.c | 93 if (p->h_addrtype == type && bcmp(p->h_addr, addr, len) == 0) in bt_gethostbyaddr() 131 host.h_addrtype = AF_BLUETOOTH; in bt_gethostent()
|
/freebsd/tools/test/stress2/testcases/udp/ |
H A D | udp.c | 80 sock_in.sin_family = host->h_addrtype; in test()
|
/freebsd/lib/libc/tests/resolv/ |
H A D | resolv_test.c | 137 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()
|
/freebsd/contrib/ntp/libntp/ |
H A D | 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()
|
H A D | machines.c | 44 host1->h_addrtype = AF_INET; in gethostbyname() 58 host1->h_addrtype = AF_INET; in gethostbyaddr()
|
/freebsd/usr.bin/talk/ |
H A D | io.c | 78 if (hp2 != NULL && hp2->h_addrtype == AF_INET && in talk()
|
/freebsd/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_hostent.c | 60 h->h_name, h->h_length, h->h_addrtype); in phostent()
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_machine.h | 140 int h_addrtype; /* host address type */ member
|
/freebsd/usr.sbin/ypserv/ |
H A D | yp_dnslookup.c | 78 if (inet_ntop(hp->h_addrtype, hp->h_addr, addr, sizeof(addr)) == NULL) in parse() 388 hent->h_addrtype = q->addrtype; in yp_run_dnsq()
|
/freebsd/include/ |
H A D | netdb.h | 107 int h_addrtype; /* host address type */ member
|
/freebsd/contrib/sendmail/src/ |
H A D | daemon.c | 1698 hp->h_addrtype != AF_INET) 1727 hp->h_addrtype != AF_INET6) 2520 addr.sa.sa_family = hp->h_addrtype; 2521 switch (hp->h_addrtype) 2543 hp->h_addrtype, hp->h_length); 2562 if (tTd(77, 101) && hp != NULL && hp->h_addrtype == AF_INET && 3546 if (hp->h_addrtype == AF_INET) 3556 if (hp->h_addrtype == AF_INET6) 3560 if (hp->h_addrtype == AF_INET &&
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | get_addrs.c | 71 res->val[0].addr_type = hostent->h_addrtype; in gethostname_fallback()
|