ESP-IDF
ot::Ip6::NetworkPrefix::kLength
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::Ip6::NetworkPrefix::kLength
ot::Ip6::NetworkPrefix::kLength variable
Syntax
Show:
Summary
Declaration
from
ip6_address.hpp:73
static
constexpr
uint8_t
kLength
=
kSize
*
kBitsPerByte
;
Examples
References
from
examples
Code
Location
Scope
Referrer
static
constexpr
uint8_t
kLength
=
kSize
*
kBitsPerByte
;
///< Length of Network Prefix in bits.
ip6_address.hpp:73
return
(
mLength
>=
NetworkPrefix
::
kLength
)
&&
ip6_address.cpp:83
ot::Ip6::Prefix
ot::Ip6::Prefix::ContainsPrefix() const
(
MatchLength
(
GetBytes
(
)
,
aSubPrefix
.
m8
,
NetworkPrefix
::
kSize
)
>=
NetworkPrefix
::
kLength
)
;
ip6_address.cpp:84
ot::Ip6::Prefix
ot::Ip6::Prefix::ContainsPrefix() const
if
(
aPrefix
.
GetLength
(
)
>
NetworkPrefix
::
kLength
)
ip6_address.cpp:305
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::ApplyPrefix()
aPrefix
.
GetLength
(
)
-
NetworkPrefix
::
kLength
)
;
ip6_address.cpp:308
ot::Ip6::InterfaceIdentifier
ot::Ip6::InterfaceIdentifier::ApplyPrefix()
void
Set
(
const
NetworkPrefix
&
aNetworkPrefix
)
{
Set
(
aNetworkPrefix
.
m8
,
NetworkPrefix
::
kLength
)
;
}
ip6_address.hpp:144
ot::Ip6::Prefix
ot::Ip6::Prefix::Set()
SetMulticastNetworkPrefix
(
aNetworkPrefix
.
m8
,
NetworkPrefix
::
kLength
)
;
ip6_address.hpp:843
ot::Ip6::Address
ot::Ip6::Address::SetMulticastNetworkPrefix()
mPrefixLength
=
NetworkPrefix
::
kLength
;
netif.cpp:544
ot::Ip6::Netif::UnicastAddress
ot::Ip6::Netif::UnicastAddress::InitAsThreadOrigin()
VerifyOrExit
(
GetPrefix
(
)
.
GetLength
(
)
==
Ip6
::
NetworkPrefix
::
kLength
)
;
network_data_types.cpp:67
ot::NetworkData::OnMeshPrefixConfig
ot::NetworkData::OnMeshPrefixConfig::IsValid() const
return
aConfig
.
mSlaac
&&
!
aConfig
.
mDp
&&
(
aConfig
.
GetPrefix
(
)
.
GetLength
(
)
==
Ip6
::
NetworkPrefix
::
kLength
)
;
slaac_address.cpp:121
ot::Utils::Slaac
ot::Utils::Slaac::IsSlaac() const
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ot::Ip6::NetworkPrefix::kLength
is read by 7 functions:
All items filtered out
ot::Ip6::NetworkPrefix::kLength
ot::Ip6::Prefix::Set()
ot::Ip6::Address::SetMulticastNetworkPrefix()
ot::NetworkData::OnMeshPrefixConfig::IsValid() const
ot::Utils::Slaac::IsSlaac() const
ot::Ip6::Prefix::ContainsPrefix() const
ot::Ip6::InterfaceIdentifier::ApplyPrefix()
ot::Ip6::Netif::UnicastAddress::InitAsThreadOrigin()
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