Searched refs:ancount (Results 1 - 7 of 7) sorted by relevance

/bionic/libc/dns/resolv/
H A Dres_query.c184 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
189 ntohs(hp->ancount),
H A Dres_mkquery.c215 hp->ancount = htons(1);
H A Dres_debug.c289 int qdcount, ancount, nscount, arcount; local
300 ancount = ns_msg_count(handle, ns_s_an);
336 p_section(ns_s_an, (int)opcode), ancount);
353 if (qdcount == 0 && ancount == 0 &&
H A Dres_cache.c1065 int ancount, n; local
1072 ancount = ns_msg_count(handle, ns_s_an);
1074 if (ancount == 0) {
1078 for (n = 0; n < ancount; n++) {
1085 XLOG("ns_parserr failed ancount no = %d. errno = %s\n", n, strerror(errno));
/bionic/libc/dns/net/
H A Dgetaddrinfo.c1315 int type, class, ancount, qdcount; local
1343 ancount = ntohs(hp->ancount);
1375 while (ancount-- > 0 && cp < eom && !had_error) {
2153 int ancount; local
2159 ancount = 0;
2205 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
2209 printf(";; rcode = %u, ancount=%u\n", hp->rcode,
2210 ntohs(hp->ancount));
2215 ancount
[all...]
/bionic/libc/include/arpa/
H A Dnameser_compat.h133 unsigned ancount :16; /* number of answer entries */ member in struct:__anon26
/bionic/libc/dns/
H A Dgethnamaddr.c190 int type, class, ancount, qdcount; local
219 ancount = ntohs(hp->ancount);
258 while (ancount-- > 0 && cp < eom && !had_error) {

Completed in 327 milliseconds