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

/bionic/libc/dns/net/
H A Dsethostent.c155 hent.h_addrtype = 0; /* XXX: gcc */
159 info->hp->h_addrtype = af;
180 hent.h_addrtype = af = hp->h_addrtype;
213 hp->h_addrtype = hent.h_addrtype;
253 info->hp->h_addrtype = va_arg(ap, int);
H A Dgethnamaddr.c655 hp->h_addrtype = ntohl(size);
730 hp->h_addrtype = af;
1026 if (hent->h_addrtype != 0 && hent->h_addrtype != af)
1048 hent->h_addrtype = af;
1103 if (hp->h_addrtype != AF_INET || hp->h_length != NS_INADDRSZ)
1105 hp->h_addrtype = AF_INET6;
1181 info->hp->h_addrtype = va_arg(ap, int);
1183 switch (info->hp->h_addrtype) {
1248 info->hp->h_addrtype
[all...]
/bionic/libc/include/
H A Dnetdb.h84 int h_addrtype; /* host address type */ member in struct:hostent
/bionic/tests/
H A Dnetdb_test.cpp178 ASSERT_EQ(hent->h_addrtype, AF_INET);

Completed in 8 milliseconds