Searched refs:mapped_addr (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/webrtc/p2p/base/ |
D | stunserver_unittest.cc | 88 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()
|
D | stunserver.cc | 89 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()
|
D | relayserver_unittest.cc | 243 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()
|
D | relayport.cc | 104 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()
|