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

/bionic/libc/netbsd/resolv/
H A Dres_query.c183 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
188 ntohs(hp->ancount),
H A Dres_mkquery.c215 hp->ancount = htons(1);
H A Dres_debug.c244 int qdcount, ancount, nscount, arcount; local
255 ancount = ns_msg_count(handle, ns_s_an);
291 p_section(ns_s_an, (int)opcode), ancount);
308 if (qdcount == 0 && ancount == 0 &&
H A Dres_cache.c1082 int ancount, n; local
1089 ancount = ns_msg_count(handle, ns_s_an);
1091 if (ancount == 0) {
1095 for (n = 0; n < ancount; n++) {
1102 XLOG("ns_parserr failed ancount no = %d. errno = %s\n", n, strerror(errno));
/bionic/libc/netbsd/net/
H A Dgetaddrinfo.c1307 int type, class, ancount, qdcount; local
1335 ancount = ntohs(hp->ancount);
1367 while (ancount-- > 0 && cp < eom && !had_error) {
2160 int ancount; local
2166 ancount = 0;
2212 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
2216 printf(";; rcode = %u, ancount=%u\n", hp->rcode,
2217 ntohs(hp->ancount));
2222 ancount
[all...]
/bionic/libc/private/
H A Darpa_nameser_compat.h131 unsigned ancount :16; /* number of answer entries */ member in struct:__anon643
/bionic/libc/netbsd/
H A Dgethnamaddr.c185 int type, class, ancount, qdcount; local
214 ancount = ntohs(hp->ancount);
253 while (ancount-- > 0 && cp < eom && !had_error) {

Completed in 107 milliseconds