Home
last modified time | relevance | path

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

/bionic/libc/dns/net/
Dsethostent.c165 hent.h_addrtype = 0; /* XXX: gcc */ in _hf_gethtbyname2()
169 info->hp->h_addrtype = af; in _hf_gethtbyname2()
190 hent.h_addrtype = af = hp->h_addrtype; in _hf_gethtbyname2()
223 hp->h_addrtype = hent.h_addrtype; in _hf_gethtbyname2()
262 info->hp->h_addrtype = va_arg(ap, int); in _hf_gethtbyaddr()
Dgethnamaddr.c630 hp->h_addrtype = ntohl(size); in android_read_hostent()
705 hp->h_addrtype = af; in gethostbyname_internal_real()
994 if (hent->h_addrtype != 0 && hent->h_addrtype != af) in netbsd_gethostent_r()
1016 hent->h_addrtype = af; in netbsd_gethostent_r()
1071 if (hp->h_addrtype != AF_INET || hp->h_length != NS_INADDRSZ) in map_v4v6_hostent()
1073 hp->h_addrtype = AF_INET6; in map_v4v6_hostent()
1149 info->hp->h_addrtype = va_arg(ap, int); in _dns_gethtbyname()
1151 switch (info->hp->h_addrtype) { in _dns_gethtbyname()
1216 info->hp->h_addrtype = va_arg(ap, int); in _dns_gethtbyaddr()
1219 switch (info->hp->h_addrtype) { in _dns_gethtbyaddr()
[all …]
/bionic/libc/include/
Dnetdb.h84 int h_addrtype; /* host address type */ member
/bionic/tests/headers/posix/
Dnetdb_h.c37 STRUCT_MEMBER(struct hostent, int, h_addrtype); in netdb_h()
/bionic/tests/
Dnetdb_test.cpp179 ASSERT_EQ(hent->h_addrtype, AF_INET); in VerifyLocalhost()