ESP-IDF
ot::Dns::Name::kMaxNameSize
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::Name::kMaxNameSize
ot::Dns::Name::kMaxNameSize variable
Max size (number of chars) in a name string array (includes null char at the end of string).
Syntax
Show:
Summary
Declaration
from
dns_types.hpp:447
static
constexpr
uint8_t
kMaxNameSize
=
OT_DNS_MAX_NAME_SIZE
;
Examples
References
from
examples
Code
Location
Scope
Referrer
static
constexpr
uint8_t
kMaxNameSize
=
OT_DNS_MAX_NAME_SIZE
;
dns_types.hpp:447
char
hostName
[
Name
::
kMaxNameSize
]
;
dns_client.cpp:1717
ot::Dns::Client
ot::Dns::Client::ResolveHostAddressIfNeeded()
uint16_t
len
=
StringLength
(
aLabels
,
kMaxNameSize
)
;
dns_types.cpp:145
ot::Dns::Name
ot::Dns::Name::CompareAndSkipLabels()
VerifyOrExit
(
len
<
kMaxNameSize
)
;
dns_types.cpp:147
ot::Dns::Name
ot::Dns::Name::CompareAndSkipLabels()
uint16_t
nameLength
=
StringLength
(
aName
,
kMaxNameSize
)
;
dns_types.cpp:712
ot::Dns::Name
ot::Dns::Name::ExtractLabels()
uint16_t
suffixLength
=
StringLength
(
aSuffixName
,
kMaxNameSize
)
;
dns_types.cpp:713
ot::Dns::Name
ot::Dns::Name::ExtractLabels()
VerifyOrExit
(
nameLength
<
kMaxNameSize
)
;
dns_types.cpp:716
ot::Dns::Name
ot::Dns::Name::ExtractLabels()
VerifyOrExit
(
suffixLength
<
kMaxNameSize
)
;
dns_types.cpp:717
ot::Dns::Name
ot::Dns::Name::ExtractLabels()
static
constexpr
uint8_t
kMaxNameLength
=
kMaxNameSize
-
1
;
dns_types.hpp:452
typedef
char
Buffer
[
kMaxNameSize
]
;
dns_types.hpp:472
length
=
StringLength
(
aDomain
,
Dns
::
Name
::
kMaxNameSize
)
;
srp_server.cpp:271
ot::Srp::Server
ot::Srp::Server::SetDomain()
VerifyOrExit
(
(
length
>
0
)
&&
(
length
<
Dns
::
Name
::
kMaxNameSize
)
,
error
=
kErrorInvalidArgs
)
;
srp_server.cpp:272
ot::Srp::Server
ot::Srp::Server::SetDomain()
char
buf
[
Dns
::
Name
::
kMaxNameSize
]
;
srp_server.cpp:282
ot::Srp::Server
ot::Srp::Server::SetDomain()
VerifyOrExit
(
length
<
Dns
::
Name
::
kMaxNameSize
-
1
,
error
=
kErrorInvalidArgs
)
;
srp_server.cpp:284
ot::Srp::Server
ot::Srp::Server::SetDomain()
String
<
Dns
::
Name
::
kMaxNameSize
>
instanceName
;
srp_server.cpp:996
ot::Srp::Server
ot::Srp::Server::ProcessServiceDiscoveryInstructions() const
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ot::Dns::Name::kMaxNameSize
is read by 5 functions:
All items filtered out
ot::Dns::Name::kMaxNameSize
ot::Dns::Client::ResolveHostAddressIfNeeded()
ot::Dns::Name::CompareAndSkipLabels()
ot::Dns::Name::ExtractLabels()
ot::Srp::Server::SetDomain()
ot::Srp::Server::ProcessServiceDiscoveryInstructions() 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