Home
last modified time | relevance | path

Searched refs:StunByteStringAttribute (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dstun.cc114 const StunByteStringAttribute* StunMessage::GetByteString(int type) const { in GetByteString()
115 return static_cast<const StunByteStringAttribute*>(GetAttribute(type)); in GetByteString()
216 StunByteStringAttribute* msg_integrity_attr = in AddMessageIntegrity()
217 new StunByteStringAttribute(STUN_ATTR_MESSAGE_INTEGRITY, in AddMessageIntegrity()
449 return new StunByteStringAttribute(type, length); in Create()
475 StunByteStringAttribute* StunAttribute::CreateByteString(uint16_t type) { in CreateByteString()
476 return new StunByteStringAttribute(type, 0); in CreateByteString()
693 StunByteStringAttribute::StunByteStringAttribute(uint16_t type) in StunByteStringAttribute() function in cricket::StunByteStringAttribute
697 StunByteStringAttribute::StunByteStringAttribute(uint16_t type, in StunByteStringAttribute() function in cricket::StunByteStringAttribute
703 StunByteStringAttribute::StunByteStringAttribute(uint16_t type, in StunByteStringAttribute() function in cricket::StunByteStringAttribute
[all …]
Dstun.h124 class StunByteStringAttribute; variable
155 const StunByteStringAttribute* GetByteString(int type) const;
241 static StunByteStringAttribute* CreateByteString(uint16_t type);
383 class StunByteStringAttribute : public StunAttribute {
385 explicit StunByteStringAttribute(uint16_t type);
386 StunByteStringAttribute(uint16_t type, const std::string& str);
387 StunByteStringAttribute(uint16_t type, const void* bytes, size_t length);
388 StunByteStringAttribute(uint16_t type, uint16_t length);
389 ~StunByteStringAttribute();
Dstun_unittest.cc603 const StunByteStringAttribute* software = in TEST_F()
608 const StunByteStringAttribute* username = in TEST_F()
631 const StunByteStringAttribute* software = in TEST_F()
654 const StunByteStringAttribute* software = in TEST_F()
677 const StunByteStringAttribute* username = in TEST_F()
682 const StunByteStringAttribute* nonce = in TEST_F()
687 const StunByteStringAttribute* realm = in TEST_F()
982 const StunByteStringAttribute* username = in TEST_F()
995 const StunByteStringAttribute* username = in TEST_F()
1033 const StunByteStringAttribute* username = in TEST_F()
[all …]
Dturnserver.cc280 const StunByteStringAttribute* username_attr = in GetKey()
296 const StunByteStringAttribute* mi_attr = in CheckAuthorization()
298 const StunByteStringAttribute* username_attr = in CheckAuthorization()
300 const StunByteStringAttribute* realm_attr = in CheckAuthorization()
302 const StunByteStringAttribute* nonce_attr = in CheckAuthorization()
467 VERIFY(resp.AddAttribute(new StunByteStringAttribute( in SendErrorResponseWithRealmAndNonce()
469 VERIFY(resp.AddAttribute(new StunByteStringAttribute( in SendErrorResponseWithRealmAndNonce()
490 new StunByteStringAttribute(STUN_ATTR_SOFTWARE, software_))); in SendStun()
616 const StunByteStringAttribute* username_attr = in HandleAllocateRequest()
620 const StunByteStringAttribute* origin_attr = in HandleAllocateRequest()
[all …]
Drelayserver.cc62 StunByteStringAttribute* magic_cookie_attr = in SendStunError()
259 const StunByteStringAttribute* username_attr = in OnExternalPacket()
307 const StunByteStringAttribute* username_attr = in HandleStun()
421 StunByteStringAttribute* magic_cookie_attr = in HandleStunAllocate()
460 const StunByteStringAttribute* data_attr = in HandleStunSend()
494 StunByteStringAttribute* magic_cookie_attr = in HandleStunSend()
604 StunByteStringAttribute* magic_cookie_attr = in Send()
616 StunByteStringAttribute* data_attr = in Send()
Dturnport.cc798 const StunByteStringAttribute* data_attr = in HandleDataIndication()
887 VERIFY(msg->AddAttribute(new StunByteStringAttribute( in AddRequestAuthInfo()
889 VERIFY(msg->AddAttribute(new StunByteStringAttribute( in AddRequestAuthInfo()
891 VERIFY(msg->AddAttribute(new StunByteStringAttribute( in AddRequestAuthInfo()
910 const StunByteStringAttribute* realm_attr = in UpdateNonce()
919 const StunByteStringAttribute* nonce_attr = in UpdateNonce()
1132 const StunByteStringAttribute* realm_attr = in OnAuthChallenge()
1141 const StunByteStringAttribute* nonce_attr = in OnAuthChallenge()
1175 const StunByteStringAttribute* realm_attr = in OnTryAlternate()
1183 const StunByteStringAttribute* nonce_attr = in OnTryAlternate()
[all …]
Drelayserver_unittest.cc149 StunByteStringAttribute* attr = in AddMagicCookieAttr()
155 StunByteStringAttribute* attr = in AddUsernameAttr()
301 const StunByteStringAttribute* recv_data = in TEST_F()
466 StunByteStringAttribute* send_data = in TEST_F()
486 const StunByteStringAttribute* recv_data = in TEST_F()
509 StunByteStringAttribute* data_attr = in TEST_F()
Drelayport.cc577 StunByteStringAttribute* magic_cookie_attr = in SendTo()
583 StunByteStringAttribute* username_attr = in SendTo()
603 StunByteStringAttribute* data_attr = in SendTo()
744 const StunByteStringAttribute* data_attr = msg.GetByteString(STUN_ATTR_DATA); in OnReadPacket()
788 StunByteStringAttribute* username_attr = in Prepare()
Dport.cc443 const StunByteStringAttribute* username_attr = in ParseStunUsername()
534 const StunByteStringAttribute* username_attr = in SendBindingResponse()
685 new StunByteStringAttribute(STUN_ATTR_USERNAME, username)); in Prepare()
705 request->AddAttribute(new StunByteStringAttribute( in Prepare()
978 const StunByteStringAttribute* use_candidate_attr = in HandleBindingRequest()
Dstunrequest.cc167 msg_->AddAttribute(new StunByteStringAttribute(STUN_ATTR_ORIGIN, in Construct()
Dport_unittest.cc297 const cricket::StunByteStringAttribute* mi_attr = in OnUnknownAddress()
714 new StunByteStringAttribute(STUN_ATTR_USERNAME, username)); in CreateStunMessageWithUsername()
1351 const StunByteStringAttribute* username_attr = msg->GetByteString( in TEST_F()
1353 modified_req->AddAttribute(new StunByteStringAttribute( in TEST_F()
1617 const StunByteStringAttribute* username_attr = in TEST_F()
1754 const StunByteStringAttribute* use_candidate_attr = msg->GetByteString( in TEST_F()
Dp2ptransportchannel_unittest.cc1947 request.AddAttribute(new cricket::StunByteStringAttribute( in TEST_F()
2065 request.AddAttribute(new cricket::StunByteStringAttribute( in TEST_F()
2109 new cricket::StunByteStringAttribute(cricket::STUN_ATTR_USE_CANDIDATE)); in TEST_F()
2169 request.AddAttribute(new cricket::StunByteStringAttribute( in TEST_F()
2175 new cricket::StunByteStringAttribute(cricket::STUN_ATTR_USE_CANDIDATE)); in TEST_F()