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.h131 enum class Edns { enum
184 void setEdns(Edns edns);
328 std::atomic<Edns> edns_ = Edns::ON;
Ddns_responder.cpp575 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/
Dresolv_integration_test.cpp3033 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 …]