Home
last modified time | relevance | path

Searched refs:int_ip (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/rtc_base/
Dnat_socket_factory.cc370 const SocketAddress& int_ip, in AddTranslator() argument
376 return nats_.Add(ext_ip, new Translator(this, type, int_ip, server_, ext_ip)); in AddTranslator()
424 const SocketAddress& int_ip, in Translator() argument
434 nat_server_.reset(new NATServer(type, internal_server, int_ip, int_ip, in Translator()
447 const SocketAddress& int_ip, in AddTranslator() argument
455 new Translator(server_, type, int_ip, server_, ext_ip)); in AddTranslator()
463 bool NATSocketServer::Translator::AddClient(const SocketAddress& int_ip) { in AddClient() argument
465 if (clients_.find(int_ip) != clients_.end()) in AddClient()
468 clients_.insert(int_ip); in AddClient()
472 void NATSocketServer::Translator::RemoveClient(const SocketAddress& int_ip) { in RemoveClient() argument
[all …]
Dnat_socket_factory.h97 Translator* FindClient(const SocketAddress& int_ip);
120 const SocketAddress& int_ip,
124 bool AddClient(const SocketAddress& int_ip);
125 void RemoveClient(const SocketAddress& int_ip);
128 Translator* FindClient(const SocketAddress& int_ip);
145 const SocketAddress& int_ip,