Searched refs:qdcount (Results 1 – 9 of 9) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsTlsTransport.cpp | 203 const int qdcount = (recvbuf[4] << 8) | recvbuf[5]; in validate() local 204 if (qdcount != 1) { in validate() 205 LOG(WARNING) << "reply query count != 1: " << qdcount; in validate()
|
D | res_send.cpp | 351 int qdcount = ntohs(((const HEADER*) (const void*) buf)->qdcount); in res_nameinquery() local 353 while (qdcount-- > 0) { in res_nameinquery() 382 int qdcount = ntohs(((const HEADER*) (const void*) buf1)->qdcount); in res_queriesmatch() local 394 if (qdcount != ntohs(((const HEADER*) (const void*) buf2)->qdcount)) return (0); in res_queriesmatch() 395 while (qdcount-- > 0) { in res_queriesmatch()
|
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 | getaddrinfo.cpp | 853 int type, ancount, qdcount; in getanswer() local 881 qdcount = ntohs(hp->qdcount); in getanswer() 886 if (qdcount != 1) { in getanswer()
|
D | res_mkquery.cpp | 147 hp->qdcount = htons(1); in res_nmkquery()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.cpp | 327 unsigned qdcount; in read() local 331 const char* cur = readHeader(buffer, buffer_end, &qdcount, &ancount, &nscount, &arcount); in read() 336 if (qdcount) { in read() 337 questions.resize(qdcount); in read() 338 for (unsigned i = 0; i < qdcount; ++i) { in read() 395 header.qdcount = htons(questions.size()); in write() 433 const char* DNSHeader::readHeader(const char* buffer, const char* buffer_end, unsigned* qdcount, in readHeader() argument 450 *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/tests/testdata/ |
D | README.md | 139 qdcount = 1
|