ESP-IDF
otSrpServerLeaseConfig::mMaxKeyLease
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
otSrpServerLeaseConfig::mMaxKeyLease
otSrpServerLeaseConfig::mMaxKeyLease field
Syntax
Show:
Summary
Declaration
from
srp_server.h:111
uint32_t
mMaxKeyLease
;
Examples
References
from
examples
Code
Location
Scope
Referrer
uint32_t
mMaxKeyLease
;
///< The maximum KEY-LEASE interval in seconds.
srp_server.h:111
OutputLine
(
"max key-lease: %lu"
,
ToUlong
(
leaseConfig
.
mMaxKeyLease
)
)
;
cli_srp_server.cpp:283
ot::Cli::SrpServer
ot::Cli::SrpServer::Process()
SuccessOrExit
(
error
=
aArgs
[
3
]
.
ParseAsUint32
(
leaseConfig
.
mMaxKeyLease
)
)
;
cli_srp_server.cpp:290
ot::Cli::SrpServer
ot::Cli::SrpServer::Process()
mMaxKeyLease
=
kDefaultMaxKeyLease
;
srp_server.cpp:218
ot::Srp::Server::LeaseConfig
ot::Srp::Server::LeaseConfig::LeaseConfig()
VerifyOrExit
(
mMaxKeyLease
<=
Time
::
MsecToSec
(
TimerMilli
::
kMaxDelay
)
)
;
srp_server.cpp:227
ot::Srp::Server::LeaseConfig
ot::Srp::Server::LeaseConfig::IsValid() const
VerifyOrExit
(
mMinKeyLease
<=
mMaxKeyLease
)
;
srp_server.cpp:229
ot::Srp::Server::LeaseConfig
ot::Srp::Server::LeaseConfig::IsValid() const
VerifyOrExit
(
mMaxLease
<=
mMaxKeyLease
)
;
srp_server.cpp:231
ot::Srp::Server::LeaseConfig
ot::Srp::Server::LeaseConfig::IsValid() const
OT_ASSERT
(
mMinKeyLease
<=
mMaxKeyLease
)
;
srp_server.cpp:248
ot::Srp::Server::LeaseConfig
ot::Srp::Server::LeaseConfig::GrantKeyLease() const
return
(
aKeyLease
==
0
)
?
0
:
Clamp
(
aKeyLease
,
mMinKeyLease
,
mMaxKeyLease
)
;
srp_server.cpp:250
ot::Srp::Server::LeaseConfig
ot::Srp::Server::LeaseConfig::GrantKeyLease() const
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
otSrpServerLeaseConfig::mMaxKeyLease
is written by 1 function and is read by 3 functions:
ot::Srp::Server::LeaseConfig::LeaseConfig()
All items filtered out
otSrpServerLeaseConfig::mMaxKeyLease
ot::Cli::SrpServer::Process()
ot::Srp::Server::LeaseConfig::IsValid() const
ot::Srp::Server::LeaseConfig::GrantKeyLease() 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