Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/
Dnat_server.cc127 NATServer::NATServer(NATType type, in NATServer() function in rtc::NATServer
138 &NATServer::OnInternalUDPPacket); in NATServer()
146 NATServer::~NATServer() { in ~NATServer()
158 void NATServer::OnInternalUDPPacket(AsyncPacketSocket* socket, in OnInternalUDPPacket()
184 void NATServer::OnExternalUDPPacket(AsyncPacketSocket* socket, in OnExternalUDPPacket()
214 void NATServer::Translate(const SocketAddressPair& route) { in Translate()
225 socket->SignalReadPacket.connect(this, &NATServer::OnExternalUDPPacket); in Translate()
228 bool NATServer::ShouldFilterOut(TransEntry* entry, in ShouldFilterOut()
233 NATServer::TransEntry::TransEntry(const SocketAddressPair& r, in TransEntry()
240 NATServer::TransEntry::~TransEntry() { in ~TransEntry()
[all …]
Dnat_server.h62 class NATServer : public sigslot::has_slots<> {
64 NATServer(NATType type,
70 ~NATServer() override;
125 RTC_DISALLOW_COPY_AND_ASSIGN(NATServer);
Dnat_unittest.cc76 NATServer* nat = new NATServer(nat_type, internal, server_addr, server_addr, in TestSend()
130 NATServer* nat = new NATServer(nat_type, internal, server_addr, server_addr, in TestRecv()
335 nat_(new NATServer(NAT_OPEN_CONE, in NatTcpTest()
368 std::unique_ptr<NATServer> nat_;
Dnat_socket_factory.h133 std::unique_ptr<NATServer> nat_server_;
Dnat_socket_factory.cc434 nat_server_.reset(new NATServer(type, internal_server, int_ip, int_ip, in Translator()
/external/webrtc/p2p/base/
Dport_unittest.cc552 std::unique_ptr<rtc::NATServer> CreateNatServer(const SocketAddress& addr, in CreateNatServer()
554 return std::make_unique<rtc::NATServer>(type, ss_.get(), addr, addr, in CreateNatServer()
800 std::unique_ptr<rtc::NATServer> nat_server1_;
801 std::unique_ptr<rtc::NATServer> nat_server2_;
2507 std::unique_ptr<rtc::NATServer> nat_server( in TEST_F()
/external/webrtc/p2p/client/
Dbasic_port_allocator_unittest.cc469 nat_server_.reset(new rtc::NATServer( in ResetWithStunServer()
489 std::unique_ptr<rtc::NATServer> nat_server_;