Lines Matching refs:answers
347 answers.resize(ancount); in read()
349 cur = answers[i].read(cur, buffer_end); in read()
396 header.ancount = htons(answers.size()); in write()
404 for (const DNSRecord& answer : answers) { in write()
723 if (!header.answers.empty()) { in handleDNSRequest()
724 LOG(INFO) << "already " << header.answers.size() << " answers present in query"; in handleDNSRequest()
768 std::vector<DNSRecord>* answers) const { in addAnswerRecords()
798 answers->push_back(std::move(record)); in addAnswerRecords()
804 if (answers->size() == 0) { in addAnswerRecords()
876 header->answers.clear(); in makeErrorResponse()
889 header->answers.clear(); in makeTruncatedResponse()
950 if (!addAnswerRecords(question, &header->answers)) { in makeResponseFromAddressOrHostname()