Home
last modified time | relevance | path

Searched refs:TurnServerConnection (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/p2p/base/
Dturn_server_unittest.cc26 void ExpectEqual(const TurnServerConnection& a, in ExpectEqual()
27 const TurnServerConnection& b) { in ExpectEqual()
33 void ExpectNotEqual(const TurnServerConnection& a, in ExpectNotEqual()
34 const TurnServerConnection& b) { in ExpectNotEqual()
54 TurnServerConnection connection1(socket2->GetLocalAddress(), PROTO_UDP, in TEST_F()
56 TurnServerConnection connection2(socket2->GetLocalAddress(), PROTO_UDP, in TEST_F()
58 TurnServerConnection connection3(socket1->GetLocalAddress(), PROTO_UDP, in TEST_F()
60 TurnServerConnection connection4(socket2->GetLocalAddress(), PROTO_TCP, in TEST_F()
Dturn_server.h45 class TurnServerConnection {
47 TurnServerConnection() : proto_(PROTO_UDP), socket_(NULL) {} in TurnServerConnection() function
48 TurnServerConnection(const rtc::SocketAddress& src,
53 bool operator==(const TurnServerConnection& t) const;
54 bool operator<(const TurnServerConnection& t) const;
74 const TurnServerConnection& conn,
79 TurnServerConnection* conn() { return &conn_; } in conn()
134 TurnServerConnection conn_;
178 typedef std::map<TurnServerConnection, std::unique_ptr<TurnServerAllocation>>
271 void HandleStunMessage(TurnServerConnection* conn,
[all …]
Dturn_server.cc212 TurnServerConnection conn(addr, iter->second, socket); in OnInternalPacket()
229 void TurnServer::HandleStunMessage(TurnServerConnection* conn, in HandleStunMessage()
309 bool TurnServer::CheckAuthorization(TurnServerConnection* conn, in CheckAuthorization()
371 void TurnServer::HandleBindingRequest(TurnServerConnection* conn, in HandleBindingRequest()
385 void TurnServer::HandleAllocateRequest(TurnServerConnection* conn, in HandleAllocateRequest()
455 TurnServerAllocation* TurnServer::FindAllocation(TurnServerConnection* conn) { in FindAllocation()
461 TurnServerAllocation* TurnServer::CreateAllocation(TurnServerConnection* conn, in CreateAllocation()
481 void TurnServer::SendErrorResponse(TurnServerConnection* conn, in SendErrorResponse()
493 void TurnServer::SendErrorResponseWithRealmAndNonce(TurnServerConnection* conn, in SendErrorResponseWithRealmAndNonce()
514 TurnServerConnection* conn, in SendErrorResponseWithAlternateServer()
[all …]