Searched refs:ancount (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/netbsd/net/ |
D | getaddrinfo.c | 1054 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/ |
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 | 243 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/ |
D | arpa_nameser_compat.h | 131 unsigned ancount :16; /* number of answer entries */ member
|
/bionic/libc/netbsd/ |
D | gethnamaddr.c | 179 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()
|