ESP-IDF
ot::NetworkData::PrefixTlv::Init()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::NetworkData::PrefixTlv::Init()
ot::NetworkData::PrefixTlv::Init() method
Initializes the TLV.
Syntax
Show:
Summary
Declaration
from
network_data_tlvs.hpp:588
void
Init
(
uint8_t
aDomainId
,
uint8_t
aPrefixLength
,
const
uint8_t
*
aPrefix
)
;
Arguments
Argument
Description
aDomainId
The Domain ID.
aPrefixLength
The Prefix Length in bits.
aPrefix
A pointer to the prefix.
Examples
References
from
examples
Code
Location
Scope
Referrer
void
Init
(
uint8_t
aDomainId
,
uint8_t
aPrefixLength
,
const
uint8_t
*
aPrefix
)
network_data_tlvs.hpp:588
void
Init
(
uint8_t
aDomainId
,
const
Ip6
::
Prefix
aPrefix
)
network_data_tlvs.hpp:604
dstPrefix
->
Init
(
aPrefix
.
GetDomainId
(
)
,
aPrefix
.
GetPrefixLength
(
)
,
aPrefix
.
GetPrefix
(
)
)
;
network_data_leader_ftd.cpp:760
ot::NetworkData::Leader
ot::NetworkData::Leader::AddPrefix()
prefixTlv
->
Init
(
0
,
aPrefix
)
;
network_data_local.cpp:101
ot::NetworkData::Local
ot::NetworkData::Local::AddPrefix()
Init
(
aDomainId
,
aPrefix
.
GetLength
(
)
,
aPrefix
.
GetBytes
(
)
)
;
network_data_tlvs.hpp:606
ot::NetworkData::PrefixTlv
ot::NetworkData::PrefixTlv::Init()
Call Tree
from
examples
ot::NetworkData::PrefixTlv::Init()
is called by 3 functions and calls 8 functions:
ot::NetworkData::PrefixTlv::Init()
ot::NetworkData::Leader::AddPrefix()
ot::NetworkData::Local::AddPrefix()
All items filtered out
ot::NetworkData::PrefixTlv::Init()
ot::NetworkData::NetworkDataTlv::Init()
ot::NetworkData::NetworkDataTlv::SetType()
ot::Ip6::Prefix::SizeForLength()
ot::NetworkData::PrefixTlv::GetPrefix()
ot::NetworkData::PrefixTlv::SetSubTlvsLength()
ot::Ip6::Prefix::GetBytes() const
ot::Ip6::Prefix::GetLength() const
ot::NetworkData::PrefixTlv::Init()
All items filtered out
Data Use
from
examples
ot::NetworkData::PrefixTlv::Init()
reads 1 variable and writes 2 variables:
ot::NetworkData::NetworkDataTlv::Type::kTypePrefix
All items filtered out
ot::NetworkData::PrefixTlv::Init()
ot::NetworkData::PrefixTlv::mDomainId
ot::NetworkData::PrefixTlv::mPrefixLength
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