Home
last modified time | relevance | path

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

/bionic/libc/dns/net/
Dsethostent.c168 hent.h_addrtype = 0; /* XXX: gcc */ in _hf_gethtbyname2()
172 info->hp->h_addrtype = af; in _hf_gethtbyname2()
193 hent.h_addrtype = af = hp->h_addrtype; in _hf_gethtbyname2()
226 hp->h_addrtype = hent.h_addrtype; in _hf_gethtbyname2()
265 info->hp->h_addrtype = va_arg(ap, int); in _hf_gethtbyaddr()
Dgethnamaddr.c631 hp->h_addrtype = ntohl(size); in android_read_hostent()
706 hp->h_addrtype = af; in gethostbyname_internal_real()
995 if (hent->h_addrtype != 0 && hent->h_addrtype != af) in netbsd_gethostent_r()
1017 hent->h_addrtype = af; in netbsd_gethostent_r()
1072 if (hp->h_addrtype != AF_INET || hp->h_length != NS_INADDRSZ) in map_v4v6_hostent()
1074 hp->h_addrtype = AF_INET6; in map_v4v6_hostent()
1150 info->hp->h_addrtype = va_arg(ap, int); in _dns_gethtbyname()
1152 switch (info->hp->h_addrtype) { in _dns_gethtbyname()
1217 info->hp->h_addrtype = va_arg(ap, int); in _dns_gethtbyaddr()
1220 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.cpp178 ASSERT_EQ(hent->h_addrtype, AF_INET); in VerifyLocalhost()