Home
last modified time | relevance | path

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

/system/netd/resolv/
DDnsTlsTransport.cpp193 const int qdcount = (recvbuf[4] << 8) | recvbuf[5]; in validate() local
194 if (qdcount != 1) { in validate()
195 ALOGW("reply query count != 1: %d", qdcount); in validate()
Dres_debug.cpp272 int qdcount, ancount, nscount, arcount; in res_pquery() local
283 qdcount = ns_msg_count(handle, ns_s_qd); in res_pquery()
303 p = dbprint(p, end, "; %s: %d", p_section(ns_s_qd, (int)opcode), qdcount); in res_pquery()
317 if (qdcount == 0 && ancount == 0 && nscount == 0 && arcount == 0) LOG(VERBOSE) << ";;"; in res_pquery()
Dres_send.cpp317 int qdcount = ntohs(((const HEADER*) (const void*) buf)->qdcount); in res_nameinquery() local
319 while (qdcount-- > 0) { in res_nameinquery()
348 int qdcount = ntohs(((const HEADER*) (const void*) buf1)->qdcount); in res_queriesmatch() local
360 if (qdcount != ntohs(((const HEADER*) (const void*) buf2)->qdcount)) return (0); in res_queriesmatch()
361 while (qdcount-- > 0) { in res_queriesmatch()
Dres_mkquery.cpp150 hp->qdcount = htons(1); in res_nmkquery()
Dgethnamaddr.cpp153 int ancount, qdcount; in getanswer() local
186 qdcount = ntohs(hp->qdcount); in getanswer()
191 if (qdcount != 1) goto no_recovery; in getanswer()
Dgetaddrinfo.cpp840 int type, ancount, qdcount; in getanswer() local
868 qdcount = ntohs(hp->qdcount); in getanswer()
873 if (qdcount != 1) { in getanswer()
/system/netd/resolv/dns_responder/
Ddns_responder.cpp400 uint16_t qdcount; member
407 unsigned* qdcount, unsigned* ancount,
412 unsigned qdcount; in read() local
416 const char* cur = readHeader(buffer, buffer_end, &qdcount, &ancount, in read()
422 if (qdcount) { in read()
423 questions.resize(qdcount); in read()
424 for (unsigned i = 0 ; i < qdcount ; ++i) { in read()
481 header.qdcount = htons(questions.size()); in write()
511 unsigned* qdcount, unsigned* ancount, in readHeader() argument
529 *qdcount = ntohs(header.qdcount); in readHeader()