ESP-IDF
ot::NetworkData::HasRouteEntry::GetRloc() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
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::NetworkData::HasRouteEntry::GetRloc() const
ot::NetworkData::HasRouteEntry::GetRloc() const method
Returns the RLOC16 value.
Syntax
Show:
Summary
Declaration
from
network_data_tlvs.hpp:393
uint16_t
GetRloc
(
void
)
const
;
Return value
The RLOC16 value.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
GetRloc
(
void
)
const
{
return
BigEndian
::
HostSwap16
(
mRloc
)
;
}
network_data_tlvs.hpp:393
if
(
aRloc16
==
Mac
::
kShortAddrBroadcast
||
hasRoute
->
GetEntry
(
index
)
->
GetRloc
(
)
==
aRloc16
)
network_data.cpp:232
ot::NetworkData::NetworkData
ot::NetworkData::NetworkData::Iterate() const
return
CompareRouteEntries
(
aFirst
.
GetPreference
(
)
,
aFirst
.
GetRloc
(
)
,
aSecond
.
GetPreference
(
)
,
aSecond
.
GetRloc
(
)
)
;
network_data_leader.cpp:324
ot::NetworkData::Leader
ot::NetworkData::Leader::CompareRouteEntries() const
aRloc16
=
bestRouteEntry
->
GetRloc
(
)
;
network_data_leader.cpp:413
ot::NetworkData::Leader
ot::NetworkData::Leader::ExternalRouteLookup() const
VerifyOrExit
(
hasRoute
->
GetFirstEntry
(
)
->
GetRloc
(
)
==
aRloc16
)
;
network_data_leader_ftd.cpp:479
ot::NetworkData::Leader
ot::NetworkData::Leader::ValidatePrefix()
if
(
RlocMatch
(
entry
->
GetRloc
(
)
,
aRloc16
,
aMatchMode
)
&&
network_data_leader_ftd.cpp:1194
ot::NetworkData::Leader
ot::NetworkData::Leader::RemoveRlocInHasRoute()
if
(
(
entryPreference
>
preference
)
||
IsPreferred
(
entry
->
GetRloc
(
)
)
)
network_data_publisher.cpp:1029
ot::NetworkData::Publisher::PrefixEntry
ot::NetworkData::Publisher::PrefixEntry::CountExternalRouteEntries() const
mRloc16
=
aHasRouteEntry
.
GetRloc
(
)
;
network_data_types.cpp:208
ot::NetworkData::ExternalRouteConfig
ot::NetworkData::ExternalRouteConfig::SetFrom()
mNextHopIsThisDevice
=
(
aHasRouteEntry
.
GetRloc
(
)
==
aInstance
.
Get
<
Mle
::
MleRouter
>
(
)
.
GetRloc16
(
)
)
;
network_data_types.cpp:209
ot::NetworkData::ExternalRouteConfig
ot::NetworkData::ExternalRouteConfig::SetFrom()
Call Tree
from
examples
ot::NetworkData::HasRouteEntry::GetRloc() const
is called by 7 functions and calls 1 function:
ot::NetworkData::NetworkData::Iterate() const
ot::NetworkData::Leader::CompareRouteEntries() const
ot::NetworkData::Leader::ExternalRouteLookup() const
ot::NetworkData::Leader::ValidatePrefix()
ot::NetworkData::Leader::RemoveRlocInHasRoute()
ot::NetworkData::Publisher::PrefixEntry::CountExternalRouteEntries() const
ot::NetworkData::ExternalRouteConfig::SetFrom()
All items filtered out
ot::NetworkData::HasRouteEntry::GetRloc() const
ot::BigEndian::HostSwap16()
All items filtered out
Data Use
from
examples
ot::NetworkData::HasRouteEntry::GetRloc() const
reads 1 variable:
ot::NetworkData::HasRouteEntry::mRloc
All items filtered out
ot::NetworkData::HasRouteEntry::GetRloc() 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