Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsTlsDispatcher.cpp61 for (const auto& tlsServer : tlsServers) { in getOrderedServerList() local
62 const Key key = std::make_pair(mark, tlsServer); in getOrderedServerList()
64 switch (tlsServer.ss.ss_family) { in getOrderedServerList()
66 existing4.push_back(tlsServer); in getOrderedServerList()
69 existing6.push_back(tlsServer); in getOrderedServerList()
73 switch (tlsServer.ss.ss_family) { in getOrderedServerList()
75 new4.push_back(tlsServer); in getOrderedServerList()
78 new6.push_back(tlsServer); in getOrderedServerList()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp1666 struct sockaddr_in tlsServer = { in TEST_F() local
1670 ASSERT_TRUE(inet_pton(AF_INET, listen_addr, &tlsServer.sin_addr)); in TEST_F()
1673 ASSERT_FALSE(bind(s, reinterpret_cast<struct sockaddr*>(&tlsServer), sizeof(tlsServer))); in TEST_F()
4666 std::string tlsServer; in TEST_F() member
4671 return fmt::format("{}, {}, {}, {}", tlsServer, tlsName, in TEST_F()
4700 auto& tls = (config.tlsServer == addr1) ? tls1 : tls2; in TEST_F()
4710 parcel.servers = {config.tlsServer}; in TEST_F()
4711 parcel.tlsServers = {config.tlsServer}; in TEST_F()
4717 EXPECT_TRUE(WaitForPrivateDnsValidation(config.tlsServer, true)); in TEST_F()
4727 EXPECT_TRUE(WaitForPrivateDnsValidation(config.tlsServer, false)); in TEST_F()