Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dsocketaddresspair.cc15 SocketAddressPair::SocketAddressPair( in SocketAddressPair() function in rtc::SocketAddressPair
21 bool SocketAddressPair::operator ==(const SocketAddressPair& p) const { in operator ==()
25 bool SocketAddressPair::operator <(const SocketAddressPair& p) const { in operator <()
37 size_t SocketAddressPair::Hash() const { in Hash()
Dsocketaddresspair.h21 class SocketAddressPair {
23 SocketAddressPair() {} in SocketAddressPair() function
24 SocketAddressPair(const SocketAddress& srs, const SocketAddress& dest);
29 bool operator ==(const SocketAddressPair& r) const;
30 bool operator <(const SocketAddressPair& r) const;
Dnatserver.h31 size_t operator()(const SocketAddressPair& r) const;
33 const SocketAddressPair& r1, const SocketAddressPair& r2) const;
90 TransEntry(const SocketAddressPair& r, AsyncUDPSocket* s, NAT* nat);
96 SocketAddressPair route;
102 typedef std::map<SocketAddressPair, TransEntry*, RouteCmp> InternalMap;
106 void Translate(const SocketAddressPair& route);
Dnatserver.cc21 size_t RouteCmp::operator()(const SocketAddressPair& r) const { in operator ()()
29 const SocketAddressPair& r1, const SocketAddressPair& r2) const { in operator ()()
164 SocketAddressPair route(addr, dest_addr); in OnInternalUDPPacket()
209 void NATServer::Translate(const SocketAddressPair& route) { in Translate()
229 const SocketAddressPair& r, AsyncUDPSocket* s, NAT* nat) in TransEntry()
Dvirtualsocketserver.h26 class SocketAddressPair; variable
223 typedef std::map<SocketAddressPair, VirtualSocket*> ConnectionMap;
Dvirtualsocketserver.cc701 SocketAddressPair address_pair(local_normalized, remote_normalized); in AddConnection()
702 connections_->insert(std::pair<SocketAddressPair, in AddConnection()
713 SocketAddressPair address_pair(local_normalized, remote_normalized); in LookupConnection()
724 SocketAddressPair address_pair(local_normalized, remote_normalized); in RemoveConnection()
/external/webrtc/webrtc/p2p/base/
Drelayserver.h67 rtc::SocketAddressPair GetConnection(int connection) const;
75 typedef std::map<rtc::SocketAddressPair,
105 const rtc::SocketAddressPair& ap,
136 const rtc::SocketAddressPair& addrs,
145 const rtc::SocketAddressPair& addr_pair() { return addr_pair_; } in addr_pair()
174 rtc::SocketAddressPair addr_pair_;
Drelayserver.cc154 rtc::SocketAddressPair RelayServer::GetConnection(int connection) const { in GetConnection()
163 return rtc::SocketAddressPair(); in GetConnection()
187 rtc::SocketAddressPair ap(remote_addr, socket->GetLocalAddress()); in OnInternalPacket()
232 rtc::SocketAddressPair ap(remote_addr, socket->GetLocalAddress()); in OnExternalPacket()
324 const char* bytes, size_t size, const rtc::SocketAddressPair& ap, in HandleStunAllocate()
474 rtc::SocketAddressPair ap(ext_addr, socket->GetLocalAddress()); in HandleStunSend()
572 RelayServerBinding* binding, const rtc::SocketAddressPair& addrs, in RelayServerConnection()
Dtestrelayserver.h47 rtc::SocketAddressPair GetConnection(int connection) const { in GetConnection()