Searched refs:Edns (Results 1 – 3 of 3) sorted by relevance
/system/netd/resolv/dns_responder/ |
D | dns_responder.h | 57 enum class Edns : uint8_t { enum 67 void setEdns(Edns edns); 156 std::atomic<Edns> edns_ = Edns::ON;
|
D | dns_responder.cpp | 577 void DNSResponder::setEdns(Edns edns) { in setEdns() 749 if (edns_ == Edns::FORMERR_UNCOND) { in handleDNSRequest() 754 if (!header.additionals.empty() && edns_ != Edns::ON) { in handleDNSRequest() 757 edns_ == Edns::FORMERR_ON_EDNS ? "RCODE FORMERR." : "no response."); in handleDNSRequest() 758 if (edns_ == Edns::FORMERR_ON_EDNS) { in handleDNSRequest()
|
/system/netd/resolv/ |
D | resolver_test.cpp | 2303 typedef test::DNSResponder::Edns Edns; in TEST_F() typedef 2327 Edns edns; in TEST_F() 2333 case Edns::ON: in TEST_F() 2336 case Edns::FORMERR_ON_EDNS: in TEST_F() 2339 case Edns::DROP: in TEST_F() 2354 {OFF, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F() 2355 {OPPORTUNISTIC_UDP, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F() 2356 {OPPORTUNISTIC_TLS, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F() 2357 {STRICT, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F() 2358 {OFF, GETHOSTBYNAME, Edns::FORMERR_ON_EDNS, EXPECT_SUCCESS}, in TEST_F() [all …]
|