Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dres_mkquery.cpp164 hp->arcount = htons(1); in res_nmkquery()
245 hp->arcount = htons(ntohs(hp->arcount) + 1); in res_nopt()
Dres_debug.cpp243 int qdcount, ancount, nscount, arcount; in res_pquery() local
256 arcount = ns_msg_count(handle, ns_s_ar); in res_pquery()
276 StringAppendF(&s, ", %s: %d", p_section(ns_s_ar, (int)opcode), arcount); in res_pquery()
Dres_query.cpp174 << " ar:" << ntohs(hp->arcount); in res_nquery()
Dres_cache.cpp517 int count, arcount; in _dnsPacket_hashQuery() local
545 arcount = _dnsPacket_readInt16(packet); in _dnsPacket_hashQuery()
551 for (; arcount > 0; arcount--) hash = _dnsPacket_hashRR(packet, hash); in _dnsPacket_hashQuery()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp360 unsigned arcount; in read() local
361 const char* cur = readHeader(buffer, buffer_end, &qdcount, &ancount, &nscount, &arcount); in read()
396 if (arcount) { in read()
397 additionals.resize(arcount); in read()
398 for (unsigned i = 0; i < arcount; ++i) { in read()
428 header.arcount = htons(additionals.size()); in write()
464 unsigned* ancount, unsigned* nscount, unsigned* arcount) { in readHeader() argument
483 *arcount = ntohs(header.arcount); in readHeader()
Ddns_responder.h112 uint16_t arcount; member
116 unsigned* ancount, unsigned* nscount, unsigned* arcount);
/packages/modules/DnsResolver/tests/testdata/
DREADME.md142 arcount = 0