Lines Matching refs:questions
367 questions.resize(qdcount); in read()
369 cur = questions[i].read(cur, buffer_end); in read()
425 header.qdcount = htons(questions.size()); in write()
430 for (const DNSQuestion& question : questions) { in write()
749 if (header.questions.empty()) { in handleDNSRequest()
775 for (const DNSQuestion& question : header.questions) { in handleDNSRequest()
974 for (const DNSQuestion& question : header->questions) { in makeResponseFromAddressOrHostname()
997 const std::vector<DNSQuestion>& questions = header->questions; in makeResponseFromDnsHeader() local
998 if (questions.size() != 1) { in makeResponseFromDnsHeader()
999 LOG(INFO) << "unsupported question count " << questions.size(); in makeResponseFromDnsHeader()
1003 if (questions[0].qclass != ns_class::ns_c_in && questions[0].qclass != ns_class::ns_c_any) { in makeResponseFromDnsHeader()
1004 LOG(INFO) << "unsupported question class " << questions[0].qclass; in makeResponseFromDnsHeader()
1008 const std::string name = questions[0].qname.name; in makeResponseFromDnsHeader()
1009 const int qtype = questions[0].qtype; in makeResponseFromDnsHeader()