Searched refs:ancount (Results 1 – 2 of 2) sorted by relevance
/system/netd/tests/dns_responder/ |
D | dns_responder.cpp | 391 uint16_t ancount; member 397 unsigned* qdcount, unsigned* ancount, 403 unsigned ancount; in read() local 406 const char* cur = readHeader(buffer, buffer_end, &qdcount, &ancount, in read() 422 if (ancount) { in read() 423 answers.resize(ancount); in read() 424 for (unsigned i = 0 ; i < ancount ; ++i) { in read() 472 header.ancount = htons(answers.size()); in write() 501 unsigned* qdcount, unsigned* ancount, in readHeader() argument 520 *ancount = ntohs(header.ancount); in readHeader()
|
/system/netd/server/dns/ |
D | DnsTlsTransport.cpp | 212 const int ancount = (recvbuf[6] << 8) | recvbuf[7]; in validate() local 213 ALOGV("%u answer count: %d", netid, ancount); in validate()
|