ESP-IDF
ot::NetworkData::PrefixTlv::GetPrefix() const
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::NetworkData::PrefixTlv::GetPrefix() const
ot::NetworkData::PrefixTlv::GetPrefix() const method
Returns a pointer to the Prefix.
Syntax
Show:
Summary
Declaration
from
network_data_tlvs.hpp:648
const
uint8_t
*
GetPrefix
(
void
)
const
;
Return value
A pointer to the Prefix.
Examples
References
from
examples
Code
Location
Scope
Referrer
const
uint8_t
*
GetPrefix
(
void
)
const
{
return
reinterpret_cast
<
const
uint8_t
*
>
(
this
)
+
sizeof
(
*
this
)
;
}
network_data_tlvs.hpp:648
if
(
aAddress
.
MatchesPrefix
(
prefixTlv
->
GetPrefix
(
)
,
prefixTlv
->
GetPrefixLength
(
)
)
)
network_data_leader.cpp:151
ot::NetworkData::Leader
ot::NetworkData::Leader::FindNextMatchingPrefixTlv() const
VerifyOrExit
(
validatedSegment
.
FindPrefix
(
prefix
->
GetPrefix
(
)
,
prefix
->
GetPrefixLength
(
)
)
==
nullptr
,
network_data_leader_ftd.cpp:381
ot::NetworkData::Leader
ot::NetworkData::Leader::Validate()
PrefixTlv
*
dstPrefix
=
FindPrefix
(
aPrefix
.
GetPrefix
(
)
,
aPrefix
.
GetPrefixLength
(
)
)
;
network_data_leader_ftd.cpp:753
ot::NetworkData::Leader
ot::NetworkData::Leader::AddPrefix()
dstPrefix
->
Init
(
aPrefix
.
GetDomainId
(
)
,
aPrefix
.
GetPrefixLength
(
)
,
aPrefix
.
GetPrefix
(
)
)
;
network_data_leader_ftd.cpp:760
ot::NetworkData::Leader
ot::NetworkData::Leader::AddPrefix()
void
CopyPrefixTo
(
Ip6
::
Prefix
&
aPrefix
)
const
{
aPrefix
.
Set
(
GetPrefix
(
)
,
GetPrefixLength
(
)
)
;
}
network_data_tlvs.hpp:655
ot::NetworkData::PrefixTlv
ot::NetworkData::PrefixTlv::CopyPrefixTo() const
bool
IsEqual
(
Ip6
::
Prefix
&
aPrefix
)
const
{
return
aPrefix
.
IsEqual
(
GetPrefix
(
)
,
GetPrefixLength
(
)
)
;
}
network_data_tlvs.hpp:665
ot::NetworkData::PrefixTlv
ot::NetworkData::PrefixTlv::IsEqual() const
(
Ip6
::
Prefix
::
MatchLength
(
GetPrefix
(
)
,
aPrefix
,
Ip6
::
Prefix
::
SizeForLength
(
aPrefixLength
)
)
>=
network_data_tlvs.hpp:679
ot::NetworkData::PrefixTlv
ot::NetworkData::PrefixTlv::IsEqual() const
return
reinterpret_cast
<
const
NetworkDataTlv
*
>
(
GetPrefix
(
)
+
Ip6
::
Prefix
::
SizeForLength
(
mPrefixLength
)
)
;
network_data_tlvs.hpp:700
ot::NetworkData::PrefixTlv
ot::NetworkData::PrefixTlv::GetSubTlvs() const
Call Tree
from
examples
ot::NetworkData::PrefixTlv::GetPrefix() const
is called by 6 functions:
ot::NetworkData::PrefixTlv::CopyPrefixTo() const
ot::NetworkData::PrefixTlv::IsEqual() const
ot::NetworkData::PrefixTlv::GetSubTlvs() const
ot::NetworkData::Leader::FindNextMatchingPrefixTlv() const
ot::NetworkData::Leader::Validate()
ot::NetworkData::Leader::AddPrefix()
All items filtered out
ot::NetworkData::PrefixTlv::GetPrefix() const
All items filtered out
Data Use
from
examples
All items filtered out
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