Searched refs:StunByteStringAttribute (Results 1 – 12 of 12) sorted by relevance
/external/webrtc/webrtc/p2p/base/ |
D | stun.cc | 114 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 …]
|
D | stun.h | 124 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();
|
D | stun_unittest.cc | 603 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 …]
|
D | turnserver.cc | 280 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 …]
|
D | relayserver.cc | 62 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()
|
D | turnport.cc | 798 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 …]
|
D | relayserver_unittest.cc | 149 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()
|
D | relayport.cc | 577 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()
|
D | port.cc | 443 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()
|
D | stunrequest.cc | 167 msg_->AddAttribute(new StunByteStringAttribute(STUN_ATTR_ORIGIN, in Construct()
|
D | port_unittest.cc | 297 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()
|
D | p2ptransportchannel_unittest.cc | 1947 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()
|