Lines Matching refs:answers
377 answers.resize(ancount); in read()
379 cur = answers[i].read(cur, buffer_end); in read()
426 header.ancount = htons(answers.size()); in write()
434 for (const DNSRecord& answer : answers) { in write()
753 if (!header.answers.empty()) { in handleDNSRequest()
754 LOG(INFO) << "already " << header.answers.size() << " answers present in query"; in handleDNSRequest()
798 std::vector<DNSRecord>* answers) const { in addAnswerRecords()
828 answers->push_back(std::move(record)); in addAnswerRecords()
834 if (answers->size() == 0) { in addAnswerRecords()
906 header->answers.clear(); in makeErrorResponse()
919 header->answers.clear(); in makeTruncatedResponse()
980 if (!addAnswerRecords(question, &header->answers)) { in makeResponseFromAddressOrHostname()