Home
last modified time | relevance | path

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

/external/webrtc/webrtc/p2p/base/
Drelayserver_unittest.cc31 static const SocketAddress client2_addr("127.0.0.1", 7000 + (rand() % 1000));
59 rtc::AsyncUDPSocket::Create(ss_.get(), client2_addr))); in SetUp()
315 EXPECT_EQ(client2_addr.ipaddr(), src_addr->ipaddr()); in TEST_F()
316 EXPECT_EQ(client2_addr.port(), src_addr->port()); in TEST_F()
413 AddDestinationAttr(req.get(), client2_addr); in TEST_F()
464 AddDestinationAttr(req.get(), client2_addr); in TEST_F()
483 EXPECT_EQ(client2_addr.ipaddr(), src_addr->ipaddr()); in TEST_F()
484 EXPECT_EQ(client2_addr.port(), src_addr->port()); in TEST_F()
507 AddDestinationAttr(req.get(), client2_addr); in TEST_F()
/external/webrtc/webrtc/base/
Dvirtualsocket_unittest.cc180 SocketAddress client2_addr = socket2->GetLocalAddress(); in TestDefaultRoute() local
181 EXPECT_FALSE(client2_addr.IsAnyIP()); in TestDefaultRoute()
187 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, client2_addr)); in TestDefaultRoute()
194 EXPECT_TRUE(client1->CheckNextPacket("foo", 3, &client2_addr)); in TestDefaultRoute()
210 SocketAddress client2_addr; in BasicTest() local
212 EXPECT_TRUE(client1->CheckNextPacket("foo", 3, &client2_addr)); in BasicTest()
215 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, client2_addr)); in BasicTest()
226 CheckPortIncrementalization(next_client2_addr, client2_addr); in BasicTest()
234 client2_addr = next_client2_addr; in BasicTest()
801 SocketAddress client2_addr; in CrossFamilyDatagramTest() local
[all …]