Home
last modified time | relevance | path

Searched refs:local_address (Results 1 – 10 of 10) 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/grpc-grpc/src/core/lib/iomgr/
Dtcp_client_windows.cc134 grpc_resolved_address local_address; in tcp_connect() local
174 grpc_sockaddr_make_wildcard6(0, &local_address); in tcp_connect()
177 bind(sock, (grpc_sockaddr*)&local_address.addr, (int)local_address.len); in tcp_connect()
/external/grpc-grpc/src/ruby/end2end/
Dend2end_common.rb74 client_control_port = tmp_server.local_address.ip_port
/external/python/cpython3/Lib/asyncio/
Dbase_events.py1213 (local_address, remote_address)) in addr_pairs_info:
1230 sock.bind(local_address)
/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()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py1394 local_address = ('127.0.0.1', 0)
1397 *local_address, type=socket.SOCK_DGRAM))