Lines Matching full:ancount
1316 int type, class, ancount, qdcount;
1344 ancount = ntohs(hp->ancount);
1376 while (ancount-- > 0 && cp < eom && !had_error) {
2161 int ancount;
2167 ancount = 0;
2213 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
2217 printf(";; rcode = %u, ancount=%u\n", hp->rcode,
2218 ntohs(hp->ancount));
2223 ancount += ntohs(hp->ancount);
2228 if (ancount == 0) {
2248 return ancount;