Searched refs:ancount (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/dns/resolv/ |
D | res_query.c | 184 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery() 189 ntohs(hp->ancount), in res_nquery()
|
D | res_debug.c | 299 int qdcount, ancount, nscount, arcount; in res_pquery() local 310 ancount = ns_msg_count(handle, ns_s_an); in res_pquery() 346 p_section(ns_s_an, (int)opcode), ancount); in res_pquery() 363 if (qdcount == 0 && ancount == 0 && in res_pquery()
|
D | res_mkquery.c | 215 hp->ancount = htons(1); in res_nmkquery()
|
D | res_cache.c | 1127 int ancount, n; in answer_getTTL() local 1134 ancount = ns_msg_count(handle, ns_s_an); in answer_getTTL() 1136 if (ancount == 0) { in answer_getTTL() 1140 for (n = 0; n < ancount; n++) { in answer_getTTL()
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 1322 int type, class, ancount, qdcount; in getanswer() local 1350 ancount = ntohs(hp->ancount); in getanswer() 1383 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer() 2167 int ancount; in res_queryN() local 2173 ancount = 0; in res_queryN() 2224 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN() 2241 ntohs(hp->ancount)); in res_queryN() 2246 ancount += ntohs(hp->ancount); in res_queryN() 2251 if (ancount == 0) { in res_queryN() 2271 return ancount; in res_queryN()
|
D | gethnamaddr.c | 225 int type, class, ancount, qdcount; in getanswer() local 259 ancount = ntohs(hp->ancount); in getanswer() 292 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer()
|
/bionic/libc/include/arpa/ |
D | nameser_compat.h | 71 unsigned ancount :16; /* number of answer entries */ member
|