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_mkquery.c | 215 hp->ancount = htons(1); in res_nmkquery()
|
D | res_debug.c | 281 int qdcount, ancount, nscount, arcount; in res_pquery() local 292 ancount = ns_msg_count(handle, ns_s_an); in res_pquery() 328 p_section(ns_s_an, (int)opcode), ancount); in res_pquery() 345 if (qdcount == 0 && ancount == 0 && in res_pquery()
|
D | res_cache.c | 1071 int ancount, n; in answer_getTTL() local 1078 ancount = ns_msg_count(handle, ns_s_an); in answer_getTTL() 1080 if (ancount == 0) { in answer_getTTL() 1084 for (n = 0; n < ancount; n++) { in answer_getTTL()
|
/bionic/libc/include/arpa/ |
D | nameser_compat.h | 86 unsigned ancount :16; /* number of answer entries */ member
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 1306 int type, class, ancount, qdcount; in getanswer() local 1334 ancount = ntohs(hp->ancount); in getanswer() 1366 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer() 2145 int ancount; in res_queryN() local 2151 ancount = 0; in res_queryN() 2197 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN() 2202 ntohs(hp->ancount)); in res_queryN() 2207 ancount += ntohs(hp->ancount); in res_queryN() 2212 if (ancount == 0) { in res_queryN() 2232 return ancount; in res_queryN()
|
D | gethnamaddr.c | 210 int type, class, ancount, qdcount; in getanswer() local 244 ancount = ntohs(hp->ancount); in getanswer() 277 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer()
|