Searched refs:StunAttribute (Results 1 – 6 of 6) sorted by relevance
52 attrs_ = new std::vector<StunAttribute*>(); in StunMessage()66 void StunMessage::AddAttribute(StunAttribute* attr) { in AddAttribute()136 const StunAttribute* StunMessage::GetAttribute(StunAttributeType type) const { in GetAttribute()176 StunAttribute* attr = StunAttribute::Create(attr_type, attr_length); in Read()205 StunAttribute::StunAttribute(uint16 type, uint16 length) in StunAttribute() function in cricket::StunAttribute209 StunAttribute* StunAttribute::Create(uint16 type, uint16 length) { in Create()261 StunAddressAttribute* StunAttribute::CreateAddress(uint16 type) { in CreateAddress()279 StunUInt32Attribute* StunAttribute::CreateUInt32(uint16 type) { in CreateUInt32()293 StunByteStringAttribute* StunAttribute::CreateByteString(uint16 type) { in CreateByteString()308 StunErrorCodeAttribute* StunAttribute::CreateErrorCode() { in CreateErrorCode()[all …]
106 class StunAttribute; variable137 void AddAttribute(StunAttribute* attr);151 std::vector<StunAttribute*>* attrs_;153 const StunAttribute* GetAttribute(StunAttributeType type) const;157 class StunAttribute {159 virtual ~StunAttribute() {} in ~StunAttribute()175 static StunAttribute* Create(uint16 type, uint16 length);186 StunAttribute(uint16 type, uint16 length);196 class StunAddressAttribute : public StunAttribute {224 class StunUInt32Attribute : public StunAttribute {[all …]
93 StunAttribute::CreateAddress(STUN_ATTR_MAPPED_ADDRESS); in OnBindingRequest()107 StunAttribute::CreateAddress(STUN_ATTR_SOURCE_ADDRESS); in OnBindingRequest()143 StunErrorCodeAttribute* err_code = StunAttribute::CreateErrorCode(); in SendErrorResponse()
81 StunAttribute::CreateByteString(cricket::STUN_ATTR_MAGIC_COOKIE); in SendStunError()88 StunErrorCodeAttribute* err_code = StunAttribute::CreateErrorCode(); in SendStunError()440 StunAttribute::CreateByteString(cricket::STUN_ATTR_MAGIC_COOKIE); in HandleStunAllocate()452 StunAttribute::CreateAddress(STUN_ATTR_MAPPED_ADDRESS); in HandleStunAllocate()459 StunAttribute::CreateUInt32(STUN_ATTR_LIFETIME); in HandleStunAllocate()519 StunAttribute::CreateByteString(cricket::STUN_ATTR_MAGIC_COOKIE); in HandleStunSend()525 StunAttribute::CreateUInt32(cricket::STUN_ATTR_OPTIONS); in HandleStunSend()627 StunAttribute::CreateByteString(cricket::STUN_ATTR_MAGIC_COOKIE); in Send()633 StunAttribute::CreateAddress(STUN_ATTR_SOURCE_ADDRESS2); in Send()640 StunAttribute::CreateByteString(STUN_ATTR_DATA); in Send()
541 StunAttribute::CreateByteString(STUN_ATTR_MAGIC_COOKIE); in SendTo()547 StunAttribute::CreateByteString(STUN_ATTR_USERNAME); in SendTo()553 StunAttribute::CreateAddress(STUN_ATTR_DESTINATION_ADDRESS); in SendTo()562 StunAttribute::CreateUInt32(STUN_ATTR_OPTIONS); in SendTo()568 StunAttribute::CreateByteString(STUN_ATTR_DATA); in SendTo()735 StunAttribute::CreateByteString(STUN_ATTR_MAGIC_COOKIE); in Prepare()742 StunAttribute::CreateByteString(STUN_ATTR_USERNAME); in Prepare()
342 StunAttribute::CreateByteString(STUN_ATTR_USERNAME); in SendBindingResponse()347 StunAttribute::CreateAddress(STUN_ATTR_MAPPED_ADDRESS); in SendBindingResponse()391 StunAttribute::CreateByteString(STUN_ATTR_USERNAME); in SendBindingErrorResponse()395 StunErrorCodeAttribute* error_attr = StunAttribute::CreateErrorCode(); in SendBindingErrorResponse()475 StunAttribute::CreateByteString(STUN_ATTR_USERNAME); in Prepare()