Home
last modified time | relevance | path

Searched refs:ancount (Results 1 – 2 of 2) sorted by relevance

/system/netd/tests/dns_responder/
Ddns_responder.cpp387 uint16_t ancount; member
393 unsigned* qdcount, unsigned* ancount,
399 unsigned ancount; in read() local
402 const char* cur = readHeader(buffer, buffer_end, &qdcount, &ancount, in read()
418 if (ancount) { in read()
419 answers.resize(ancount); in read()
420 for (unsigned i = 0 ; i < ancount ; ++i) { in read()
465 header.ancount = htons(answers.size()); in write()
494 unsigned* qdcount, unsigned* ancount, in readHeader() argument
512 *ancount = ntohs(header.ancount); in readHeader()
/system/netd/server/dns/
DDnsTlsTransport.cpp418 const int ancount = (recvbuf[6] << 8) | recvbuf[7]; in validateDnsTlsServer() local
420 ALOGD("%u answer count: %d", netid, ancount); in validateDnsTlsServer()