Home
last modified time | relevance | path

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

/system/netd/tests/
Ddns_responder.cpp373 std::vector<DNSRecord> answers; member
418 answers.resize(ancount); in read()
420 cur = answers[i].read(cur, buffer_end); in read()
464 header.ancount = htons(answers.size()); in write()
472 for (const DNSRecord& answer : answers) { in write()
748 if (!header.answers.empty()) { in handleDNSRequest()
749 ALOGI("already %zu answers present in query", header.answers.size()); in handleDNSRequest()
776 if (!addAnswerRecords(question, &header.answers)) { in handleDNSRequest()
791 std::vector<DNSRecord>* answers) const { in addAnswerRecords()
822 answers->push_back(std::move(record)); in addAnswerRecords()
[all …]
Ddns_responder.h96 std::vector<DNSRecord>* answers) const;