Home
last modified time | relevance | path

Searched refs:local_address (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dbasicpacketsocketfactory.cc67 const SocketAddress& local_address, in CreateServerTcpSocket() argument
78 socket_factory()->CreateAsyncSocket(local_address.family(), in CreateServerTcpSocket()
84 if (BindSocket(socket, local_address, min_port, max_port) < 0) { in CreateServerTcpSocket()
108 const SocketAddress& local_address, const SocketAddress& remote_address, in CreateClientTcpSocket() argument
112 socket_factory()->CreateAsyncSocket(local_address.family(), SOCK_STREAM); in CreateClientTcpSocket()
117 if (BindSocket(socket, local_address, 0, 0) < 0) { in CreateClientTcpSocket()
183 const SocketAddress& local_address, in BindSocket() argument
189 ret = socket->Bind(local_address); in BindSocket()
193 ret = socket->Bind(rtc::SocketAddress(local_address.ipaddr(), in BindSocket()
Dbasicpacketsocketfactory.h29 AsyncPacketSocket* CreateUdpSocket(const SocketAddress& local_address,
32 AsyncPacketSocket* CreateServerTcpSocket(const SocketAddress& local_address,
36 AsyncPacketSocket* CreateClientTcpSocket(const SocketAddress& local_address,
46 const SocketAddress& local_address,
Dpacketsocketfactory.h36 const SocketAddress& local_address,
44 const SocketAddress& local_address,
Dturnport_unittest.cc160 SocketAddress local_address("127.0.0.1", 2000); in SetLocalhostAsAltenertativeLocalAddress() local
161 socket->SetAlternativeLocalAddress(local_address); in SetLocalhostAsAltenertativeLocalAddress()
217 void CreateTurnPort(const rtc::SocketAddress& local_address, in CreateTurnPort() argument
223 local_address.ipaddr(), 0, 0, in CreateTurnPort()
234 void CreateTurnPortWithOrigin(const rtc::SocketAddress& local_address, in CreateTurnPortWithOrigin() argument
241 local_address.ipaddr(), 0, 0, in CreateTurnPortWithOrigin()
926 SocketAddress local_address = turn_port_->GetLocalAddress(); in TEST_F() local
927 ASSERT_TRUE(turn_server_.FindAllocation(local_address) != NULL); in TEST_F()
928 EXPECT_EQ(kTestOrigin, turn_server_.FindAllocation(local_address)->origin()); in TEST_F()
Dport_unittest.cc928 AsyncPacketSocket* CreateServerTcpSocket(const SocketAddress& local_address, in CreateServerTcpSocket() argument
940 AsyncPacketSocket* CreateClientTcpSocket(const SocketAddress& local_address, in CreateClientTcpSocket() argument
/external/webrtc/talk/app/webrtc/
Dstatscollector_unittest.cc1242 rtc::SocketAddress local_address(local_ip, local_port); in TEST_F() local
1251 c.set_address(local_address); in TEST_F()