Home
last modified time | relevance | path

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

/system/netd/tests/
Ddns_responder.cpp386 uint16_t ancount; member
392 unsigned* qdcount, unsigned* ancount,
398 unsigned ancount; in read() local
401 const char* cur = readHeader(buffer, buffer_end, &qdcount, &ancount, in read()
417 if (ancount) { in read()
418 answers.resize(ancount); in read()
419 for (unsigned i = 0 ; i < ancount ; ++i) { in read()
464 header.ancount = htons(answers.size()); in write()
493 unsigned* qdcount, unsigned* ancount, in readHeader() argument
511 *ancount = ntohs(header.ancount); in readHeader()