Searched defs:local_address (Results 1 - 2 of 2) sorted by relevance

/external/webrtc/webrtc/p2p/base/
H A Dbasicpacketsocketfactory.cc67 const SocketAddress& local_address,
78 socket_factory()->CreateAsyncSocket(local_address.family(),
84 if (BindSocket(socket, local_address, min_port, max_port) < 0) {
108 const SocketAddress& local_address, const SocketAddress& remote_address,
112 socket_factory()->CreateAsyncSocket(local_address.family(), SOCK_STREAM);
117 if (BindSocket(socket, local_address, 0, 0) < 0) {
183 const SocketAddress& local_address,
189 ret = socket->Bind(local_address);
193 ret = socket->Bind(rtc::SocketAddress(local_address.ipaddr(),
66 CreateServerTcpSocket( const SocketAddress& local_address, uint16_t min_port, uint16_t max_port, int opts) argument
107 CreateClientTcpSocket( const SocketAddress& local_address, const SocketAddress& remote_address, const ProxyInfo& proxy_info, const std::string& user_agent, int opts) argument
182 BindSocket(AsyncSocket* socket, const SocketAddress& local_address, uint16_t min_port, uint16_t max_port) argument
H A Dturnport_unittest.cc160 SocketAddress local_address("127.0.0.1", 2000);
161 socket->SetAlternativeLocalAddress(local_address);
217 void CreateTurnPort(const rtc::SocketAddress& local_address, argument
223 local_address.ipaddr(), 0, 0,
234 void CreateTurnPortWithOrigin(const rtc::SocketAddress& local_address, argument
241 local_address.ipaddr(), 0, 0,
926 SocketAddress local_address = turn_port_->GetLocalAddress(); local
927 ASSERT_TRUE(turn_server_.FindAllocation(local_address) != NULL);
928 EXPECT_EQ(kTestOrigin, turn_server_.FindAllocation(local_address)->origin());

Completed in 256 milliseconds