Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsStatsTest.cpp179 std::vector<IPSockAddr> ipSockAddrs; in TEST_F() local
180 ipSockAddrs.reserve(servers.size()); in TEST_F()
182 ipSockAddrs.push_back(IPSockAddr::toIPSockAddr(server, 53)); in TEST_F()
185 EXPECT_TRUE(mDnsStats.setServers(ipSockAddrs, PROTO_TCP) == isSuccess); in TEST_F()
186 EXPECT_TRUE(mDnsStats.setServers(ipSockAddrs, PROTO_UDP) == isSuccess); in TEST_F()
187 EXPECT_TRUE(mDnsStats.setServers(ipSockAddrs, PROTO_DOT) == isSuccess); in TEST_F()
Dres_cache.cpp1593 std::vector<IPSockAddr> ipSockAddrs; in resolv_set_nameservers() local
1594 ipSockAddrs.reserve(nameservers.size()); in resolv_set_nameservers()
1597 ipSockAddrs.push_back(IPSockAddr::toIPSockAddr(server, 53)); in resolv_set_nameservers()
1616 netconfig->nameserverSockAddrs = std::move(ipSockAddrs); in resolv_set_nameservers()