Searched refs:qclass (Results 1 – 7 of 7) sorted by relevance
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.cpp | 238 qclass = ntohs(*reinterpret_cast<const uint16_t*>(cur + sizeof(uint16_t))); in read() 250 *reinterpret_cast<uint16_t*>(buffer_cur + sizeof(uint16_t)) = htons(qclass); in write() 257 dnstype2str(qtype), dnsclass2str(qclass)); in toString() 945 if (question.qclass != ns_class::ns_c_in && question.qclass != ns_class::ns_c_any) { in makeResponseFromAddressOrHostname() 946 LOG(INFO) << "unsupported question class " << question.qclass; in makeResponseFromAddressOrHostname() 973 if (questions[0].qclass != ns_class::ns_c_in && questions[0].qclass != ns_class::ns_c_any) { in makeResponseFromDnsHeader() 974 LOG(INFO) << "unsupported question class " << questions[0].qclass; in makeResponseFromDnsHeader()
|
D | dns_responder.h | 55 unsigned qclass; member
|
/packages/modules/DnsResolver/ |
D | getaddrinfo.cpp | 122 int qclass, qtype; // class and type of query member 1404 q.qclass = C_IN; in dns_getaddrinfo() 1415 q2.qclass = C_IN; in dns_getaddrinfo() 1427 q.qclass = C_IN; in dns_getaddrinfo() 1432 q.qclass = C_IN; in dns_getaddrinfo() 1617 const int cl = t->qclass; in doQuery() 1749 int cl = t->qclass; in res_queryN()
|
D | resolv_cache_unit_test.cpp | 72 std::vector<char> makeQuery(int op, const char* qname, int qclass, int qtype) { in makeQuery() argument 74 const int len = res_nmkquery(op, qname, qclass, qtype, /*data=*/nullptr, /*datalen=*/0, buf, in makeQuery() 90 .rclass = question.qclass, in makeAnswer() 256 CacheEntry makeCacheEntry(int op, const char* qname, int qclass, int qtype, const char* rdata, in makeCacheEntry() argument 259 ce.query = makeQuery(op, qname, qclass, qtype); in makeCacheEntry()
|
D | resolv_unit_test.cpp | 83 const unsigned qclass = ns_c_in; in MakeDnsMessage() local 105 .qclass = qclass, in MakeDnsMessage() 111 test::DNSRecord record = MakeAnswerRecord(qname, qclass, qtype, r); in MakeDnsMessage()
|
/packages/modules/DnsResolver/tests/testdata/ |
D | README.md | 147 | qclass = IN
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 4839 .qclass = ns_c_in, in TEST_P()
|