Searched refs:qdcount (Results 1 – 9 of 9) sorted by relevance
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.cpp | 357 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()
|
D | dns_responder.h | 109 uint16_t qdcount; member 115 const char* readHeader(const char* buffer, const char* buffer_end, unsigned* qdcount,
|
/packages/modules/DnsResolver/ |
D | res_send.cpp | 348 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()
|
D | DnsTlsTransport.cpp | 82 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()
|
D | res_debug.cpp | 243 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()
|
D | gethnamaddr.cpp | 136 int ancount, qdcount; in getanswer() local 170 qdcount = ntohs(hp->qdcount); in getanswer() 175 if (qdcount != 1) goto no_recovery; in getanswer()
|
D | res_mkquery.cpp | 147 hp->qdcount = htons(1); in res_nmkquery()
|
D | getaddrinfo.cpp | 852 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/ |
D | README.md | 139 qdcount = 1
|