Searched refs:ancount (Results 1 - 8 of 8) sorted by relevance

/bionic/libc/include/arpa/
H A Dnameser_compat.h71 unsigned ancount :16; /* number of answer entries */ member in struct:__anon46
/bionic/tools/versioner/current/arpa/
H A Dnameser_compat.h71 unsigned ancount :16; /* number of answer entries */ member in struct:__anon2460
/bionic/libc/dns/resolv/
H A Dres_query.c184 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
189 ntohs(hp->ancount),
H A Dres_debug.c281 int qdcount, ancount, nscount, arcount; local
292 ancount = ns_msg_count(handle, ns_s_an);
328 p_section(ns_s_an, (int)opcode), ancount);
345 if (qdcount == 0 && ancount == 0 &&
H A Dres_mkquery.c215 hp->ancount = htons(1);
H A Dres_cache.c1127 int ancount, n; local
1134 ancount = ns_msg_count(handle, ns_s_an);
1136 if (ancount == 0) {
1140 for (n = 0; n < ancount; n++) {
1147 XLOG("ns_parserr failed ancount no = %d. errno = %s\n", n, strerror(errno));
/bionic/libc/dns/net/
H A Dgetaddrinfo.c1323 int type, class, ancount, qdcount; local
1351 ancount = ntohs(hp->ancount);
1384 while (ancount-- > 0 && cp < eom && !had_error) {
2168 int ancount; local
2174 ancount = 0;
2225 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
2241 printf(";; rcode = %u, ancount=%u\n", hp->rcode,
2242 ntohs(hp->ancount));
2247 ancount
[all...]
H A Dgethnamaddr.c226 int type, class, ancount, qdcount; local
260 ancount = ntohs(hp->ancount);
293 while (ancount-- > 0 && cp < eom && !had_error) {

Completed in 69 milliseconds