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.c1036 int ancount, n; local
1043 ancount = ns_msg_count(handle, ns_s_an);
1044 for (n = 0; n < ancount; n++) {
1051 XLOG("ns_parserr failed ancount no = %d. errno = %s\n", n, strerror(errno));
/bionic/libc/netbsd/net/
H A Dgetaddrinfo.c1316 int type, class, ancount, qdcount; local
1344 ancount = ntohs(hp->ancount);
1376 while (ancount-- > 0 && cp < eom && !had_error) {
2161 int ancount; local
2167 ancount = 0;
2213 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
2217 printf(";; rcode = %u, ancount=%u\n", hp->rcode,
2218 ntohs(hp->ancount));
2223 ancount
[all...]
/bionic/libc/private/
H A Darpa_nameser_compat.h131 unsigned ancount :16; /* number of answer entries */ member in struct:__anon615
/bionic/libc/netbsd/
H A Dgethnamaddr.c180 int type, class, ancount, qdcount; local
209 ancount = ntohs(hp->ancount);
248 while (ancount-- > 0 && cp < eom && !had_error) {

Completed in 132 milliseconds