Home
last modified time | relevance | path

Searched refs:ancount (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/netbsd/net/
Dgetaddrinfo.c1054 int type, class, ancount, qdcount; in getanswer() local
1082 ancount = ntohs(hp->ancount); in getanswer()
1114 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer()
1517 int ancount; in res_queryN() local
1523 ancount = 0; in res_queryN()
1569 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN()
1574 ntohs(hp->ancount)); in res_queryN()
1579 ancount += ntohs(hp->ancount); in res_queryN()
1584 if (ancount == 0) { in res_queryN()
1604 return ancount; in res_queryN()
/bionic/libc/netbsd/resolv/
Dres_query.c183 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery()
188 ntohs(hp->ancount), in res_nquery()
Dres_mkquery.c215 hp->ancount = htons(1); in res_nmkquery()
Dres_debug.c243 int qdcount, ancount, nscount, arcount; in res_pquery() local
254 ancount = ns_msg_count(handle, ns_s_an); in res_pquery()
290 p_section(ns_s_an, (int)opcode), ancount); in res_pquery()
307 if (qdcount == 0 && ancount == 0 && in res_pquery()
/bionic/libc/private/
Darpa_nameser_compat.h131 unsigned ancount :16; /* number of answer entries */ member
/bionic/libc/netbsd/
Dgethnamaddr.c179 int type, class, ancount, qdcount; in getanswer() local
208 ancount = ntohs(hp->ancount); in getanswer()
247 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer()