Home
last modified time | relevance | path

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

/bionic/libc/dns/net/
Dsethostent.c155 hent.h_addrtype = 0; /* XXX: gcc */ in _hf_gethtbyname2()
159 info->hp->h_addrtype = af; in _hf_gethtbyname2()
180 hent.h_addrtype = af = hp->h_addrtype; in _hf_gethtbyname2()
213 hp->h_addrtype = hent.h_addrtype; in _hf_gethtbyname2()
253 info->hp->h_addrtype = va_arg(ap, int); in _hf_gethtbyaddr()
Dgethnamaddr.c654 hp->h_addrtype = ntohl(size); in android_read_hostent()
729 hp->h_addrtype = af; in gethostbyname_internal_real()
1025 if (hent->h_addrtype != 0 && hent->h_addrtype != af) in netbsd_gethostent_r()
1047 hent->h_addrtype = af; in netbsd_gethostent_r()
1102 if (hp->h_addrtype != AF_INET || hp->h_length != NS_INADDRSZ) in map_v4v6_hostent()
1104 hp->h_addrtype = AF_INET6; in map_v4v6_hostent()
1180 info->hp->h_addrtype = va_arg(ap, int); in _dns_gethtbyname()
1182 switch (info->hp->h_addrtype) { in _dns_gethtbyname()
1247 info->hp->h_addrtype = va_arg(ap, int); in _dns_gethtbyaddr()
1251 switch (info->hp->h_addrtype) { in _dns_gethtbyaddr()
[all …]
/bionic/libc/include/
Dnetdb.h84 int h_addrtype; /* host address type */ member
/bionic/tests/
Dnetdb_test.cpp178 ASSERT_EQ(hent->h_addrtype, AF_INET); in VerifyLocalhost()