Home
last modified time | relevance | path

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

/resolv/nss_dns/
A Ddns-canon.c83 unsigned int ancount = ntohs (ansp.buf->hdr.ancount); in _nss_dns_getcanonname_r() local
103 while (ancount-- > 0) in _nss_dns_getcanonname_r()
A Ddns-host.c636 int n, ancount, qdcount; in getanswer_r() local
681 ancount = ntohs (hp->ancount); in getanswer_r()
689 if (sizeof (struct host_data) + (ancount + 1) * sizeof (char *) >= buflen) in getanswer_r()
691 bp = (char *) &host_data->h_addr_ptrs[ancount + 1]; in getanswer_r()
692 linebuflen -= (ancount + 1) * sizeof (char *); in getanswer_r()
750 while (ancount-- > 0 && cp < end_of_message && had_error == 0) in getanswer_r()
1023 int ancount = ntohs (hp->ancount); in gaih_getanswer_slice() local
1072 if (ancount == 0) in gaih_getanswer_slice()
1078 while (ancount-- > 0 && cp < end_of_message && had_error == 0) in gaih_getanswer_slice()
A Ddns-network.c294 int answer_count = ntohs (header_pointer->ancount); in libc_hidden_def()
/resolv/
A Dtst-resolv-canonname.c140 (b, (struct resolv_response_flags) {.ancount = 1}); in response()
161 resolv_response_init (b, (struct resolv_response_flags) {.ancount = 1}); in response()
176 (b, (struct resolv_response_flags) {.ancount = 1}); in response()
184 resolv_response_init (b, (struct resolv_response_flags) {.ancount = 1}); in response()
200 (b, (struct resolv_response_flags) {.ancount = 1}); in response()
A Dres_query.c241 if ((hp->rcode != NOERROR || ntohs(hp->ancount) == 0) in __res_context_query()
242 && (hp2->rcode != NOERROR || ntohs(hp2->ancount) == 0)) { in __res_context_query()
245 if ((hp->rcode == NOERROR && ntohs (hp->ancount) != 0) in __res_context_query()
247 && ntohs (hp2->ancount) != 0)) in __res_context_query()
255 if (ntohs (hp->ancount) != 0 in __res_context_query()
256 || ntohs (hp2->ancount) != 0) in __res_context_query()
264 if ((hp->rcode == NOERROR && ntohs (hp->ancount) != 0) in __res_context_query()
266 && ntohs (hp2->ancount) != 0)) in __res_context_query()
A Dres_debug.c243 int qdcount, ancount, nscount, arcount; in fp_nquery() local
261 ancount = ns_msg_count(handle, ns_s_an); in fp_nquery()
297 p_section(ns_s_an, opcode), ancount); in fp_nquery()
314 if (qdcount == 0 && ancount == 0 && in fp_nquery()
A Dcompat-gethnamaddr.c148 int type, class, buflen, ancount, qdcount; in getanswer() local
172 ancount = ntohs(hp->ancount); in getanswer()
212 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer()
A Dtst-resolv-trustad.c71 TEST_COMPARE (1, ntohs (header.ancount)); in check_answer()
A Dtst-resolv-network.c130 resolv_response_init (b, (struct resolv_response_flags) {.ancount = 1}); in handle_code()
A Dtst-resolv-edns.c430 TEST_VERIFY (ntohs (hd->ancount) == 1); in do_res_search()
A Dres_send.c1243 if (anhp->rcode == NOERROR && anhp->ancount == 0 in send_dg()
/resolv/arpa/
A Dnameser_compat.h73 unsigned ancount :16; /*%< number of answer entries */ member

Completed in 26 milliseconds