Searched defs:ancount (Results 1 - 5 of 5) sorted by path

/bionic/libc/dns/net/
H A Dgetaddrinfo.c1306 int type, class, ancount, qdcount; local
1334 ancount = ntohs(hp->ancount);
1366 while (ancount-- > 0 && cp < eom && !had_error) {
2145 int ancount; local
2151 ancount = 0;
2197 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
2201 printf(";; rcode = %u, ancount=%u\n", hp->rcode,
2202 ntohs(hp->ancount));
2207 ancount
[all...]
H A Dgethnamaddr.c210 int type, class, ancount, qdcount; local
244 ancount = ntohs(hp->ancount);
277 while (ancount-- > 0 && cp < eom && !had_error) {
/bionic/libc/dns/resolv/
H A Dres_cache.c1071 int ancount, n; local
1078 ancount = ns_msg_count(handle, ns_s_an);
1080 if (ancount == 0) {
1084 for (n = 0; n < ancount; n++) {
1091 XLOG("ns_parserr failed ancount no = %d. errno = %s\n", n, strerror(errno));
H A Dres_debug.c281 int qdcount, ancount, nscount, arcount; local
292 ancount = ns_msg_count(handle, ns_s_an);
328 p_section(ns_s_an, (int)opcode), ancount);
345 if (qdcount == 0 && ancount == 0 &&
/bionic/libc/include/arpa/
H A Dnameser_compat.h86 unsigned ancount :16; /* number of answer entries */ member in struct:__anon22

Completed in 131 milliseconds