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
183 void setEdns(Edns edns);
327 std::atomic<Edns> edns_ = Edns::ON;
Ddns_responder.cpp581 void DNSResponder::setEdns(Edns edns) { in setEdns()
758 if (edns_ == Edns::FORMERR_UNCOND) { in handleDNSRequest()
763 if (!header.additionals.empty() && edns_ != Edns::ON) { in handleDNSRequest()
766 << (edns_ == Edns::FORMERR_ON_EDNS ? "RCODE FORMERR." : "no response."); in handleDNSRequest()
767 if (edns_ == Edns::FORMERR_ON_EDNS) { in handleDNSRequest()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp2823 typedef test::DNSResponder::Edns Edns; in TEST_F() typedef
2861 Edns edns; in TEST_F()
2867 case Edns::ON: in TEST_F()
2870 case Edns::FORMERR_ON_EDNS: in TEST_F()
2873 case Edns::DROP: in TEST_F()
2890 {OFF, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F()
2891 {OPPORTUNISTIC_UDP, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F()
2892 {OPPORTUNISTIC_FALLBACK_UDP, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F()
2893 {OPPORTUNISTIC_TLS, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F()
2894 {STRICT, GETHOSTBYNAME, Edns::ON, EXPECT_SUCCESS}, in TEST_F()
[all …]