Home
last modified time | relevance | path

Searched refs:int_addr (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/examples/turnserver/
Dturnserver_main.cc60 rtc::SocketAddress int_addr; in main() local
61 if (!int_addr.FromString(argv[1])) { in main()
74 rtc::AsyncUDPSocket::Create(main->socketserver(), int_addr); in main()
76 std::cerr << "Failed to create a UDP socket bound at" << int_addr.ToString() in main()
94 std::cout << "Listening internally at " << int_addr.ToString() << std::endl; in main()
/external/webrtc/rtc_base/
Dnat_unittest.cc223 void TestPhysicalInternal(const SocketAddress& int_addr) { in TestPhysicalInternal() argument
242 SocketAddress ext_addr1(int_addr); in TestPhysicalInternal()
249 if (ip.family() == int_addr.family() && TestConnectivity(int_addr, ip)) { in TestPhysicalInternal()
256 << int_addr.ToString(); in TestPhysicalInternal()
269 TestBindings(int_pss.get(), int_addr, ext_pss.get(), ext_addrs); in TestPhysicalInternal()
270 TestFilters(int_pss.get(), int_addr, ext_pss.get(), ext_addrs); in TestPhysicalInternal()
301 SocketAddress int_addr; in TestVirtualInternal() local
303 int_addr.SetIP(int_vss->GetNextIP(family)); in TestVirtualInternal()
304 ext_addrs[0].SetIP(ext_vss->GetNextIP(int_addr.family())); in TestVirtualInternal()
305 ext_addrs[1].SetIP(ext_vss->GetNextIP(int_addr.family())); in TestVirtualInternal()
[all …]
Dproxy_server.cc24 const SocketAddress& int_addr, in ProxyServer() argument
30 int_factory->CreateAsyncSocket(int_addr.family(), SOCK_STREAM)) { in ProxyServer()
32 RTC_DCHECK(int_addr.family() == AF_INET || int_addr.family() == AF_INET6); in ProxyServer()
33 server_socket_->Bind(int_addr); in ProxyServer()
Dproxy_server.h68 const SocketAddress& int_addr,
92 const SocketAddress& int_addr, in SocksProxyServer() argument
95 : ProxyServer(int_factory, int_addr, ext_factory, ext_ip) {} in SocksProxyServer()
Dnat_server.cc116 const SocketAddress& int_addr, in NATProxyServer() argument
119 : ProxyServer(int_factory, int_addr, ext_factory, ext_ip) {} in NATProxyServer()
Dnat_socket_factory.h105 const SocketAddress& int_addr,
/external/webrtc/p2p/base/
Dtest_turn_server.h54 const rtc::SocketAddress& int_addr,
60 AddInternalSocket(int_addr, int_protocol, ignore_bad_cert, common_name); in server_()
90 void AddInternalSocket(const rtc::SocketAddress& int_addr,
97 rtc::AsyncUDPSocket::Create(thread_->socketserver(), int_addr),
116 socket->Bind(int_addr);