Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp357 unsigned qdcount; in read() local
361 const char* cur = readHeader(buffer, buffer_end, &qdcount, &ancount, &nscount, &arcount); in read()
366 if (qdcount) { in read()
367 questions.resize(qdcount); in read()
368 for (unsigned i = 0; i < qdcount; ++i) { in read()
425 header.qdcount = htons(questions.size()); in write()
463 const char* DNSHeader::readHeader(const char* buffer, const char* buffer_end, unsigned* qdcount, in readHeader() argument
480 *qdcount = ntohs(header.qdcount); in readHeader()
Ddns_responder.h109 uint16_t qdcount; member
115 const char* readHeader(const char* buffer, const char* buffer_end, unsigned* qdcount,
/packages/modules/DnsResolver/
Dres_send.cpp348 int qdcount = ntohs(((const HEADER*) (const void*) buf)->qdcount); in res_nameinquery() local
350 while (qdcount-- > 0) { in res_nameinquery()
379 int qdcount = ntohs(((const HEADER*) (const void*) buf1)->qdcount); in res_queriesmatch() local
391 if (qdcount != ntohs(((const HEADER*) (const void*) buf2)->qdcount)) return (0); in res_queriesmatch()
392 while (qdcount-- > 0) { in res_queriesmatch()
DDnsTlsTransport.cpp82 const int qdcount = (answer[4] << 8) | answer[5]; in checkDnsResponse() local
83 if (qdcount != 1) { in checkDnsResponse()
84 return Errorf("reply query count != 1: {}", qdcount); in checkDnsResponse()
Dres_debug.cpp243 int qdcount, ancount, nscount, arcount; in res_pquery() local
253 qdcount = ns_msg_count(handle, ns_s_qd); in res_pquery()
273 StringAppendF(&s, "; %s: %d", p_section(ns_s_qd, (int)opcode), qdcount); in res_pquery()
Dgethnamaddr.cpp136 int ancount, qdcount; in getanswer() local
170 qdcount = ntohs(hp->qdcount); in getanswer()
175 if (qdcount != 1) goto no_recovery; in getanswer()
Dres_mkquery.cpp147 hp->qdcount = htons(1); in res_nmkquery()
Dgetaddrinfo.cpp852 int type, ancount, qdcount; in getanswer() local
880 qdcount = ntohs(hp->qdcount); in getanswer()
885 if (qdcount != 1) { in getanswer()
/packages/modules/DnsResolver/tests/testdata/
DREADME.md139 qdcount = 1