Home
last modified time | relevance | path

Searched refs:tlsServer (Results 1 – 2 of 2) sorted by relevance

/system/netd/resolv/
DDnsTlsDispatcher.cpp54 for (const auto& tlsServer : tlsServers) { in getOrderedServerList() local
55 const Key key = std::make_pair(mark, tlsServer); in getOrderedServerList()
57 switch (tlsServer.ss.ss_family) { in getOrderedServerList()
59 existing4.push_back(tlsServer); in getOrderedServerList()
62 existing6.push_back(tlsServer); in getOrderedServerList()
66 switch (tlsServer.ss.ss_family) { in getOrderedServerList()
68 new4.push_back(tlsServer); in getOrderedServerList()
71 new6.push_back(tlsServer); in getOrderedServerList()
Dresolver_test.cpp1212 struct sockaddr_in tlsServer = { in TEST_F() local
1216 ASSERT_TRUE(inet_pton(AF_INET, listen_addr, &tlsServer.sin_addr)); in TEST_F()
1219 ASSERT_FALSE(bind(s, reinterpret_cast<struct sockaddr*>(&tlsServer), sizeof(tlsServer))); in TEST_F()