Home
last modified time | relevance | path

Searched refs:Edns (Results 1 – 3 of 3) sorted by relevance

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.h130 enum class Edns { enum
179 void setEdns(Edns edns);
323 std::atomic<Edns> edns_ = Edns::ON;
Ddns_responder.cpp551 void DNSResponder::setEdns(Edns edns) { in setEdns()
728 if (edns_ == Edns::FORMERR_UNCOND) { in handleDNSRequest()
733 if (!header.additionals.empty() && edns_ != Edns::ON) { in handleDNSRequest()
736 << (edns_ == Edns::FORMERR_ON_EDNS ? "RCODE FORMERR." : "no response."); in handleDNSRequest()
737 if (edns_ == Edns::FORMERR_ON_EDNS) { in handleDNSRequest()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp2659 typedef test::DNSResponder::Edns Edns; in TEST_F() typedef
2697 Edns edns; in TEST_F()
2703 case Edns::ON: in TEST_F()
2706 case Edns::FORMERR_ON_EDNS: in TEST_F()
2709 case Edns::DROP: in TEST_F()
2726 {OFF, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F()
2727 {OPPORTUNISTIC_UDP, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F()
2728 {OPPORTUNISTIC_FALLBACK_UDP, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F()
2729 {OPPORTUNISTIC_TLS, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F()
2730 {STRICT, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F()
[all …]