Searched refs:ancount (Results 1 – 12 of 12) sorted by relevance
/resolv/nss_dns/ |
A D | dns-canon.c | 83 unsigned int ancount = ntohs (ansp.buf->hdr.ancount); in _nss_dns_getcanonname_r() local 103 while (ancount-- > 0) in _nss_dns_getcanonname_r()
|
A D | dns-host.c | 636 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 D | dns-network.c | 294 int answer_count = ntohs (header_pointer->ancount); in libc_hidden_def()
|
/resolv/ |
A D | tst-resolv-canonname.c | 140 (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 D | res_query.c | 241 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 D | res_debug.c | 243 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 D | compat-gethnamaddr.c | 148 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 D | tst-resolv-trustad.c | 71 TEST_COMPARE (1, ntohs (header.ancount)); in check_answer()
|
A D | tst-resolv-network.c | 130 resolv_response_init (b, (struct resolv_response_flags) {.ancount = 1}); in handle_code()
|
A D | tst-resolv-edns.c | 430 TEST_VERIFY (ntohs (hd->ancount) == 1); in do_res_search()
|
A D | res_send.c | 1243 if (anhp->rcode == NOERROR && anhp->ancount == 0 in send_dg()
|
/resolv/arpa/ |
A D | nameser_compat.h | 73 unsigned ancount :16; /*%< number of answer entries */ member
|
Completed in 26 milliseconds