Home
last modified time | relevance | path

Searched refs:GetRemoteAddress (Results 1 – 25 of 33) sorted by relevance

12

/external/webrtc/webrtc/base/
Dsocket_unittest.cc231 EXPECT_EQ(accepted->GetRemoteAddress(), accept_addr); in ConnectInternal()
236 EXPECT_EQ(client->GetLocalAddress(), accepted->GetRemoteAddress()); in ConnectInternal()
242 EXPECT_EQ(client->GetRemoteAddress(), server->GetLocalAddress()); in ConnectInternal()
243 EXPECT_EQ(client->GetRemoteAddress(), accepted->GetLocalAddress()); in ConnectInternal()
280 EXPECT_EQ(accepted->GetRemoteAddress(), accept_addr); in ConnectWithDnsLookupInternal()
285 EXPECT_EQ(client->GetLocalAddress(), accepted->GetRemoteAddress()); in ConnectWithDnsLookupInternal()
291 EXPECT_EQ(client->GetRemoteAddress(), server->GetLocalAddress()); in ConnectWithDnsLookupInternal()
292 EXPECT_EQ(client->GetRemoteAddress(), accepted->GetLocalAddress()); in ConnectWithDnsLookupInternal()
320 EXPECT_TRUE(client->GetRemoteAddress().IsNil()); in ConnectFailInternal()
362 EXPECT_TRUE(client->GetRemoteAddress().IsNil()); in ConnectWithDnsLookupFailInternal()
[all …]
Dasynctcpsocket.cc85 SocketAddress AsyncTCPSocketBase::GetRemoteAddress() const { in GetRemoteAddress() function in rtc::AsyncTCPSocketBase
86 return socket_->GetRemoteAddress(); in GetRemoteAddress()
130 const SocketAddress& remote_address = GetRemoteAddress(); in SendTo()
279 SocketAddress remote_addr(GetRemoteAddress()); in ProcessInput()
Dvirtualsocket_unittest.cc290 EXPECT_EQ(accepted->GetRemoteAddress(), accept_addr); in ConnectTest()
294 EXPECT_EQ(accepted->GetRemoteAddress(), client->GetLocalAddress()); in ConnectTest()
302 EXPECT_EQ(client->GetRemoteAddress(), server->GetLocalAddress()); in ConnectTest()
303 EXPECT_EQ(client->GetRemoteAddress(), accepted->GetLocalAddress()); in ConnectTest()
338 EXPECT_EQ(client->GetRemoteAddress(), nil_addr); in ConnectToNonListenerTest()
452 EXPECT_EQ(a->GetRemoteAddress(), b->GetLocalAddress()); in CloseTest()
456 EXPECT_EQ(b->GetRemoteAddress(), a->GetLocalAddress()); in CloseTest()
470 EXPECT_EQ(a->GetRemoteAddress(), kEmptyAddr); in CloseTest()
475 EXPECT_EQ(b->GetRemoteAddress(), kEmptyAddr); in CloseTest()
772 EXPECT_EQ(client->GetRemoteAddress(), server->GetLocalAddress()); in CrossFamilyConnectionTest()
[all …]
Dasyncsocket.cc45 SocketAddress AsyncSocketAdapter::GetRemoteAddress() const { in GetRemoteAddress() function in rtc::AsyncSocketAdapter
46 return socket_->GetRemoteAddress(); in GetRemoteAddress()
Dasyncudpsocket.cc57 SocketAddress AsyncUDPSocket::GetRemoteAddress() const { in GetRemoteAddress() function in rtc::AsyncUDPSocket
58 return socket_->GetRemoteAddress(); in GetRemoteAddress()
Dsocketadapters.h111 SocketAddress GetRemoteAddress() const override;
165 SocketAddress GetRemoteAddress() const override;
Dasyncudpsocket.h37 SocketAddress GetRemoteAddress() const override;
Dtestclient.h44 SocketAddress remote_address() const { return socket_->GetRemoteAddress(); } in remote_address()
Dmacasyncsocket.h37 SocketAddress GetRemoteAddress() const override;
Dasyncsocket.h54 SocketAddress GetRemoteAddress() const override;
Dasyncpacketsocket.h85 virtual SocketAddress GetRemoteAddress() const = 0;
Dasynctcpsocket.h36 SocketAddress GetRemoteAddress() const override;
Dwin32socketserver.h42 virtual SocketAddress GetRemoteAddress() const;
Dnat_unittest.cc377 EXPECT_EQ(client_->GetRemoteAddress(), server_->GetLocalAddress()); in TEST_F()
378 EXPECT_EQ(accepted_->GetRemoteAddress().ipaddr(), ext_addr_.ipaddr()); in TEST_F()
Dsocket.h148 virtual SocketAddress GetRemoteAddress() const = 0;
Dproxyserver.cc106 int_socket_->SendConnectResult(0, socket->GetRemoteAddress()); in OnExternalConnect()
Dphysicalsocketserver.h128 SocketAddress GetRemoteAddress() const override;
Dwin32socketserver.cc290 SocketAddress Win32Socket::GetRemoteAddress() const { in GetRemoteAddress() function in rtc::Win32Socket
516 SocketAddress addr = GetRemoteAddress(); in EstimateMTU()
Dsocketadapters.cc278 SocketAddress AsyncHttpsProxySocket::GetRemoteAddress() const { in GetRemoteAddress() function in rtc::AsyncHttpsProxySocket
537 SocketAddress AsyncSocksProxySocket::GetRemoteAddress() const { in GetRemoteAddress() function in rtc::AsyncSocksProxySocket
Dopenssladapter.cc522 addr == socket_->GetRemoteAddress()) { in SendTo()
591 *paddr = GetRemoteAddress(); in RecvFrom()
Dfirewallsocketserver.cc42 return SendTo(pv, cb, GetRemoteAddress()); in Send()
Dvirtualsocketserver.h261 SocketAddress GetRemoteAddress() const override;
Dphysicalsocketserver.cc150 SocketAddress PhysicalSocket::GetRemoteAddress() const { in GetRemoteAddress() function in rtc::PhysicalSocket
405 SocketAddress addr = GetRemoteAddress(); in EstimateMTU()
699 dbg_addr_.append(GetRemoteAddress().ToString()); in OnEvent()
/external/webrtc/webrtc/p2p/base/
Dasyncstuntcpsocket.cc87 rtc::SocketAddress remote_addr(GetRemoteAddress()); in ProcessInput()
Dtcpport.cc257 incoming.addr = new_socket->GetRemoteAddress(); in OnNewConnection()
394 << socket->GetRemoteAddress().ToSensitiveString(); in OnConnect()

12