ESP-IDF
otSrpServerTtlConfig::mMaxTtl
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
otSrpServerTtlConfig::mMaxTtl
otSrpServerTtlConfig::mMaxTtl field
Syntax
Show:
Summary
Declaration
from
srp_server.h:100
uint32_t
mMaxTtl
;
Examples
References
from
examples
Code
Location
Scope
Referrer
uint32_t
mMaxTtl
;
///< The maximum TTL in seconds.
srp_server.h:100
OutputLine
(
"max ttl: %lu"
,
ToUlong
(
ttlConfig
.
mMaxTtl
)
)
;
cli_srp_server.cpp:237
ot::Cli::SrpServer
ot::Cli::SrpServer::Process()
SuccessOrExit
(
error
=
aArgs
[
1
]
.
ParseAsUint32
(
ttlConfig
.
mMaxTtl
)
)
;
cli_srp_server.cpp:242
ot::Cli::SrpServer
ot::Cli::SrpServer::Process()
mMaxTtl
=
kDefaultMaxTtl
;
srp_server.cpp:192
ot::Srp::Server::TtlConfig
ot::Srp::Server::TtlConfig::TtlConfig()
OT_ASSERT
(
mMinTtl
<=
mMaxTtl
)
;
srp_server.cpp:208
ot::Srp::Server::TtlConfig
ot::Srp::Server::TtlConfig::GrantTtl() const
return
Clamp
(
Min
(
aTtl
,
aLease
)
,
mMinTtl
,
mMaxTtl
)
;
srp_server.cpp:210
ot::Srp::Server::TtlConfig
ot::Srp::Server::TtlConfig::GrantTtl() const
bool
IsValid
(
void
)
const
{
return
mMinTtl
<=
mMaxTtl
;
}
srp_server.hpp:609
ot::Srp::Server::TtlConfig
ot::Srp::Server::TtlConfig::IsValid() const
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
otSrpServerTtlConfig::mMaxTtl
is written by 1 function and is read by 3 functions:
ot::Srp::Server::TtlConfig::TtlConfig()
All items filtered out
otSrpServerTtlConfig::mMaxTtl
ot::Srp::Server::TtlConfig::IsValid() const
ot::Cli::SrpServer::Process()
ot::Srp::Server::TtlConfig::GrantTtl() 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