Home
last modified time | relevance | path

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

/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dport.cc240 talk_base::scoped_ptr<StunMessage> stun_msg(new StunMessage()); in GetStunMessage() local
242 if (!stun_msg->Read(&buf) || (buf.Length() > 0)) { in GetStunMessage()
250 stun_msg->GetByteString(STUN_ATTR_USERNAME); in GetStunMessage()
255 if (stun_msg->type() == STUN_BINDING_REQUEST) { in GetStunMessage()
267 SendBindingErrorResponse(stun_msg.get(), addr, STUN_ERROR_BAD_REQUEST, in GetStunMessage()
274 } else if ((stun_msg->type() == STUN_BINDING_RESPONSE) in GetStunMessage()
275 || (stun_msg->type() == STUN_BINDING_ERROR_RESPONSE)) { in GetStunMessage()
295 if (stun_msg->type() == STUN_BINDING_ERROR_RESPONSE) { in GetStunMessage()
296 if (const StunErrorCodeAttribute* error_code = stun_msg->GetErrorCode()) { in GetStunMessage()
314 << stun_msg->type() << ") from " << addr.ToString(); in GetStunMessage()
[all …]
Dp2ptransportchannel.cc299 Port *port, const talk_base::SocketAddress &address, StunMessage *stun_msg, in OnUnknownAddress() argument
320 port->SendBindingErrorResponse(stun_msg, address, in OnUnknownAddress()
322 delete stun_msg; in OnUnknownAddress()
339 port->SendBindingResponse(stun_msg, address); in OnUnknownAddress()
349 port->SendBindingErrorResponse(stun_msg, address, STUN_ERROR_SERVER_ERROR, in OnUnknownAddress()
353 delete stun_msg; in OnUnknownAddress()
Dp2ptransportchannel.h120 StunMessage *stun_msg,