Home
last modified time | relevance | path

Searched refs:ext_addr (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/webrtc/examples/relayserver/
Drelayserver_main.cc30 rtc::SocketAddress ext_addr; in main() local
31 if (!ext_addr.FromString(argv[2])) { in main()
47 rtc::AsyncUDPSocket::Create(pthMain->socketserver(), ext_addr)); in main()
50 << ext_addr.ToString() << std::endl; in main()
59 std::cout << "Listening externally at " << ext_addr.ToString() << std::endl; in main()
/external/webrtc/webrtc/examples/turnserver/
Dturnserver_main.cc57 rtc::IPAddress ext_addr; in main() local
58 if (!IPFromString(argv[2], &ext_addr)) { in main()
79 rtc::SocketAddress(ext_addr, 0)); in main()
/external/webrtc/webrtc/p2p/base/
Drelayserver.cc428 rtc::SocketAddress ext_addr = in HandleStunAllocate() local
433 addr_attr->SetIP(ext_addr.ipaddr()); in HandleStunAllocate()
434 addr_attr->SetPort(ext_addr.port()); in HandleStunAllocate()
467 rtc::SocketAddress ext_addr(addr_attr->ipaddr(), addr_attr->port()); in HandleStunSend() local
469 int_conn->binding()->GetExternalConnection(ext_addr); in HandleStunSend()
474 rtc::SocketAddressPair ap(ext_addr, socket->GetLocalAddress()); in HandleStunSend()
487 int_conn->set_default_destination(ext_addr); in HandleStunSend()
708 const rtc::SocketAddress& ext_addr) { in GetInternalConnection() argument
713 (ext_addr == internal_connections_[i]->default_destination())) in GetInternalConnection()
723 const rtc::SocketAddress& ext_addr) { in GetExternalConnection() argument
[all …]
Dturnport.cc96 const rtc::SocketAddress& ext_addr);
115 const rtc::SocketAddress& ext_addr);
137 const rtc::SocketAddress& ext_addr);
807 rtc::SocketAddress ext_addr(addr_attr->GetAddress()); in HandleDataIndication() local
808 if (!HasPermission(ext_addr.ipaddr())) { in HandleDataIndication()
811 << ext_addr.ToSensitiveString(); in HandleDataIndication()
815 DispatchPacket(data_attr->bytes(), data_attr->length(), ext_addr, in HandleDataIndication()
1266 const rtc::SocketAddress& ext_addr) in TurnCreatePermissionRequest() argument
1270 ext_addr_(ext_addr) { in TurnCreatePermissionRequest()
1326 int channel_id, const rtc::SocketAddress& ext_addr) in TurnChannelBindRequest() argument
[all …]
Drelayserver.h151 const rtc::SocketAddress& ext_addr);
212 const rtc::SocketAddress& ext_addr);
214 const rtc::SocketAddress& ext_addr);
Drelayport.cc79 RelayEntry(RelayPort* port, const rtc::SocketAddress& ext_addr);
452 const rtc::SocketAddress& ext_addr) in RelayEntry() argument
453 : port_(port), ext_addr_(ext_addr), in RelayEntry()
/external/webrtc/webrtc/base/
Dnatserver.cc224 const SocketAddress& ext_addr) { in ShouldFilterOut() argument
225 return entry->WhitelistContains(ext_addr); in ShouldFilterOut()
244 bool NATServer::TransEntry::WhitelistContains(const SocketAddress& ext_addr) { in WhitelistContains() argument
246 return whitelist->find(ext_addr) == whitelist->end(); in WhitelistContains()
Dnatserver.h94 bool WhitelistContains(const SocketAddress& ext_addr);
109 bool ShouldFilterOut(TransEntry* entry, const SocketAddress& ext_addr);
Dnatsocketfactory.h95 const SocketAddress& ext_addr);