Home
last modified time | relevance | path

Searched refs:mapped_addr (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dstunserver_unittest.cc88 const StunAddressAttribute* mapped_addr = in TEST_F() local
90 EXPECT_TRUE(mapped_addr != NULL); in TEST_F()
91 EXPECT_EQ(1, mapped_addr->family()); in TEST_F()
92 EXPECT_EQ(client_addr.port(), mapped_addr->port()); in TEST_F()
93 if (mapped_addr->ipaddr() != client_addr.ipaddr()) { in TEST_F()
95 << mapped_addr->ipaddr() in TEST_F()
Dstunserver.cc89 StunAddressAttribute* mapped_addr; in GetStunBindReqponse() local
91 mapped_addr = StunAttribute::CreateAddress(STUN_ATTR_MAPPED_ADDRESS); in GetStunBindReqponse()
93 mapped_addr = StunAttribute::CreateXorAddress(STUN_ATTR_XOR_MAPPED_ADDRESS); in GetStunBindReqponse()
95 mapped_addr->SetAddress(remote_addr); in GetStunBindReqponse()
96 response->AddAttribute(mapped_addr); in GetStunBindReqponse()
Drelayserver_unittest.cc243 const StunAddressAttribute* mapped_addr = in TEST_F() local
245 ASSERT_TRUE(mapped_addr != NULL); in TEST_F()
246 EXPECT_EQ(1, mapped_addr->family()); in TEST_F()
247 EXPECT_EQ(server_ext_addr.port(), mapped_addr->port()); in TEST_F()
248 EXPECT_EQ(server_ext_addr.ipaddr(), mapped_addr->ipaddr()); in TEST_F()
273 const StunAddressAttribute* mapped_addr = in TEST_F() local
275 ASSERT_TRUE(mapped_addr != NULL); in TEST_F()
276 EXPECT_EQ(1, mapped_addr->family()); in TEST_F()
277 EXPECT_EQ(server_ext_addr.port(), mapped_addr->port()); in TEST_F()
278 EXPECT_EQ(server_ext_addr.ipaddr(), mapped_addr->ipaddr()); in TEST_F()
Drelayport.cc104 void OnConnect(const rtc::SocketAddress& mapped_addr,
547 void RelayEntry::OnConnect(const rtc::SocketAddress& mapped_addr, in OnConnect() argument
552 << " @ " << mapped_addr.ToSensitiveString(); in OnConnect()
555 port_->AddExternalAddress(ProtocolAddress(mapped_addr, proto)); in OnConnect()