Lines Matching refs:StunAddressAttribute
156 const StunAddressAttribute* StunMessage::GetAddress(int type) const { in GetAddress()
165 return reinterpret_cast<const StunAddressAttribute*>(mapped_address); in GetAddress()
169 return static_cast<const StunAddressAttribute*>(GetAttribute(type)); in GetAddress()
659 return new StunAddressAttribute(type, length); in Create()
677 std::unique_ptr<StunAddressAttribute> StunAttribute::CreateAddress( in CreateAddress()
679 return std::make_unique<StunAddressAttribute>(type, 0); in CreateAddress()
718 StunAddressAttribute::StunAddressAttribute(uint16_t type, in StunAddressAttribute() function in cricket::StunAddressAttribute
724 StunAddressAttribute::StunAddressAttribute(uint16_t type, uint16_t length) in StunAddressAttribute() function in cricket::StunAddressAttribute
727 StunAttributeValueType StunAddressAttribute::value_type() const { in value_type()
731 bool StunAddressAttribute::Read(ByteBufferReader* buf) { in Read()
769 bool StunAddressAttribute::Write(ByteBufferWriter* buf) const { in Write()
795 : StunAddressAttribute(type, addr), owner_(NULL) {} in StunXorAddressAttribute()
800 : StunAddressAttribute(type, length), owner_(owner) {} in StunXorAddressAttribute()
847 if (!StunAddressAttribute::Read(buf)) in Read()