Lines Matching defs:ancount
1323 int type, class, ancount, qdcount;
1351 ancount = ntohs(hp->ancount);
1384 while (ancount-- > 0 && cp < eom && !had_error) {
2168 int ancount;
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 += ntohs(hp->ancount);
2252 if (ancount == 0) {
2272 return ancount;