Searched refs:StunAttribute (Results 1 – 9 of 9) sorted by relevance
50 attrs_ = new std::vector<StunAttribute*>(); in StunMessage()74 bool StunMessage::AddAttribute(StunAttribute* attr) { in AddAttribute()94 const StunAttribute* mapped_address = in GetAddress()340 StunAttribute* attr = CreateAttribute(attr_type, attr_length); in Read()395 StunAttribute* StunMessage::CreateAttribute(int type, size_t length) /*const*/ { in CreateAttribute()397 return StunAttribute::Create(value_type, type, static_cast<uint16_t>(length), in CreateAttribute()401 const StunAttribute* StunMessage::GetAttribute(int type) const { in GetAttribute()416 StunAttribute::StunAttribute(uint16_t type, uint16_t length) in StunAttribute() function in cricket::StunAttribute420 void StunAttribute::ConsumePadding(rtc::ByteBuffer* buf) const { in ConsumePadding()427 void StunAttribute::WritePadding(rtc::ByteBuffer* buf) const { in WritePadding()[all …]
119 class StunAttribute; variable164 bool AddAttribute(StunAttribute* attr);197 StunAttribute* CreateAttribute(int type, size_t length) /* const*/;198 const StunAttribute* GetAttribute(int type) const;204 std::vector<StunAttribute*>* attrs_;208 class StunAttribute {210 virtual ~StunAttribute() { in ~StunAttribute()231 static StunAttribute* Create(StunAttributeValueType value_type,246 StunAttribute(uint16_t type, uint16_t length);257 class StunAddressAttribute : public StunAttribute {[all …]
812 StunAttribute::CreateAddress(STUN_ATTR_MAPPED_ADDRESS); in TEST_F()827 StunAttribute::CreateAddress(STUN_ATTR_MAPPED_ADDRESS); in TEST_F()839 StunAttribute::CreateAddress(STUN_ATTR_DESTINATION_ADDRESS); in TEST_F()847 StunAttribute::CreateAddress(STUN_ATTR_DESTINATION_ADDRESS); in TEST_F()871 StunAttribute::CreateAddress(STUN_ATTR_MAPPED_ADDRESS); in TEST_F()900 StunAttribute::CreateAddress(STUN_ATTR_MAPPED_ADDRESS); in TEST_F()929 StunAttribute::CreateXorAddress(STUN_ATTR_XOR_MAPPED_ADDRESS); in TEST_F()959 StunAttribute::CreateXorAddress(STUN_ATTR_XOR_MAPPED_ADDRESS); in TEST_F()1058 StunErrorCodeAttribute* errorcode = StunAttribute::CreateErrorCode(); in TEST_F()1080 StunUInt16ListAttribute* list = StunAttribute::CreateUnknownAttributes(); in TEST_F()[all …]
65 StunErrorCodeAttribute* err_code = StunAttribute::CreateErrorCode(); in SendErrorResponse()91 mapped_addr = StunAttribute::CreateAddress(STUN_ATTR_MAPPED_ADDRESS); in GetStunBindReqponse()93 mapped_addr = StunAttribute::CreateXorAddress(STUN_ATTR_XOR_MAPPED_ADDRESS); in GetStunBindReqponse()
63 StunAttribute::CreateByteString(cricket::STUN_ATTR_MAGIC_COOKIE); in SendStunError()72 StunErrorCodeAttribute* err_code = StunAttribute::CreateErrorCode(); in SendStunError()422 StunAttribute::CreateByteString(cricket::STUN_ATTR_MAGIC_COOKIE); in HandleStunAllocate()432 StunAttribute::CreateAddress(STUN_ATTR_MAPPED_ADDRESS); in HandleStunAllocate()438 StunAttribute::CreateUInt32(STUN_ATTR_LIFETIME); in HandleStunAllocate()495 StunAttribute::CreateByteString(cricket::STUN_ATTR_MAGIC_COOKIE); in HandleStunSend()501 StunAttribute::CreateUInt32(cricket::STUN_ATTR_OPTIONS); in HandleStunSend()605 StunAttribute::CreateByteString(cricket::STUN_ATTR_MAGIC_COOKIE); in Send()611 StunAttribute::CreateAddress(STUN_ATTR_SOURCE_ADDRESS2); in Send()617 StunAttribute::CreateByteString(STUN_ATTR_DATA); in Send()
150 StunAttribute::CreateByteString(STUN_ATTR_MAGIC_COOKIE); in AddMagicCookieAttr()156 StunAttribute::CreateByteString(STUN_ATTR_USERNAME); in AddUsernameAttr()162 StunAttribute::CreateUInt32(STUN_ATTR_LIFETIME); in AddLifetimeAttr()168 StunAttribute::CreateAddress(STUN_ATTR_DESTINATION_ADDRESS); in AddDestinationAttr()467 StunAttribute::CreateByteString(STUN_ATTR_DATA); in TEST_F()510 StunAttribute::CreateByteString(STUN_ATTR_DATA); in TEST_F()
578 StunAttribute::CreateByteString(STUN_ATTR_MAGIC_COOKIE); in SendTo()584 StunAttribute::CreateByteString(STUN_ATTR_USERNAME); in SendTo()590 StunAttribute::CreateAddress(STUN_ATTR_DESTINATION_ADDRESS); in SendTo()598 StunAttribute::CreateUInt32(STUN_ATTR_OPTIONS); in SendTo()604 StunAttribute::CreateByteString(STUN_ATTR_DATA); in SendTo()789 StunAttribute::CreateByteString(STUN_ATTR_USERNAME); in Prepare()
1033 StunUInt32Attribute* transport_attr = StunAttribute::CreateUInt32( in Prepare()
602 StunErrorCodeAttribute* error_attr = StunAttribute::CreateErrorCode(); in SendBindingErrorResponse()