Searched refs:lifetime_attr (Results 1 – 4 of 4) sorted by relevance
641 StunUInt32Attribute* lifetime_attr = in HandleAllocateRequest() local645 VERIFY(response.AddAttribute(lifetime_attr)); in HandleAllocateRequest()664 StunUInt32Attribute* lifetime_attr = in HandleRefreshRequest() local666 VERIFY(response.AddAttribute(lifetime_attr)); in HandleRefreshRequest()816 const StunUInt32Attribute* lifetime_attr = msg->GetUInt32(STUN_ATTR_LIFETIME); in ComputeLifetime() local817 if (lifetime_attr && lifetime_attr->value() < lifetime) { in ComputeLifetime()818 lifetime = lifetime_attr->value(); in ComputeLifetime()
1073 const StunUInt32Attribute* lifetime_attr = in OnResponse() local1075 if (!lifetime_attr) { in OnResponse()1083 port_->ScheduleRefresh(lifetime_attr->value()); in OnResponse()1228 const StunUInt32Attribute* lifetime_attr = in OnResponse() local1230 if (!lifetime_attr) { in OnResponse()1237 port_->ScheduleRefresh(lifetime_attr->value()); in OnResponse()
280 const StunUInt32Attribute* lifetime_attr = in TEST_F() local282 ASSERT_TRUE(lifetime_attr != NULL); in TEST_F()283 EXPECT_EQ(LIFETIME, lifetime_attr->value()); in TEST_F()
359 const StunUInt32Attribute* lifetime_attr = in HandleStunAllocate() local361 if (lifetime_attr) in HandleStunAllocate()362 lifetime = std::min(lifetime, lifetime_attr->value() * 1000); in HandleStunAllocate()