Searched refs:qclass (Results 1 – 7 of 7) sorted by relevance
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.cpp | 268 qclass = ntohs(*reinterpret_cast<const uint16_t*>(cur + sizeof(uint16_t))); in read() 280 *reinterpret_cast<uint16_t*>(buffer_cur + sizeof(uint16_t)) = htons(qclass); in write() 287 dnstype2str(qtype), dnsclass2str(qclass)); in toString() 975 if (question.qclass != ns_class::ns_c_in && question.qclass != ns_class::ns_c_any) { in makeResponseFromAddressOrHostname() 976 LOG(INFO) << "unsupported question class " << question.qclass; in makeResponseFromAddressOrHostname() 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()
|
D | dns_responder.h | 55 unsigned qclass; member
|
/packages/modules/DnsResolver/ |
D | getaddrinfo.cpp | 121 int qclass, qtype; // class and type of query member 1403 q.qclass = C_IN; in dns_getaddrinfo() 1414 q2.qclass = C_IN; in dns_getaddrinfo() 1426 q.qclass = C_IN; in dns_getaddrinfo() 1431 q.qclass = C_IN; in dns_getaddrinfo() 1616 const int cl = t->qclass; in doQuery() 1752 int cl = t->qclass; in res_queryN()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_cache_unit_test.cpp | 71 std::vector<char> makeQuery(int op, const char* qname, int qclass, int qtype) { in makeQuery() argument 73 const int len = res_nmkquery(op, qname, qclass, qtype, /*data=*/nullptr, /*datalen=*/0, buf, in makeQuery() 89 .rclass = question.qclass, in makeAnswer() 255 CacheEntry makeCacheEntry(int op, const char* qname, int qclass, int qtype, const char* rdata, in makeCacheEntry() argument 258 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()
|
D | resolv_integration_test.cpp | 5550 .qclass = ns_c_in, in TEST_P()
|
/packages/modules/DnsResolver/tests/testdata/ |
D | README.md | 147 | qclass = IN
|