Home
last modified time | relevance | path

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

/system/netd/resolv/dns_responder/
Ddns_responder.cpp486 for (const DNSQuestion& question : questions) { in write() local
487 buffer_cur = question.write(buffer_cur, buffer_end); in write()
766 for (const DNSQuestion& question : header.questions) { in handleDNSRequest() local
767 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() local
786 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 …]
Ddns_responder.h116 bool addAnswerRecords(const DNSQuestion& question, std::vector<DNSRecord>* answers) const;