Home
last modified time | relevance | path

Searched refs:DohFrontend (Results 1 – 7 of 7) sorted by relevance

/packages/modules/DnsResolver/doh/tests/doh_frontend/include/
Dlib.rs.h28 struct DohFrontend;
52 DohFrontend* frontend_new(const char* addr, const char* port, const char* backend_addr,
57 bool frontend_start(DohFrontend* doh);
60 bool frontend_stop(DohFrontend* doh);
69 void frontend_delete(DohFrontend* doh);
76 bool frontend_set_certificate(DohFrontend* doh, const char* certificate);
83 bool frontend_set_private_key(DohFrontend* doh, const char* private_key);
87 bool frontend_set_delay_queries(DohFrontend* doh, int32_t count);
90 bool frontend_set_max_idle_timeout(DohFrontend* doh, uint64_t value);
97 bool frontend_set_max_buffer_size(DohFrontend* doh, uint64_t value);
[all …]
/packages/modules/DnsResolver/tests/
Ddoh_frontend.cpp37 DohFrontend::~DohFrontend() { in ~DohFrontend()
44 bool DohFrontend::startServer() { in startServer()
61 bool DohFrontend::stopServer() { in stopServer()
68 int DohFrontend::queries() const { in queries()
77 int DohFrontend::connections() const { in connections()
86 int DohFrontend::aliveConnections() const { in aliveConnections()
95 int DohFrontend::resumedConnections() const { in resumedConnections()
104 int DohFrontend::earlyDataConnections() const { in earlyDataConnections()
113 void DohFrontend::clearQueries() { in clearQueries()
128 bool DohFrontend::setMaxIdleTimeout(uint64_t value) { in setMaxIdleTimeout()
[all …]
Ddoh_frontend.h34 class DohFrontend {
36 DohFrontend(const std::string& listen_address = kDefaultListenAddr,
44 ~DohFrontend();
91 rust::DohFrontend* mRustDoh GUARDED_BY(mMutex) = nullptr;
Dresolv_private_dns_test.cpp266 test::DohFrontend::initRustAndroidLogger(); in SetUpTestSuite()
355 test::DohFrontend doh{test::kDefaultListenAddr, kDohPortString, "127.0.1.3", kDnsPortString};
781 test::DohFrontend doh_ipv6{listen_ipv6_addr, kDohPortString, listen_ipv6_addr, kDnsPortString}; in TEST_F()
818 test::DohFrontend doh_ipv6{listen_ipv6_addr, kDohPortString, listen_ipv6_addr, kDnsPortString}; in TEST_F()
874 test::DohFrontend doh_ipv6{ipv6DohServerAddr, kDohPortString, ipv6DohServerAddr, in TEST_F()
1009 test::DohFrontend doh_ipv6{listen_ipv6_addr, kDohPortString, listen_ipv6_addr, kDnsPortString}; in TEST_F()
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Dffi.rs17 use super::dns_https_frontend::DohFrontend;
40 ) -> *mut DohFrontend { in frontend_new() argument
57 match DohFrontend::new(socket_addr.unwrap(), backend_socket_addr.unwrap()) { in frontend_new()
66 pub extern "C" fn frontend_start(doh: &mut DohFrontend) -> bool { in frontend_start()
72 pub extern "C" fn frontend_stop(doh: &mut DohFrontend) -> bool { in frontend_stop()
87 pub unsafe extern "C" fn frontend_delete(doh: *mut DohFrontend) { in frontend_delete() argument
103 doh: &mut DohFrontend, in frontend_set_certificate() argument
121 doh: &mut DohFrontend, in frontend_set_private_key() argument
135 pub extern "C" fn frontend_set_delay_queries(doh: &mut DohFrontend, count: i32) -> bool { in frontend_set_delay_queries() argument
141 pub extern "C" fn frontend_set_max_idle_timeout(doh: &mut DohFrontend, value: u64) -> bool { in frontend_set_max_idle_timeout() argument
[all …]
Ddns_https_frontend.rs62 pub struct DohFrontend { struct
100 impl DohFrontend { implementation
104 ) -> Result<Box<DohFrontend>> { in new() argument
105 let doh = Box::new(DohFrontend { in new()
/packages/modules/DnsResolver/tests/fuzzer/
Dresolv_fuzzer_utils.cpp24 test::DohFrontend doh{kDefaultServer, kDohPortString, "127.0.1.3", kDnsPortString};