Home
last modified time | relevance | path

Searched refs:StunUInt32Attribute (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/api/transport/
Dstun.cc173 const StunUInt32Attribute* StunMessage::GetUInt32(int type) const { in GetUInt32()
174 return static_cast<const StunUInt32Attribute*>(GetAttribute(type)); in GetUInt32()
362 kStunAttributeHeaderSize + StunUInt32Attribute::SIZE; in ValidateFingerprint()
376 StunUInt32Attribute::SIZE) in ValidateFingerprint()
412 std::make_unique<StunUInt32Attribute>(STUN_ATTR_FINGERPRINT, 0); in AddFingerprint()
663 return new StunUInt32Attribute(type); in Create()
692 std::unique_ptr<StunUInt32Attribute> StunAttribute::CreateUInt32( in CreateUInt32()
694 return std::make_unique<StunUInt32Attribute>(type); in CreateUInt32()
883 StunUInt32Attribute::StunUInt32Attribute(uint16_t type, uint32_t value) in StunUInt32Attribute() function in cricket::StunUInt32Attribute
886 StunUInt32Attribute::StunUInt32Attribute(uint16_t type) in StunUInt32Attribute() function in cricket::StunUInt32Attribute
[all …]
Dstun.h138 class StunUInt32Attribute; variable
172 const StunUInt32Attribute* GetUInt32(int type) const;
305 static std::unique_ptr<StunUInt32Attribute> CreateUInt32(uint16_t type);
402 class StunUInt32Attribute : public StunAttribute {
405 StunUInt32Attribute(uint16_t type, uint32_t value);
406 explicit StunUInt32Attribute(uint16_t type);
Dstun_unittest.cc679 const StunUInt32Attribute* fingerprint = msg.GetUInt32(STUN_ATTR_FINGERPRINT); in TEST_F()
1559 const StunUInt32Attribute* uval = msg.GetUInt32(STUN_ATTR_LIFETIME); in TEST_F()
/external/webrtc/p2p/base/
Dconnection.cc182 request->AddAttribute(std::make_unique<StunUInt32Attribute>( in Prepare()
189 request->AddAttribute(std::make_unique<StunUInt32Attribute>( in Prepare()
212 request->AddAttribute(std::make_unique<StunUInt32Attribute>( in Prepare()
235 request->AddAttribute(std::make_unique<StunUInt32Attribute>( in Prepare()
594 const StunUInt32Attribute* nomination_attr = in HandleStunBindingOrGoogPingRequest()
618 const StunUInt32Attribute* network_attr = in HandleStunBindingOrGoogPingRequest()
653 const StunUInt32Attribute* retransmit_attr = in SendStunBindingResponse()
658 response.AddAttribute(std::make_unique<StunUInt32Attribute>( in SendStunBindingResponse()
1283 const StunUInt32Attribute* priority_attr = in MaybeUpdateLocalCandidate()
Dtest_turn_customizer.h37 message->AddAttribute(std::make_unique<cricket::StunUInt32Attribute>( in MaybeModifyOutgoingStunMessage()
Dturn_server.cc390 const StunUInt32Attribute* transport_attr = in HandleAllocateRequest()
699 std::make_unique<StunUInt32Attribute>(STUN_ATTR_LIFETIME, lifetime_secs); in HandleAllocateRequest()
724 std::make_unique<StunUInt32Attribute>(STUN_ATTR_LIFETIME, lifetime_secs); in HandleRefreshRequest()
782 const StunUInt32Attribute* channel_attr = in HandleChannelBindRequest()
880 const StunUInt32Attribute* lifetime_attr = msg->GetUInt32(STUN_ATTR_LIFETIME); in ComputeLifetime()
Dturn_port.cc1401 const StunUInt32Attribute* lifetime_attr = in OnResponse()
1546 std::make_unique<StunUInt32Attribute>(STUN_ATTR_LIFETIME, lifetime_)); in Prepare()
1568 const StunUInt32Attribute* lifetime_attr = in OnResponse()
1703 request->AddAttribute(std::make_unique<StunUInt32Attribute>( in Prepare()
Dport_unittest.cc336 const cricket::StunUInt32Attribute* priority_attr = in OnUnknownAddress()
340 const cricket::StunUInt32Attribute* fingerprint_attr = in OnUnknownAddress()
1722 const StunUInt32Attribute* priority_attr = msg->GetUInt32(STUN_ATTR_PRIORITY); in TEST_F()
1826 const StunUInt32Attribute* retransmit_attr = in TEST_F()
2054 const StunUInt32Attribute* network_info_attr = in TEST_F()
Dp2p_transport_channel.cc1001 const StunUInt32Attribute* priority_attr = in OnUnknownAddress()
1015 const StunUInt32Attribute* network_attr = in OnUnknownAddress()
Dp2p_transport_channel_unittest.cc3198 std::make_unique<StunUInt32Attribute>(STUN_ATTR_PRIORITY, priority)); in ReceivePingOnConnection()
3200 msg.AddAttribute(std::make_unique<StunUInt32Attribute>( in ReceivePingOnConnection()
3441 request.AddAttribute(std::make_unique<StunUInt32Attribute>(STUN_ATTR_PRIORITY, in TEST_F()
3610 request.AddAttribute(std::make_unique<StunUInt32Attribute>(STUN_ATTR_PRIORITY, in TEST_F()
3839 request.AddAttribute(std::make_unique<StunUInt32Attribute>(STUN_ATTR_PRIORITY, in TEST_F()
3935 request.AddAttribute(std::make_unique<StunUInt32Attribute>(STUN_ATTR_PRIORITY, in TEST_F()