Searched refs:StunAddressAttribute (Results 1 – 11 of 11) sorted by relevance
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::StunAddressAttribute724 StunAddressAttribute::StunAddressAttribute(uint16_t type, uint16_t length) in StunAddressAttribute() function in cricket::StunAddressAttribute727 StunAttributeValueType StunAddressAttribute::value_type() const { in value_type()731 bool StunAddressAttribute::Read(ByteBufferReader* buf) { in Read()[all …]
132 class StunAddressAttribute; variable171 const StunAddressAttribute* GetAddress(int type) const;302 static std::unique_ptr<StunAddressAttribute> CreateAddress(uint16_t type);326 class StunAddressAttribute : public StunAttribute {331 StunAddressAttribute(uint16_t type, const rtc::SocketAddress& addr);332 StunAddressAttribute(uint16_t type, uint16_t length);386 class StunXorAddressAttribute : public StunAddressAttribute {
45 void CheckStunAddressAttribute(const StunAddressAttribute* addr, in CheckStunAddressAttribute()596 const StunAddressAttribute* addr = msg.GetAddress(STUN_ATTR_MAPPED_ADDRESS); in TEST_F()609 const StunAddressAttribute* addr = in TEST_F()624 const StunAddressAttribute* addr = msg.GetAddress(STUN_ATTR_MAPPED_ADDRESS); in TEST_F()637 const StunAddressAttribute* addr = msg.GetAddress(STUN_ATTR_MAPPED_ADDRESS); in TEST_F()651 const StunAddressAttribute* addr = in TEST_F()697 const StunAddressAttribute* mapped_address = in TEST_F()720 const StunAddressAttribute* mapped_address = in TEST_F()771 const StunAddressAttribute* addr = msg.GetAddress(STUN_ATTR_MAPPED_ADDRESS); in TEST_F()787 const StunAddressAttribute* addr = in TEST_F()[all …]
90 const StunAddressAttribute* mapped_addr = in TEST_F()113 const StunAddressAttribute* mapped_addr = in TEST_F()136 const StunAddressAttribute* mapped_addr = in TEST_F()
93 std::unique_ptr<StunAddressAttribute> mapped_addr; in GetStunBindResponse()
522 std::make_unique<StunAddressAttribute>(STUN_ATTR_ALTERNATE_SERVER, addr)); in SendErrorResponseWithAlternateServer()733 const StunAddressAttribute* peer_attr = in HandleSendIndication()755 const StunAddressAttribute* peer_attr = in HandleCreatePermissionRequest()784 const StunAddressAttribute* peer_attr = in HandleChannelBindRequest()
1000 const StunAddressAttribute* addr_attr = in HandleDataIndication()1381 const StunAddressAttribute* mapped_attr = in OnResponse()1392 const StunAddressAttribute* relayed_attr = in OnResponse()1495 const StunAddressAttribute* alternate_server_attr = in OnTryAlternate()
51 const StunAddressAttribute* addr_attr = in OnResponse()
1256 const StunAddressAttribute* addr = in MaybeUpdateLocalCandidate()
1763 const StunAddressAttribute* addr_attr = in TEST_F()
186 const cricket::StunAddressAttribute* addr_attr = in ProcessResponse()