Home
last modified time | relevance | path

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

/external/webrtc/p2p/base/
Dport.cc452 std::unique_ptr<IceMessage> stun_msg(new IceMessage()); in GetStunMessage() local
454 if (!stun_msg->Read(&buf) || (buf.Length() > 0)) { in GetStunMessage()
462 stun_msg->GetNonComprehendedAttributes(); in GetStunMessage()
464 if (stun_msg->type() == STUN_BINDING_REQUEST) { in GetStunMessage()
467 if (!stun_msg->GetByteString(STUN_ATTR_USERNAME) || in GetStunMessage()
468 !stun_msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY)) { in GetStunMessage()
470 << StunMethodToString(stun_msg->type()) in GetStunMessage()
473 SendBindingErrorResponse(stun_msg.get(), addr, STUN_ERROR_BAD_REQUEST, in GetStunMessage()
481 if (!ParseStunUsername(stun_msg.get(), &local_ufrag, &remote_ufrag) || in GetStunMessage()
484 << StunMethodToString(stun_msg->type()) in GetStunMessage()
[all …]
Dport.h327 bool ParseStunUsername(const StunMessage* stun_msg,
334 IceMessage* stun_msg,
Dp2p_transport_channel.cc946 IceMessage* stun_msg, in OnUnknownAddress() argument
1002 stun_msg->GetUInt32(STUN_ATTR_PRIORITY); in OnUnknownAddress()
1007 port->SendBindingErrorResponse(stun_msg, address, STUN_ERROR_BAD_REQUEST, in OnUnknownAddress()
1016 stun_msg->GetUInt32(STUN_ATTR_NETWORK_INFO); in OnUnknownAddress()
1059 port->SendBindingErrorResponse(stun_msg, address, STUN_ERROR_SERVER_ERROR, in OnUnknownAddress()
1070 port->SendBindingErrorResponse(stun_msg, address, STUN_ERROR_SERVER_ERROR, in OnUnknownAddress()
1080 connection->HandleStunBindingOrGoogPingRequest(stun_msg); in OnUnknownAddress()
Dp2p_transport_channel.h271 IceMessage* stun_msg,
/external/webrtc/test/fuzzers/
Dstun_parser_fuzzer.cc24 std::unique_ptr<cricket::IceMessage> stun_msg(new cricket::IceMessage()); in FuzzOneInput() local
26 stun_msg->Read(&buf); in FuzzOneInput()