ESP-IDF
ot::Dns::LeaseOption::GetLeaseInterval() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/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::Dns::LeaseOption::GetLeaseInterval() const
ot::Dns::LeaseOption::GetLeaseInterval() const method
Returns the Update Lease OPT record's lease interval value.
Syntax
Show:
Summary
Declaration
from
dns_types.hpp:2523
uint32_t
GetLeaseInterval
(
void
)
const
;
Return value
The lease interval value (in seconds).
Examples
References
from
examples
Code
Location
Scope
Referrer
uint32_t
GetLeaseInterval
(
void
)
const
{
return
BigEndian
::
HostSwap32
(
mLeaseInterval
)
;
}
dns_types.hpp:2523
isValid
=
(
GetLeaseInterval
(
)
<=
GetKeyLeaseInterval
(
)
)
;
dns_types.cpp:1229
ot::Dns::LeaseOption
ot::Dns::LeaseOption::IsValid() const
return
IsShortVariant
(
)
?
GetLeaseInterval
(
)
:
BigEndian
::
HostSwap32
(
mKeyLeaseInterval
)
;
dns_types.hpp:2534
ot::Dns::LeaseOption
ot::Dns::LeaseOption::GetKeyLeaseInterval() const
mLease
=
Min
(
leaseOption
.
GetLeaseInterval
(
)
,
kMaxLease
)
;
srp_client.cpp:1995
ot::Srp::Client
ot::Srp::Client::ProcessOptRecord()
aHost
->
SetLease
(
leaseOption
.
GetLeaseInterval
(
)
)
;
srp_server.cpp:1232
ot::Srp::Server
ot::Srp::Server::ProcessAdditionalSection() const
Call Tree
from
examples
ot::Dns::LeaseOption::GetLeaseInterval() const
is called by 4 functions and calls 1 function:
ot::Dns::LeaseOption::GetKeyLeaseInterval() const
ot::Dns::LeaseOption::IsValid() const
ot::Srp::Client::ProcessOptRecord()
ot::Srp::Server::ProcessAdditionalSection() const
All items filtered out
ot::Dns::LeaseOption::GetLeaseInterval() const
ot::BigEndian::HostSwap32()
All items filtered out
Data Use
from
examples
ot::Dns::LeaseOption::GetLeaseInterval() const
reads 1 variable:
ot::Dns::LeaseOption::mLeaseInterval
All items filtered out
ot::Dns::LeaseOption::GetLeaseInterval() 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