Home
last modified time | relevance | path

Searched refs:StunMessage (Results 1 – 14 of 14) sorted by relevance

/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dstunserver.cc54 StunMessage msg; in OnPacket()
86 StunMessage* msg, const talk_base::SocketAddress& remote_addr) { in OnBindingRequest()
87 StunMessage response; in OnBindingRequest()
121 StunMessage* msg, const talk_base::SocketAddress& addr) { in OnAllocateRequest()
126 StunMessage* msg, const talk_base::SocketAddress& addr) { in OnSharedSecretRequest()
130 void StunServer::OnSendRequest(StunMessage* msg, in OnSendRequest()
136 const StunMessage& msg, const talk_base::SocketAddress& addr, in SendErrorResponse()
139 StunMessage err_msg; in SendErrorResponse()
153 const StunMessage& msg, const talk_base::SocketAddress& addr) { in SendResponse()
Dstunserver.h53 void OnBindingRequest(StunMessage* msg,
55 void OnAllocateRequest(StunMessage* msg,
57 void OnSharedSecretRequest(StunMessage* msg,
59 void OnSendRequest(StunMessage* msg,
64 const StunMessage& msg, const talk_base::SocketAddress& addr,
68 void SendResponse(const StunMessage& msg,
Dstunrequest.h61 bool CheckResponse(StunMessage* msg);
81 StunRequest(StunMessage* request);
108 virtual void Prepare(StunMessage* request) {} in Prepare()
111 virtual void OnResponse(StunMessage* response) {} in OnResponse()
112 virtual void OnErrorResponse(StunMessage* response) {} in OnErrorResponse()
119 StunMessage* msg_;
Dstun.cc49 StunMessage::StunMessage() : type_(0), length_(0), in StunMessage() function in cricket::StunMessage
55 StunMessage::~StunMessage() { in ~StunMessage()
61 void StunMessage::SetTransactionID(const std::string& str) { in SetTransactionID()
66 void StunMessage::AddAttribute(StunAttribute* attr) { in AddAttribute()
72 StunMessage::GetAddress(StunAttributeType type) const { in GetAddress()
91 StunMessage::GetUInt32(StunAttributeType type) const { in GetUInt32()
106 StunMessage::GetByteString(StunAttributeType type) const { in GetByteString()
121 const StunErrorCodeAttribute* StunMessage::GetErrorCode() const { in GetErrorCode()
126 const StunUInt16ListAttribute* StunMessage::GetUnknownAttributes() const { in GetUnknownAttributes()
131 const StunTransportPrefsAttribute* StunMessage::GetTransportPrefs() const { in GetTransportPrefs()
[all …]
Drelayserver.cc64 void SendStun(const StunMessage& msg, in SendStun()
73 void SendStunError(const StunMessage& msg, talk_base::AsyncPacketSocket* socket, in SendStunError()
76 StunMessage err_msg; in SendStunError()
268 StunMessage msg; in OnExternalPacket()
315 StunMessage* msg) { in HandleStun()
346 StunMessage request; in HandleStunAllocate()
406 StunMessage request; in HandleStun()
430 RelayServerConnection* int_conn, const StunMessage& request) { in HandleStunAllocate()
435 StunMessage response; in HandleStunAllocate()
472 RelayServerConnection* int_conn, const StunMessage& request) { in HandleStunSend()
[all …]
Dport.cc206 StunMessage* msg; in OnReadPacket()
229 StunMessage** out_msg, std::string* out_username) { in GetStunMessage()
240 talk_base::scoped_ptr<StunMessage> stun_msg(new StunMessage()); in GetStunMessage()
323 void Port::SendBindingResponse(StunMessage* request, in SendBindingResponse()
337 StunMessage response; in SendBindingResponse()
370 void Port::SendBindingErrorResponse(StunMessage* request, in SendBindingErrorResponse()
386 StunMessage response; in SendBindingErrorResponse()
472 virtual void Prepare(StunMessage* request) { in Prepare()
482 virtual void OnResponse(StunMessage* response) { in OnResponse()
486 virtual void OnErrorResponse(StunMessage* response) { in OnErrorResponse()
[all …]
Drelayserver.h117 std::string* username, StunMessage* msg);
124 const StunMessage& msg);
125 void HandleStunSend(RelayServerConnection* int_conn, const StunMessage& msg);
168 void SendStun(const StunMessage& msg);
169 void SendStunError(const StunMessage& request, int code, const char* desc);
Dport.h163 sigslot::signal4<Port*, const talk_base::SocketAddress&, StunMessage*,
169 void SendBindingResponse(StunMessage* request,
172 StunMessage* request, const talk_base::SocketAddress& addr,
237 StunMessage** out_msg, std::string* out_username);
370 StunMessage* response);
372 StunMessage* response);
Dstunrequest.cc85 bool StunRequestManager::CheckResponse(StunMessage* msg) { in CheckResponse()
122 StunMessage msg; in CheckResponse()
131 id_(talk_base::CreateRandomString(16)), msg_(new StunMessage()), in StunRequest()
136 StunRequest::StunRequest(StunMessage* request) in StunRequest()
Drelayport.cc67 bool CheckResponse(StunMessage* msg);
172 virtual void Prepare(StunMessage* request);
176 virtual void OnResponse(StunMessage* response);
177 virtual void OnErrorResponse(StunMessage* response);
396 bool RelayConnection::CheckResponse(StunMessage* msg) { in CheckResponse()
536 StunMessage request; in SendTo()
668 StunMessage msg; in OnReadPacket()
731 void AllocateRequest::Prepare(StunMessage* request) { in Prepare()
757 void AllocateRequest::OnResponse(StunMessage* response) { in OnResponse()
774 void AllocateRequest::OnErrorResponse(StunMessage* response) { in OnErrorResponse()
Dstunport.cc57 virtual void Prepare(StunMessage* request) { in Prepare()
61 virtual void OnResponse(StunMessage* response) { in OnResponse()
82 virtual void OnErrorResponse(StunMessage* response) { in OnErrorResponse()
Dstun.h118 class StunMessage {
120 StunMessage();
121 ~StunMessage();
Dp2ptransportchannel.h120 StunMessage *stun_msg,
Dp2ptransportchannel.cc299 Port *port, const talk_base::SocketAddress &address, StunMessage *stun_msg, in OnUnknownAddress()