Lines Matching refs:ancount
828 int type, ancount, qdcount; in getanswer() local
855 ancount = ntohs(hp->ancount); in getanswer()
888 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer()
1595 int ancount; member
1628 .ancount = 0, in doQuery()
1641 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in doQuery()
1654 LOG(INFO) << __func__ << ": rcode=" << rcode << ", ancount=" << ntohs(hp->ancount) in doQuery()
1659 .ancount = ntohs(hp->ancount), in doQuery()
1686 int ancount = 0; in res_queryN_parallel() local
1696 ancount += r.ancount; in res_queryN_parallel()
1701 if (ancount == 0) { in res_queryN_parallel()
1706 return ancount; in res_queryN_parallel()