Home
last modified time | relevance | path

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

/system/netd/resolv/
Dres_mkquery.cpp167 hp->arcount = htons(1); in res_nmkquery()
248 hp->arcount = htons(ntohs(hp->arcount) + 1); in res_nopt()
Dres_debug.cpp272 int qdcount, ancount, nscount, arcount; in res_pquery() local
286 arcount = ns_msg_count(handle, ns_s_ar); in res_pquery()
306 p = dbprint(p, end, ", %s: %d", p_section(ns_s_ar, (int)opcode), arcount); in res_pquery()
317 if (qdcount == 0 && ancount == 0 && nscount == 0 && arcount == 0) LOG(VERBOSE) << ";;"; in res_pquery()
Dres_query.cpp174 << " ar:" << ntohs(hp->arcount); in res_nquery()
Dres_cache.cpp742 int count, arcount; in _dnsPacket_hashQuery() local
770 arcount = _dnsPacket_readInt16(packet); in _dnsPacket_hashQuery()
776 for (; arcount > 0; arcount--) hash = _dnsPacket_hashRR(packet, hash); in _dnsPacket_hashQuery()
/system/netd/resolv/dns_responder/
Ddns_responder.cpp403 uint16_t arcount; member
408 unsigned* nscount, unsigned* arcount);
415 unsigned arcount; in read() local
417 &nscount, &arcount); in read()
452 if (arcount) { in read()
453 additionals.resize(arcount); in read()
454 for (unsigned i = 0 ; i < arcount ; ++i) { in read()
484 header.arcount = htons(additionals.size()); in write()
512 unsigned* nscount, unsigned* arcount) { in readHeader() argument
532 *arcount = ntohs(header.arcount); in readHeader()