Searched refs:question (Results 1 – 2 of 2) sorted by relevance
486 for (const DNSQuestion& question : questions) { in write() local487 buffer_cur = question.write(buffer_cur, buffer_end); in write()766 for (const DNSQuestion& question : header.questions) { in handleDNSRequest() local767 queries_.push_back(make_pair(question.qname.name, in handleDNSRequest()768 ns_type(question.qtype))); in handleDNSRequest()785 for (const DNSQuestion& question : header.questions) { in handleDNSRequest() local786 if (question.qclass != ns_class::ns_c_in && in handleDNSRequest()787 question.qclass != ns_class::ns_c_any) { in handleDNSRequest()788 ALOGI("unsupported question class %u", question.qclass); in handleDNSRequest()793 if (!addAnswerRecords(question, &header.answers)) { in handleDNSRequest()[all …]
116 bool addAnswerRecords(const DNSQuestion& question, std::vector<DNSRecord>* answers) const;