Home
last modified time | relevance | path

Searched refs:StunAddressAttribute (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/api/transport/
Dstun.cc156 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()
[all …]
Dstun.h132 class StunAddressAttribute; variable
171 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 {
Dstun_unittest.cc45 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 …]
/external/webrtc/p2p/base/
Dstun_server_unittest.cc90 const StunAddressAttribute* mapped_addr = in TEST_F()
113 const StunAddressAttribute* mapped_addr = in TEST_F()
136 const StunAddressAttribute* mapped_addr = in TEST_F()
Dstun_server.cc93 std::unique_ptr<StunAddressAttribute> mapped_addr; in GetStunBindResponse()
Dturn_server.cc522 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()
Dturn_port.cc1000 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()
Dstun_port.cc51 const StunAddressAttribute* addr_attr = in OnResponse()
Dconnection.cc1256 const StunAddressAttribute* addr = in MaybeUpdateLocalCandidate()
Dport_unittest.cc1763 const StunAddressAttribute* addr_attr = in TEST_F()
/external/webrtc/p2p/stunprober/
Dstun_prober.cc186 const cricket::StunAddressAttribute* addr_attr = in ProcessResponse()