Home
last modified time | relevance | path

Searched refs:lifetime_attr (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dturnserver.cc641 StunUInt32Attribute* lifetime_attr = in HandleAllocateRequest() local
645 VERIFY(response.AddAttribute(lifetime_attr)); in HandleAllocateRequest()
664 StunUInt32Attribute* lifetime_attr = in HandleRefreshRequest() local
666 VERIFY(response.AddAttribute(lifetime_attr)); in HandleRefreshRequest()
816 const StunUInt32Attribute* lifetime_attr = msg->GetUInt32(STUN_ATTR_LIFETIME); in ComputeLifetime() local
817 if (lifetime_attr && lifetime_attr->value() < lifetime) { in ComputeLifetime()
818 lifetime = lifetime_attr->value(); in ComputeLifetime()
Dturnport.cc1073 const StunUInt32Attribute* lifetime_attr = in OnResponse() local
1075 if (!lifetime_attr) { in OnResponse()
1083 port_->ScheduleRefresh(lifetime_attr->value()); in OnResponse()
1228 const StunUInt32Attribute* lifetime_attr = in OnResponse() local
1230 if (!lifetime_attr) { in OnResponse()
1237 port_->ScheduleRefresh(lifetime_attr->value()); in OnResponse()
Drelayserver_unittest.cc280 const StunUInt32Attribute* lifetime_attr = in TEST_F() local
282 ASSERT_TRUE(lifetime_attr != NULL); in TEST_F()
283 EXPECT_EQ(LIFETIME, lifetime_attr->value()); in TEST_F()
Drelayserver.cc359 const StunUInt32Attribute* lifetime_attr = in HandleStunAllocate() local
361 if (lifetime_attr) in HandleStunAllocate()
362 lifetime = std::min(lifetime, lifetime_attr->value() * 1000); in HandleStunAllocate()