Searched refs:Edns (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.h | 131 enum class Edns { enum 184 void setEdns(Edns edns); 328 std::atomic<Edns> edns_ = Edns::ON;
|
D | dns_responder.cpp | 575 void DNSResponder::setEdns(Edns edns) { in setEdns() 761 if (edns_ == Edns::FORMERR_UNCOND) { in handleDNSRequest() 766 if (!header.additionals.empty() && edns_ != Edns::ON) { in handleDNSRequest() 769 << (edns_ == Edns::FORMERR_ON_EDNS ? "RCODE FORMERR." : "no response."); in handleDNSRequest() 770 if (edns_ == Edns::FORMERR_ON_EDNS) { in handleDNSRequest()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 3033 typedef test::DNSResponder::Edns Edns; in TEST_F() typedef 3062 Edns edns; in TEST_F() 3068 case Edns::ON: in TEST_F() 3071 case Edns::FORMERR_ON_EDNS: in TEST_F() 3074 case Edns::DROP: in TEST_F() 3091 {OFF, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F() 3092 {OPPORTUNISTIC_UDP, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F() 3093 {OPPORTUNISTIC_FALLBACK_UDP, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F() 3094 {OPPORTUNISTIC_TLS, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F() 3095 {STRICT, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F() [all …]
|