Home
last modified time | relevance | path

Searched refs:qdcount (Results 1 – 16 of 16) sorted by relevance

/glibc-2.36/resolv/
Dres_queriesmatch.c104 int qdcount = ((HEADER *) buf1)->qdcount; in __libc_res_queriesmatch() local
105 if (qdcount != ((HEADER *) buf2)->qdcount) in __libc_res_queriesmatch()
108 qdcount = htons (qdcount); in __libc_res_queriesmatch()
111 while (qdcount-- > 0) in __libc_res_queriesmatch()
Dres_nameinquery.c94 int qdcount = ntohs (((HEADER *) buf)->qdcount); in __libc_res_nameinquery() local
96 while (qdcount-- > 0) in __libc_res_nameinquery()
Dres_debug.c243 int qdcount, ancount, nscount, arcount; in fp_nquery() local
260 qdcount = ns_msg_count(handle, ns_s_qd); in fp_nquery()
295 p_section(ns_s_qd, opcode), qdcount); in fp_nquery()
314 if (qdcount == 0 && ancount == 0 && in fp_nquery()
Dcompat-gethnamaddr.c148 int type, class, buflen, ancount, qdcount; in getanswer() local
173 qdcount = ntohs(hp->qdcount); in getanswer()
178 if (qdcount != 1) { in getanswer()
Dres-noaaaa.c62 || ntohs (replacement.header.qdcount) != 1 in __res_handle_no_aaaa()
Dres_mkquery.c153 hp->qdcount = htons (1); in __res_context_mkquery()
Dtst-resolv-trustad.c70 TEST_COMPARE (1, ntohs (header.qdcount)); in check_answer()
Dtst-resolv-edns.c429 TEST_VERIFY (ntohs (hd->qdcount) == 1); in do_res_search()
/glibc-2.36/support/
Dsupport_format_dns_packet.c114 unsigned short qdcount; in support_format_dns_packet() local
120 && extract_16 (&in, &qdcount) in support_format_dns_packet()
128 if (qdcount != 1) in support_format_dns_packet()
130 fprintf (mem.out, "error: question count is %d, not 1\n", qdcount); in support_format_dns_packet()
Dresolv_test.h157 unsigned short qdcount; member
Dresolv_test.c191 b->buffer[4] = flags.qdcount >> 8; in resolv_response_init()
192 b->buffer[5] = flags.qdcount; in resolv_response_init()
479 if (ntohs (hd.qdcount) != 1) in parse_query()
481 (int) ntohs (hd.qdcount)); in parse_query()
/glibc-2.36/hesiod/
Dhesiod.c339 int ancount, qdcount; in get_txt_records() local
366 qdcount = ntohs(hp->qdcount); in get_txt_records()
371 for (i = 0; i < qdcount; i++) { in get_txt_records()
/glibc-2.36/resolv/nss_dns/
Ddns-host.c658 int n, ancount, qdcount; in getanswer_r() local
704 qdcount = ntohs (hp->qdcount); in getanswer_r()
706 if (__glibc_unlikely (qdcount != 1)) in getanswer_r()
1046 int qdcount = ntohs (hp->qdcount); in gaih_getanswer_slice() local
1049 if (__glibc_unlikely (qdcount != 1)) in gaih_getanswer_slice()
Ddns-canon.c79 if (ansp.buf->hdr.qdcount != htons (1)) in _nss_dns_getcanonname_r()
Ddns-network.c296 int question_count = ntohs (header_pointer->qdcount); in libc_hidden_def()
/glibc-2.36/resolv/arpa/
Dnameser_compat.h72 unsigned qdcount :16; /*%< number of question entries */ member