Searched refs:DnsTlsServer (Results 1 – 15 of 15) sorted by relevance
/system/netd/resolv/ |
D | DnsTlsServer.h | 33 struct DnsTlsServer { struct 35 DnsTlsServer() {} in DnsTlsServer() function 38 DnsTlsServer(const sockaddr_storage& ss) : ss(ss) {} in DnsTlsServer() argument 64 bool operator<(const DnsTlsServer& other) const; 65 bool operator==(const DnsTlsServer& other) const; 72 bool operator()(const DnsTlsServer& x, const DnsTlsServer& y) const;
|
D | DnsTlsDispatcher.h | 51 DnsTlsTransport::Response query(const std::list<DnsTlsServer>& tlsServers, unsigned mark, 58 DnsTlsTransport::Response query(const DnsTlsServer& server, unsigned mark, 69 typedef std::pair<unsigned, const DnsTlsServer> Key; 74 Transport(const DnsTlsServer& server, unsigned mark, IDnsTlsSocketFactory* _Nonnull factory) in Transport() 99 std::list<DnsTlsServer> getOrderedServerList(const std::list<DnsTlsServer>& tlsServers,
|
D | DnsTlsTransport.h | 44 DnsTlsTransport(const DnsTlsServer& server, unsigned mark, in DnsTlsTransport() 49 typedef DnsTlsServer::Response Response; 50 typedef DnsTlsServer::Result Result; 58 static bool validate(const DnsTlsServer& server, unsigned netid, uint32_t mark); 71 const DnsTlsServer mServer;
|
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() 120 bool DnsTlsServer::operator <(const DnsTlsServer& other) const { in operator <() 124 bool DnsTlsServer::operator ==(const DnsTlsServer& other) const { in operator ==() 128 bool DnsTlsServer::wasExplicitlyConfigured() const { in wasExplicitlyConfigured()
|
D | DnsTlsDispatcher.cpp | 37 std::list<DnsTlsServer> DnsTlsDispatcher::getOrderedServerList( in getOrderedServerList() 38 const std::list<DnsTlsServer> &tlsServers, unsigned mark) const { in getOrderedServerList() 44 std::list<DnsTlsServer> existing6; in getOrderedServerList() 45 std::list<DnsTlsServer> existing4; in getOrderedServerList() 46 std::list<DnsTlsServer> new6; in getOrderedServerList() 47 std::list<DnsTlsServer> new4; in getOrderedServerList() 86 const std::list<DnsTlsServer> &tlsServers, unsigned mark, in query() 88 const std::list<DnsTlsServer> orderedServers(getOrderedServerList(tlsServers, mark)); in query() 115 DnsTlsTransport::Response DnsTlsDispatcher::query(const DnsTlsServer& server, unsigned mark, in query()
|
D | PrivateDnsConfiguration.h | 40 std::list<DnsTlsServer> validatedServers; 67 typedef std::map<DnsTlsServer, Validation, AddressComparator> PrivateDnsTracker; 69 void validatePrivateDnsProvider(const DnsTlsServer& server, PrivateDnsTracker& tracker, 72 bool recordPrivateDnsValidation(const DnsTlsServer& server, unsigned netId, bool success); 78 bool needsValidation(const PrivateDnsTracker& tracker, const DnsTlsServer& server);
|
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 | dns_tls_test.cpp | 82 SERVER1 = DnsTlsServer(V4ADDR1); in BaseTest() 92 DnsTlsServer SERVER1; 117 const DnsTlsServer& server ATTRIBUTE_UNUSED, in createDnsTlsSocket() 188 std::future<DnsTlsServer::Result> f = transport.query(makeSlice(QUERY)); in TEST_F() 190 DnsTlsServer::Result r = f.get(); in TEST_F() 414 const DnsTlsServer& server ATTRIBUTE_UNUSED, in createDnsTlsSocket() 650 const DnsTlsServer& server, in createDnsTlsSocket() 658 std::multiset<std::pair<unsigned, DnsTlsServer>> keys; 673 std::vector<std::pair<unsigned, DnsTlsServer>> keys; in TEST_F() 688 const DnsTlsServer& server = key.second; in TEST_F() [all …]
|
D | DnsTlsQueryMap.h | 44 typedef DnsTlsServer::Response Response; 45 typedef DnsTlsServer::Result Result;
|
D | DnsTlsSocket.h | 49 DnsTlsSocket(const DnsTlsServer& server, unsigned mark, in DnsTlsSocket() 128 const DnsTlsServer mServer;
|
D | PrivateDnsConfiguration.cpp | 67 std::set<DnsTlsServer> tlsServers; in set() 73 DnsTlsServer server(parsed); in set() 172 void PrivateDnsConfiguration::validatePrivateDnsProvider(const DnsTlsServer& server, in validatePrivateDnsProvider() 228 bool PrivateDnsConfiguration::recordPrivateDnsValidation(const DnsTlsServer& server, unsigned netId, in recordPrivateDnsValidation() 307 const DnsTlsServer& server) { in needsValidation()
|
D | DnsTlsTransport.cpp | 146 bool DnsTlsTransport::validate(const DnsTlsServer& server, unsigned netid, uint32_t mark) { in validate()
|
D | Android.bp | 69 "DnsTlsServer.cpp",
|
D | README.md | 14 `DnsTlsTransport` for each server (represented by a `DnsTlsServer` struct) and
|