ESP-IDF
ot::SettingsBase::BrOnLinkPrefix::GetLifetime() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::SettingsBase::BrOnLinkPrefix::GetLifetime() const
ot::SettingsBase::BrOnLinkPrefix::GetLifetime() const method
Gets the remaining prefix lifetime in seconds.
Syntax
Show:
Summary
Declaration
from
settings.hpp:577
uint32_t
GetLifetime
(
void
)
const
;
Return value
The prefix lifetime in seconds.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint32_t
GetLifetime
(
void
)
const
{
return
mLifetime
;
}
settings.hpp:577
lifetime
=
Min
(
savedPrefix
.
GetLifetime
(
)
,
Time
::
MsecToSec
(
TimerMilli
::
kMaxDelay
)
)
;
routing_manager.cpp:2545
ot::BorderRouter::RoutingManager::OnLinkPrefixManager
ot::BorderRouter::RoutingManager::OnLinkPrefixManager::Init()
if
(
brPrefix
.
GetLifetime
(
)
==
aBrOnLinkPrefix
.
GetLifetime
(
)
)
settings.cpp:341
ot::Settings
ot::Settings::AddOrUpdateBrOnLinkPrefix()
GetPrefix
(
)
.
ToString
(
)
.
AsCString
(
)
,
ToUlong
(
GetLifetime
(
)
)
)
;
settings.cpp:398
ot::SettingsBase::BrOnLinkPrefix
ot::SettingsBase::BrOnLinkPrefix::Log() const
Call Tree
from
examples
ot::SettingsBase::BrOnLinkPrefix::GetLifetime() const
is called by 3 functions:
ot::Settings::AddOrUpdateBrOnLinkPrefix()
ot::SettingsBase::BrOnLinkPrefix::Log() const
ot::BorderRouter::RoutingManager::OnLinkPrefixManager::Init()
All items filtered out
ot::SettingsBase::BrOnLinkPrefix::GetLifetime() const
All items filtered out
Data Use
from
examples
ot::SettingsBase::BrOnLinkPrefix::GetLifetime() const
reads 1 variable:
ot::SettingsBase::BrOnLinkPrefix::mLifetime
All items filtered out
ot::SettingsBase::BrOnLinkPrefix::GetLifetime() const
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out