Lines Matching refs:TurnServerConnection
45 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,
274 void HandleBindingRequest(TurnServerConnection* conn, const StunMessage* msg);
275 void HandleAllocateRequest(TurnServerConnection* conn,
280 bool CheckAuthorization(TurnServerConnection* conn,
287 TurnServerAllocation* FindAllocation(TurnServerConnection* conn);
288 TurnServerAllocation* CreateAllocation(TurnServerConnection* conn,
292 void SendErrorResponse(TurnServerConnection* conn,
297 void SendErrorResponseWithRealmAndNonce(TurnServerConnection* conn,
302 void SendErrorResponseWithAlternateServer(TurnServerConnection* conn,
306 void SendStun(TurnServerConnection* conn, StunMessage* msg);
307 void Send(TurnServerConnection* conn, const rtc::ByteBufferWriter& buf);