Searched refs:StunByteStringAttribute (Results 1 – 11 of 11) sorted by relevance
/external/webrtc/api/transport/ |
D | stun.cc | 181 const StunByteStringAttribute* StunMessage::GetByteString(int type) const { in GetByteString() 182 return static_cast<const StunByteStringAttribute*>(GetAttribute(type)); in GetByteString() 329 auto msg_integrity_attr_ptr = std::make_unique<StunByteStringAttribute>( in AddMessageIntegrityOfType() 667 return new StunByteStringAttribute(type, length); in Create() 697 std::unique_ptr<StunByteStringAttribute> StunAttribute::CreateByteString( in CreateByteString() 699 return std::make_unique<StunByteStringAttribute>(type, 0); in CreateByteString() 936 StunByteStringAttribute::StunByteStringAttribute(uint16_t type) in StunByteStringAttribute() function in cricket::StunByteStringAttribute 939 StunByteStringAttribute::StunByteStringAttribute(uint16_t type, in StunByteStringAttribute() function in cricket::StunByteStringAttribute 945 StunByteStringAttribute::StunByteStringAttribute(uint16_t type, in StunByteStringAttribute() function in cricket::StunByteStringAttribute 952 StunByteStringAttribute::StunByteStringAttribute(uint16_t type, uint16_t length) in StunByteStringAttribute() function in cricket::StunByteStringAttribute [all …]
|
D | stun.h | 134 class StunByteStringAttribute; variable 174 const StunByteStringAttribute* GetByteString(int type) const; 307 static std::unique_ptr<StunByteStringAttribute> CreateByteString( 442 class StunByteStringAttribute : public StunAttribute { 444 explicit StunByteStringAttribute(uint16_t type); 445 StunByteStringAttribute(uint16_t type, const std::string& str); 446 StunByteStringAttribute(uint16_t type, const void* bytes, size_t length); 447 StunByteStringAttribute(uint16_t type, uint16_t length); 448 ~StunByteStringAttribute() override;
|
D | stun_unittest.cc | 665 const StunByteStringAttribute* software = in TEST_F() 670 const StunByteStringAttribute* username = in TEST_F() 692 const StunByteStringAttribute* software = in TEST_F() 715 const StunByteStringAttribute* software = in TEST_F() 738 const StunByteStringAttribute* username = in TEST_F() 743 const StunByteStringAttribute* nonce = msg.GetByteString(STUN_ATTR_NONCE); in TEST_F() 747 const StunByteStringAttribute* realm = msg.GetByteString(STUN_ATTR_REALM); in TEST_F() 1034 const StunByteStringAttribute* username = in TEST_F() 1047 const StunByteStringAttribute* username = in TEST_F() 1094 const StunByteStringAttribute* username = in TEST_F() [all …]
|
/external/webrtc/p2p/base/ |
D | turn_server.cc | 299 const StunByteStringAttribute* username_attr = in GetKey() 317 const StunByteStringAttribute* mi_attr = in CheckAuthorization() 319 const StunByteStringAttribute* username_attr = in CheckAuthorization() 321 const StunByteStringAttribute* realm_attr = in CheckAuthorization() 323 const StunByteStringAttribute* nonce_attr = in CheckAuthorization() 506 resp.AddAttribute(std::make_unique<StunByteStringAttribute>( in SendErrorResponseWithRealmAndNonce() 509 std::make_unique<StunByteStringAttribute>(STUN_ATTR_REALM, realm_)); in SendErrorResponseWithRealmAndNonce() 531 msg->AddAttribute(std::make_unique<StunByteStringAttribute>( in SendStun() 672 const StunByteStringAttribute* username_attr = in HandleAllocateRequest() 676 const StunByteStringAttribute* origin_attr = in HandleAllocateRequest() [all …]
|
D | turn_port.cc | 1009 const StunByteStringAttribute* data_attr = msg.GetByteString(STUN_ATTR_DATA); in HandleDataIndication() 1125 msg->AddAttribute(std::make_unique<StunByteStringAttribute>( in AddRequestAuthInfo() 1128 std::make_unique<StunByteStringAttribute>(STUN_ATTR_REALM, realm_)); in AddRequestAuthInfo() 1130 std::make_unique<StunByteStringAttribute>(STUN_ATTR_NONCE, nonce_)); in AddRequestAuthInfo() 1151 const StunByteStringAttribute* realm_attr = in UpdateNonce() 1160 const StunByteStringAttribute* nonce_attr = in UpdateNonce() 1344 msg->AddAttribute(std::make_unique<StunByteStringAttribute>( in MaybeAddTurnLoggingId() 1465 const StunByteStringAttribute* realm_attr = in OnAuthChallenge() 1475 const StunByteStringAttribute* nonce_attr = in OnAuthChallenge() 1512 const StunByteStringAttribute* realm_attr = in OnTryAlternate() [all …]
|
D | connection.cc | 178 std::make_unique<StunByteStringAttribute>(STUN_ATTR_USERNAME, username)); in Prepare() 195 request->AddAttribute(std::make_unique<StunByteStringAttribute>( in Prepare() 208 std::make_unique<StunByteStringAttribute>(STUN_ATTR_USE_CANDIDATE)); in Prepare() 603 const StunByteStringAttribute* use_candidate_attr = in HandleStunBindingOrGoogPingRequest() 641 const StunByteStringAttribute* username_attr = in SendStunBindingResponse() 870 const StunByteStringAttribute* last_ice_check_received_attr = in HandlePiggybackCheckAcknowledgementIfAny()
|
D | stun_request.cc | 203 std::make_unique<StunByteStringAttribute>(STUN_ATTR_ORIGIN, origin_)); in Construct()
|
D | p2p_transport_channel_unittest.cc | 3194 msg.AddAttribute(std::make_unique<StunByteStringAttribute>( in ReceivePingOnConnection() 3204 msg.AddAttribute(std::make_unique<StunByteStringAttribute>( in ReceivePingOnConnection() 3438 request.AddAttribute(std::make_unique<StunByteStringAttribute>( in TEST_F() 3607 request.AddAttribute(std::make_unique<StunByteStringAttribute>( in TEST_F() 3836 request.AddAttribute(std::make_unique<StunByteStringAttribute>( in TEST_F() 3877 std::make_unique<StunByteStringAttribute>(STUN_ATTR_USE_CANDIDATE)); in TEST_F() 3932 request.AddAttribute(std::make_unique<StunByteStringAttribute>( in TEST_F() 3938 std::make_unique<StunByteStringAttribute>(STUN_ATTR_USE_CANDIDATE)); in TEST_F()
|
D | port_unittest.cc | 338 const cricket::StunByteStringAttribute* mi_attr = in OnUnknownAddress() 743 msg->AddAttribute(std::make_unique<StunByteStringAttribute>( in CreateStunMessageWithUsername() 1425 const StunByteStringAttribute* username_attr = in TEST_F() 1427 modified_req->AddAttribute(std::make_unique<StunByteStringAttribute>( in TEST_F() 1719 const StunByteStringAttribute* username_attr = in TEST_F() 1971 const StunByteStringAttribute* use_candidate_attr = in TEST_F()
|
D | turn_port_unittest.cc | 820 const StunByteStringAttribute* attr = in ReceivedMessage() 1652 const StunByteStringAttribute* attr = in ReceivedMessage()
|
D | port.cc | 620 const StunByteStringAttribute* username_attr = in ParseStunUsername()
|