ESP-IDF
ot::Ip6::Prefix::kMaxLength
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/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::Ip6::Prefix::kMaxLength
ot::Ip6::Prefix::kMaxLength variable
Syntax
Show:
Summary
Declaration
from
ip6_address.hpp:94
static
constexpr
uint8_t
kMaxLength
=
kMaxSize
*
kBitsPerByte
;
Examples
References
from
examples
Code
Location
Scope
Referrer
static
constexpr
uint8_t
kMaxLength
=
kMaxSize
*
kBitsPerByte
;
///< Max length of a prefix in bits.
ip6_address.hpp:94
SuccessOrExit
(
StringParseUint8
(
cur
,
mLength
,
kMaxLength
)
)
;
ip6_address.cpp:180
ot::Ip6::Prefix
ot::Ip6::Prefix::FromString()
bool
IsValid
(
void
)
const
{
return
(
mLength
<=
kMaxLength
)
;
}
ip6_address.hpp:171
ot::Ip6::Prefix
ot::Ip6::Prefix::IsValid() const
return
(
GetSize
(
)
>=
sizeof
(
*
this
)
)
&&
(
mPrefixLength
<=
Prefix
::
kMaxLength
)
&&
nd6.cpp:103
ot::Ip6::Nd::PrefixInfoOption
ot::Ip6::Nd::PrefixInfoOption::IsValid() const
return
(
GetSize
(
)
>=
kMinSize
)
&&
(
mPrefixLength
<=
Prefix
::
kMaxLength
)
&&
nd6.cpp:138
ot::Ip6::Nd::RouteInfoOption
ot::Ip6::Nd::RouteInfoOption::IsValid() const
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ot::Ip6::Prefix::kMaxLength
is read by 4 functions:
All items filtered out
ot::Ip6::Prefix::kMaxLength
ot::Ip6::Prefix::IsValid() const
ot::Ip6::Prefix::FromString()
ot::Ip6::Nd::PrefixInfoOption::IsValid() const
ot::Ip6::Nd::RouteInfoOption::IsValid() 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