Home
last modified time | relevance | path

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

/external/webrtc/p2p/base/
Dturn_server.cc698 auto lifetime_attr = in HandleAllocateRequest() local
702 response.AddAttribute(std::move(lifetime_attr)); in HandleAllocateRequest()
723 auto lifetime_attr = in HandleRefreshRequest() local
725 response.AddAttribute(std::move(lifetime_attr)); in HandleRefreshRequest()
880 const StunUInt32Attribute* lifetime_attr = msg->GetUInt32(STUN_ATTR_LIFETIME); in ComputeLifetime() local
881 if (lifetime_attr && static_cast<int>(lifetime_attr->value()) < lifetime) { in ComputeLifetime()
882 lifetime = static_cast<int>(lifetime_attr->value()); in ComputeLifetime()
Dturn_port.cc1401 const StunUInt32Attribute* lifetime_attr = in OnResponse() local
1403 if (!lifetime_attr) { in OnResponse()
1412 port_->ScheduleRefresh(lifetime_attr->value()); in OnResponse()
1568 const StunUInt32Attribute* lifetime_attr = in OnResponse() local
1570 if (!lifetime_attr) { in OnResponse()
1577 if (lifetime_attr->value() > 0) { in OnResponse()
1579 port_->ScheduleRefresh(lifetime_attr->value()); in OnResponse()