ESP-IDF
ot::Dns::LeaseOption::IsShortVariant() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
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::IsShortVariant() const
ot::Dns::LeaseOption::IsShortVariant() const method
Indicates whether or not the Update Lease Option follows the short variant format which contains only the lease interval.
Syntax
Show:
Summary
Declaration
from
dns_types.hpp:2507
bool
IsShortVariant
(
void
)
const
;
Return value
TRUE The Update Lease Option follows the short variant format. FALSE The Update Lease Option follows the long variant format.
Examples
References
from
examples
Code
Location
Scope
Referrer
bool
IsShortVariant
(
void
)
const
{
return
(
GetOptionLength
(
)
==
kShortLength
)
;
}
dns_types.hpp:2507
return
IsShortVariant
(
)
?
GetLeaseInterval
(
)
:
BigEndian
::
HostSwap32
(
mKeyLeaseInterval
)
;
dns_types.hpp:2534
ot::Dns::LeaseOption
ot::Dns::LeaseOption::GetKeyLeaseInterval() const
aHost
->
SetUseShortLeaseOption
(
leaseOption
.
IsShortVariant
(
)
)
;
srp_server.cpp:1248
ot::Srp::Server
ot::Srp::Server::ProcessAdditionalSection() const
Call Tree
from
examples
ot::Dns::LeaseOption::IsShortVariant() const
is called by 2 functions and calls 1 function:
ot::Dns::LeaseOption::GetKeyLeaseInterval() const
ot::Srp::Server::ProcessAdditionalSection() const
All items filtered out
ot::Dns::LeaseOption::IsShortVariant() const
ot::Dns::Option::GetOptionLength() const
All items filtered out
Data Use
from
examples
ot::Dns::LeaseOption::IsShortVariant() const
reads 1 variable:
ot::Dns::LeaseOption::kShortLength
All items filtered out
ot::Dns::LeaseOption::IsShortVariant() 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