/external/webrtc/webrtc/base/ |
D | socket_unittest.cc | 201 EXPECT_PRED1(IsUnspecOrEmptyIP, client->GetLocalAddress().ipaddr()); in ConnectInternal() 217 EXPECT_EQ(0, client->Connect(server->GetLocalAddress())); in ConnectInternal() 218 EXPECT_FALSE(client->GetLocalAddress().IsNil()); in ConnectInternal() 219 EXPECT_NE(server->GetLocalAddress(), client->GetLocalAddress()); in ConnectInternal() 235 EXPECT_EQ(server->GetLocalAddress(), accepted->GetLocalAddress()); 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() 264 SocketAddress dns_addr(server->GetLocalAddress()); in ConnectWithDnsLookupInternal() 284 EXPECT_EQ(server->GetLocalAddress(), accepted->GetLocalAddress()); in ConnectWithDnsLookupInternal() [all …]
|
D | virtualsocket_unittest.cc | 172 SocketAddress client1_any_addr = socket->GetLocalAddress(); in TestDefaultRoute() 180 SocketAddress client2_addr = socket2->GetLocalAddress(); in TestDefaultRoute() 201 SocketAddress server_addr = socket->GetLocalAddress(); in BasicTest() 250 EXPECT_TRUE(client->GetLocalAddress().IsNil()); in ConnectTest() 258 EXPECT_EQ(server->GetLocalAddress().family(), initial_addr.family()); in ConnectTest() 268 EXPECT_EQ(0, client->Connect(server->GetLocalAddress())); in ConnectTest() 269 EXPECT_NE(client->GetLocalAddress(), kEmptyAddr); // Implicit Bind in ConnectTest() 270 EXPECT_NE(AF_UNSPEC, client->GetLocalAddress().family()); // Implicit Bind in ConnectTest() 271 EXPECT_NE(client->GetLocalAddress(), server->GetLocalAddress()); in ConnectTest() 293 EXPECT_EQ(accepted->GetLocalAddress(), server->GetLocalAddress()); in ConnectTest() [all …]
|
D | firewallsocketserver.cc | 30 if (!server_->Check(FP_TCP, GetLocalAddress(), addr)) { in Connect() 32 << GetLocalAddress().ToSensitiveString() << " to " in Connect() 46 if (!server_->Check(FP_UDP, GetLocalAddress(), addr)) { in SendTo() 48 << GetLocalAddress().ToSensitiveString() << " to " in SendTo() 65 if (server_->Check(FP_UDP, *paddr, GetLocalAddress())) in RecvFrom() 69 << GetLocalAddress().ToSensitiveString() << " dropped"; in RecvFrom() 86 if (server_->Check(FP_TCP, addr, GetLocalAddress())) { in Accept() 95 << GetLocalAddress().ToSensitiveString() << " denied"; in Accept()
|
D | physicalsocketserver_unittest.cc | 135 EXPECT_PRED1(IsUnspecOrEmptyIP, client1->GetLocalAddress().ipaddr()); in ConnectInternalAcceptError() 141 EXPECT_PRED1(IsUnspecOrEmptyIP, client2->GetLocalAddress().ipaddr()); in ConnectInternalAcceptError() 157 EXPECT_EQ(0, client1->Connect(server->GetLocalAddress())); in ConnectInternalAcceptError() 158 EXPECT_FALSE(client1->GetLocalAddress().IsNil()); in ConnectInternalAcceptError() 159 EXPECT_NE(server->GetLocalAddress(), client1->GetLocalAddress()); in ConnectInternalAcceptError() 180 EXPECT_EQ(0, client2->Connect(server->GetLocalAddress())); in ConnectInternalAcceptError() 181 EXPECT_FALSE(client2->GetLocalAddress().IsNil()); in ConnectInternalAcceptError() 182 EXPECT_NE(server->GetLocalAddress(), client2->GetLocalAddress()); in ConnectInternalAcceptError()
|
D | asyncudpsocket.cc | 53 SocketAddress AsyncUDPSocket::GetLocalAddress() const { in GetLocalAddress() function in rtc::AsyncUDPSocket 54 return socket_->GetLocalAddress(); in GetLocalAddress() 112 SocketAddress local_addr = socket_->GetLocalAddress(); in OnReadEvent()
|
D | asyncsocket.cc | 41 SocketAddress AsyncSocketAdapter::GetLocalAddress() const { in GetLocalAddress() function in rtc::AsyncSocketAdapter 42 return socket_->GetLocalAddress(); in GetLocalAddress()
|
D | ssladapter_unittest.cc | 62 return ssl_adapter_->GetLocalAddress(); in GetAddress() 149 << " server listening on " << server_socket_->GetLocalAddress(); in SSLAdapterTestDummyServer() 153 return server_socket_->GetLocalAddress(); in GetAddress()
|
D | virtualsocketserver.cc | 125 SocketAddress VirtualSocket::GetLocalAddress() const { in GetLocalAddress() function in rtc::VirtualSocket 423 SignalAddressReady(this, GetLocalAddress()); in OnMessage() 739 << socket->GetLocalAddress() << " and " << remote_addr; in Connect() 743 SocketAddress addr = socket->GetLocalAddress(); in Connect() 779 << socket->GetLocalAddress() << " and " << remote_addr; in SendUdp() 788 << socket->GetLocalAddress() << " and " << remote_addr; in SendUdp() 1077 IPAddress local_ip = local->GetLocalAddress().ipaddr(); in CanInteractWith() 1078 IPAddress remote_ip = remote->GetLocalAddress().ipaddr(); in CanInteractWith()
|
D | asyncudpsocket.h | 36 SocketAddress GetLocalAddress() const override;
|
D | asynctcpsocket.cc | 81 SocketAddress AsyncTCPSocketBase::GetLocalAddress() const { in GetLocalAddress() function in rtc::AsyncTCPSocketBase 82 return socket_->GetLocalAddress(); in GetLocalAddress()
|
D | natserver.cc | 183 SocketAddress local_addr = socket->GetLocalAddress(); in OnExternalUDPPacket() 219 (*ext_map_)[socket->GetLocalAddress()] = entry; in Translate()
|
D | testclient.h | 43 SocketAddress address() const { return socket_->GetLocalAddress(); } in address()
|
D | nat_unittest.cc | 192 int sent = client->SendTo(buf, len, server->GetLocalAddress()); in TestConnectivity() 372 EXPECT_GE(0, client_->Connect(server_->GetLocalAddress())); in TEST_F() 377 EXPECT_EQ(client_->GetRemoteAddress(), server_->GetLocalAddress()); in TEST_F()
|
D | testechoserver.h | 40 SocketAddress address() const { return server_socket_->GetLocalAddress(); } in address()
|
D | macasyncsocket.h | 36 SocketAddress GetLocalAddress() const override;
|
D | natserver.h | 70 return udp_server_socket_->GetLocalAddress(); in internal_udp_address()
|
D | asyncsocket.h | 53 SocketAddress GetLocalAddress() const override;
|
D | asyncpacketsocket.h | 82 virtual SocketAddress GetLocalAddress() const = 0;
|
D | asynctcpsocket.h | 35 SocketAddress GetLocalAddress() const override;
|
/external/webrtc/webrtc/p2p/base/ |
D | tcpport.cc | 178 AddAddress(socket_->GetLocalAddress(), socket_->GetLocalAddress(), in PrepareAddress() 321 << "socket ipaddr: " << socket_->GetLocalAddress().ToString() in TCPConnection() 323 ASSERT(socket_->GetLocalAddress().ipaddr() == port->ip()); in TCPConnection() 390 const rtc::IPAddress& socket_ip = socket->GetLocalAddress().ipaddr(); in OnConnect() 397 << socket->GetLocalAddress().ipaddr().ToString() in OnConnect() 494 << "Connecting from " << socket_->GetLocalAddress().ToSensitiveString() in CreateOutgoingTcpSocket()
|
D | stunport.cc | 97 << port_->GetLocalAddress().ToSensitiveString() in OnTimeout() 174 socket->GetLocalAddress().ipaddr(), in UDPPort() 240 OnLocalAddressReady(socket_, socket_->GetLocalAddress()); in PrepareAddress() 441 if ((!SharedSocket() || stun_reflected_addr != socket_->GetLocalAddress()) && in OnStunBindingRequestSucceeded() 444 rtc::SocketAddress related_address = socket_->GetLocalAddress(); in OnStunBindingRequestSucceeded() 454 AddAddress(stun_reflected_addr, socket_->GetLocalAddress(), related_address, in OnStunBindingRequestSucceeded()
|
D | turnport_unittest.cc | 152 ss_->LookupBinding(socket->GetLocalAddress()); in ConnectSignalAddressReadyToSetLocalhostAsAltenertativeLocalAddress() 615 rtc::SocketAddress first_addr(turn_port_->socket()->GetLocalAddress()); in TEST_F() 629 EXPECT_EQ(first_addr, turn_port_->socket()->GetLocalAddress()); in TEST_F() 634 EXPECT_NE(first_addr, turn_port_->socket()->GetLocalAddress()); in TEST_F() 644 rtc::SocketAddress first_addr(turn_port_->socket()->GetLocalAddress()); in TEST_F() 654 EXPECT_EQ(first_addr, turn_port_->socket()->GetLocalAddress()); in TEST_F() 661 EXPECT_NE(first_addr, turn_port_->socket()->GetLocalAddress()); in TEST_F() 672 rtc::SocketAddress first_addr(turn_port_->socket()->GetLocalAddress()); in TEST_F() 686 EXPECT_EQ(first_addr, turn_port_->socket()->GetLocalAddress()); in TEST_F() 691 EXPECT_NE(first_addr, turn_port_->socket()->GetLocalAddress()); in TEST_F() [all …]
|
D | turnport.cc | 195 socket->GetLocalAddress().ipaddr(), in TurnPort() 269 rtc::SocketAddress TurnPort::GetLocalAddress() const { in GetLocalAddress() function in cricket::TurnPort 270 return socket_ ? socket_->GetLocalAddress() : rtc::SocketAddress(); in GetLocalAddress() 379 if (socket->GetLocalAddress().ipaddr() != ip()) { in OnSocketConnect() 380 if (socket->GetLocalAddress().IsLoopbackIP()) { in OnSocketConnect() 382 << socket->GetLocalAddress().ipaddr().ToString() in OnSocketConnect() 387 << socket->GetLocalAddress().ipaddr().ToString() in OnSocketConnect() 393 << socket->GetLocalAddress().ipaddr().ToString() in OnSocketConnect()
|
D | stunport.h | 70 rtc::SocketAddress GetLocalAddress() const { in GetLocalAddress() function 71 return socket_->GetLocalAddress(); in GetLocalAddress()
|
D | relayserver.cc | 187 rtc::SocketAddressPair ap(remote_addr, socket->GetLocalAddress()); in OnInternalPacket() 232 rtc::SocketAddressPair ap(remote_addr, socket->GetLocalAddress()); in OnExternalPacket() 429 external_sockets_[index]->GetLocalAddress(); in HandleStunAllocate() 474 rtc::SocketAddressPair ap(ext_addr, socket->GetLocalAddress()); in HandleStunSend()
|