Searched refs:lifetime_attr (Results 1 – 2 of 2) sorted by relevance
698 auto lifetime_attr = in HandleAllocateRequest() local702 response.AddAttribute(std::move(lifetime_attr)); in HandleAllocateRequest()723 auto lifetime_attr = in HandleRefreshRequest() local725 response.AddAttribute(std::move(lifetime_attr)); in HandleRefreshRequest()880 const StunUInt32Attribute* lifetime_attr = msg->GetUInt32(STUN_ATTR_LIFETIME); in ComputeLifetime() local881 if (lifetime_attr && static_cast<int>(lifetime_attr->value()) < lifetime) { in ComputeLifetime()882 lifetime = static_cast<int>(lifetime_attr->value()); in ComputeLifetime()
1401 const StunUInt32Attribute* lifetime_attr = in OnResponse() local1403 if (!lifetime_attr) { in OnResponse()1412 port_->ScheduleRefresh(lifetime_attr->value()); in OnResponse()1568 const StunUInt32Attribute* lifetime_attr = in OnResponse() local1570 if (!lifetime_attr) { in OnResponse()1577 if (lifetime_attr->value() > 0) { in OnResponse()1579 port_->ScheduleRefresh(lifetime_attr->value()); in OnResponse()