Home | History | Annotate | Download | only in net

Lines Matching defs:ancount

1714 	int type, class, ancount, qdcount;
1748 ancount = ntohs(hp->ancount);
1781 while (ancount-- > 0 && cp < eom && !had_error) {
1992 h_errno = ntohs(hp->ancount) > 0? NO_DATA : NO_RECOVERY;
2557 int ancount;
2563 ancount = 0;
2631 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
2637 ntohs(hp->ancount),
2644 ancount += ntohs(hp->ancount);
2649 if (ancount == 0) {
2669 return ancount;