Searched refs:ancount (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/netbsd/resolv/ |
D | res_query.c | 183 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery() 188 ntohs(hp->ancount), in res_nquery()
|
D | res_mkquery.c | 215 hp->ancount = htons(1); in res_nmkquery()
|
D | res_debug.c | 244 int qdcount, ancount, nscount, arcount; in res_pquery() local 255 ancount = ns_msg_count(handle, ns_s_an); in res_pquery() 291 p_section(ns_s_an, (int)opcode), ancount); in res_pquery() 308 if (qdcount == 0 && ancount == 0 && in res_pquery()
|
D | res_cache.c | 1082 int ancount, n; in answer_getTTL() local 1089 ancount = ns_msg_count(handle, ns_s_an); in answer_getTTL() 1091 if (ancount == 0) { in answer_getTTL() 1095 for (n = 0; n < ancount; n++) { in answer_getTTL()
|
/bionic/libc/netbsd/net/ |
D | getaddrinfo.c | 1308 int type, class, ancount, qdcount; in getanswer() local 1336 ancount = ntohs(hp->ancount); in getanswer() 1368 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer() 2166 int ancount; in res_queryN() local 2172 ancount = 0; in res_queryN() 2218 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN() 2223 ntohs(hp->ancount)); in res_queryN() 2228 ancount += ntohs(hp->ancount); in res_queryN() 2233 if (ancount == 0) { in res_queryN() 2253 return ancount; in res_queryN()
|
/bionic/libc/private/ |
D | arpa_nameser_compat.h | 131 unsigned ancount :16; /* number of answer entries */ member
|
/bionic/libc/netbsd/ |
D | gethnamaddr.c | 185 int type, class, ancount, qdcount; in getanswer() local 214 ancount = ntohs(hp->ancount); in getanswer() 253 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer()
|