Searched refs:DnsTlsServer (Results 1 – 14 of 14) sorted by relevance
/packages/modules/DnsResolver/ |
D | PrivateDnsConfiguration.h | 39 std::map<DnsTlsServer, Validation, AddressComparator> serversMap; 41 std::list<DnsTlsServer> validatedServers() const { in validatedServers() 42 std::list<DnsTlsServer> servers; in validatedServers() 63 typedef std::map<DnsTlsServer, Validation, AddressComparator> PrivateDnsTracker; 64 typedef std::set<DnsTlsServer, AddressComparator> ThreadTracker; 66 void validatePrivateDnsProvider(const DnsTlsServer& server, PrivateDnsTracker& tracker, 69 bool recordPrivateDnsValidation(const DnsTlsServer& server, unsigned netId, bool success); 71 bool needValidateThread(const DnsTlsServer& server, unsigned netId) REQUIRES(mPrivateDnsLock); 72 void cleanValidateThreadTracker(const DnsTlsServer& server, unsigned netId); 78 bool needsValidation(const PrivateDnsTracker& tracker, const DnsTlsServer& server);
|
D | DnsTlsServer.h | 33 struct DnsTlsServer { struct 35 DnsTlsServer() {} in DnsTlsServer() argument 38 DnsTlsServer(const sockaddr_storage& ss) : ss(ss) {} in DnsTlsServer() function 62 bool operator<(const DnsTlsServer& other) const; 63 bool operator==(const DnsTlsServer& other) const; 70 bool operator()(const DnsTlsServer& x, const DnsTlsServer& y) const;
|
D | DnsTlsServer.cpp | 92 bool AddressComparator::operator() (const DnsTlsServer& x, const DnsTlsServer& y) const { in operator ()() 111 auto make_tie(const DnsTlsServer& s) { in make_tie() 115 bool DnsTlsServer::operator <(const DnsTlsServer& other) const { in operator <() 119 bool DnsTlsServer::operator ==(const DnsTlsServer& other) const { in operator ==() 123 bool DnsTlsServer::wasExplicitlyConfigured() const { in wasExplicitlyConfigured()
|
D | DnsTlsDispatcher.cpp | 44 std::list<DnsTlsServer> DnsTlsDispatcher::getOrderedServerList( in getOrderedServerList() 45 const std::list<DnsTlsServer> &tlsServers, unsigned mark) const { in getOrderedServerList() 51 std::list<DnsTlsServer> existing6; in getOrderedServerList() 52 std::list<DnsTlsServer> existing4; in getOrderedServerList() 53 std::list<DnsTlsServer> new6; in getOrderedServerList() 54 std::list<DnsTlsServer> new4; in getOrderedServerList() 92 DnsTlsTransport::Response DnsTlsDispatcher::query(const std::list<DnsTlsServer>& tlsServers, in query() 95 const std::list<DnsTlsServer> orderedServers(getOrderedServerList(tlsServers, statp->_mark)); in query() 146 DnsTlsTransport::Response DnsTlsDispatcher::query(const DnsTlsServer& server, unsigned mark, in query()
|
D | DnsTlsDispatcher.h | 52 DnsTlsTransport::Response query(const std::list<DnsTlsServer>& tlsServers, 60 DnsTlsTransport::Response query(const DnsTlsServer& server, unsigned mark, 71 typedef std::pair<unsigned, const DnsTlsServer> Key; 76 Transport(const DnsTlsServer& server, unsigned mark, IDnsTlsSocketFactory* _Nonnull factory) in Transport() 101 std::list<DnsTlsServer> getOrderedServerList(const std::list<DnsTlsServer>& tlsServers,
|
D | PrivateDnsConfiguration.cpp | 82 std::set<DnsTlsServer> tlsServers; in set() 88 DnsTlsServer server(parsed); in set() 92 getExperimentTimeout("dot_connect_timeout_ms", DnsTlsServer::kDotConnectTimeoutMs); in set() 172 void PrivateDnsConfiguration::validatePrivateDnsProvider(const DnsTlsServer& server, in validatePrivateDnsProvider() 229 bool PrivateDnsConfiguration::recordPrivateDnsValidation(const DnsTlsServer& server, unsigned netId, in recordPrivateDnsValidation() 299 bool PrivateDnsConfiguration::needValidateThread(const DnsTlsServer& server, unsigned netId) in needValidateThread() 327 void PrivateDnsConfiguration::cleanValidateThreadTracker(const DnsTlsServer& server, in cleanValidateThreadTracker() 348 const DnsTlsServer& server) { in needsValidation()
|
D | resolv_tls_unit_test.cpp | 77 SERVER1 = DnsTlsServer(V4ADDR1); in BaseTest() 86 DnsTlsServer SERVER1; 111 const DnsTlsServer& server ATTRIBUTE_UNUSED, in createDnsTlsSocket() 418 const DnsTlsServer& server ATTRIBUTE_UNUSED, in createDnsTlsSocket() 699 const DnsTlsServer& server, in createDnsTlsSocket() 707 std::multiset<std::pair<unsigned, DnsTlsServer>> keys; 722 std::vector<std::pair<unsigned, DnsTlsServer>> keys; in TEST_F() 738 const DnsTlsServer& server = key.second; in TEST_F() 759 bool isAddressEqual(const DnsTlsServer& s1, const DnsTlsServer& s2) { in isAddressEqual() 766 void checkUnequal(const DnsTlsServer& s1, const DnsTlsServer& s2) { in checkUnequal() [all …]
|
D | DnsTlsTransport.h | 44 DnsTlsTransport(const DnsTlsServer& server, unsigned mark, in DnsTlsTransport() 58 static bool validate(const DnsTlsServer& server, unsigned netid, uint32_t mark); 73 const DnsTlsServer mServer;
|
D | IDnsTlsSocketFactory.h | 27 struct DnsTlsServer; 35 const DnsTlsServer& server, unsigned mark, IDnsTlsSocketObserver* _Nonnull observer,
|
D | DnsTlsSocketFactory.h | 30 struct DnsTlsServer; 35 std::unique_ptr<IDnsTlsSocket> createDnsTlsSocket(const DnsTlsServer& server, unsigned mark, in createDnsTlsSocket()
|
D | DnsTlsSocket.h | 49 DnsTlsSocket(const DnsTlsServer& server, unsigned mark, in DnsTlsSocket() 131 const DnsTlsServer mServer;
|
D | DnsTlsTransport.cpp | 156 bool DnsTlsTransport::validate(const DnsTlsServer& server, unsigned netid, uint32_t mark) { in validate()
|
D | Android.bp | 118 "DnsTlsServer.cpp",
|
D | README-DoT.md | 14 `DnsTlsTransport` for each server (represented by a `DnsTlsServer` struct) and
|