ESP-IDF
ot::Neighbor::GetRloc16() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/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::Neighbor::GetRloc16() const
ot::Neighbor::GetRloc16() const method
Gets the RLOC16 value.
Syntax
Show:
Summary
Declaration
from
neighbor.hpp:442
uint16_t
GetRloc16
(
void
)
const
;
Return value
The RLOC16 value.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
GetRloc16
(
void
)
const
{
return
mRloc16
;
}
neighbor.hpp:442
mRloc16
=
aChild
.
GetRloc16
(
)
;
child.cpp:50
ot::Child::Info::SetFrom()
mChildId
=
Mle
::
ChildIdFromRloc16
(
aChild
.
GetRloc16
(
)
)
;
child.cpp:51
ot::Child::Info::SetFrom()
LogInfo
(
"Sending supervision message to child 0x%04x"
,
aChild
.
GetRloc16
(
)
)
;
child_supervision.cpp:83
ot::ChildSupervisor::SendMessage()
if
(
iter
.
GetChildInfo
(
)
.
GetRloc16
(
)
==
aChild
.
GetRloc16
(
)
)
child_table.cpp:272
ot::ChildTable::RemoveStoredChild()
childInfo
.
SetRloc16
(
aChild
.
GetRloc16
(
)
)
;
child_table.cpp:289
ot::ChildTable::StoreChild()
LogInfo
(
"CSL tx to child %04x failed, attempt %d/%d"
,
aChild
.
GetRloc16
(
)
,
aChild
.
GetCslTxAttempts
(
)
,
csl_tx_scheduler.cpp:288
ot::CslTxScheduler::HandleSentFrame()
LogInfo
(
"Rx data poll, src:0x%04x, qed_msgs:%d, rss:%d, ack-fp:%d"
,
child
->
GetRloc16
(
)
,
indirectMsgCount
,
data_poll_handler.cpp:147
ot::DataPollHandler::HandleDataPoll()
LogInfo
(
"Indirect tx to child %04x failed, attempt %d/%d"
,
aChild
.
GetRloc16
(
)
,
aChild
.
GetIndirectTxAttempts
(
)
,
data_poll_handler.cpp:252
ot::DataPollHandler::HandleSentFrame()
aDest
.
SetShort
(
parent
.
GetRloc16
(
)
)
;
data_poll_sender.cpp:145
ot::DataPollSender
ot::DataPollSender::GetPollDestinationAddress() const
messageInfo
.
SetSockAddrToRlocPeerAddrTo
(
aChild
.
GetRloc16
(
)
)
;
dua_manager.cpp:730
ot::DuaManager::SendAddressNotification()
LogInfo
(
"Sent %s for child %04x DUA %s"
,
UriToString
<
kUriDuaRegistrationNotify
>
(
)
,
aChild
.
GetRloc16
(
)
,
dua_manager.cpp:734
ot::DuaManager::SendAddressNotification()
LogWarn
(
"Sent %s for child %04x DUA %s Error %s"
,
UriToString
<
kUriDuaRegistrationNotify
>
(
)
,
aChild
.
GetRloc16
(
)
,
dua_manager.cpp:744
ot::DuaManager::SendAddressNotification()
aMacAddress
.
SetShort
(
static_cast
<
const
Child
*
>
(
this
)
->
GetRloc16
(
)
)
;
indirect_sender.cpp:46
ot::IndirectSender::ChildInfo::GetMacAddress() const
mIsThisDeviceParent
=
mle
.
IsChild
(
)
&&
(
mRloc16
==
mle
.
GetParent
(
)
.
GetRloc16
(
)
)
;
mesh_diag.cpp:502
ot::Utils::MeshDiag::RouterInfo::ParseFrom()
if
(
aAllowNeighborRemove
&&
(
Mle
::
IsRouterRloc16
(
aNeighbor
.
GetRloc16
(
)
)
)
&&
mesh_forwarder.cpp:1162
ot::MeshForwarder
ot::MeshForwarder::UpdateNeighborLinkFailures()
aNeighbor
.
GetExtAddress
(
)
.
ToString
(
)
.
AsCString
(
)
,
aNeighbor
.
GetRloc16
(
)
)
;
mesh_forwarder.cpp:1184
ot::MeshForwarder
ot::MeshForwarder::HandleDeferredAck()
mMeshDest
=
neighbor
->
GetRloc16
(
)
;
mesh_forwarder_ftd.cpp:431
ot::MeshForwarder
ot::MeshForwarder::UpdateIp6RouteFtd()
LogInfo
(
"Large key seq jump in peer class msg from 0x%04x "
,
aRxInfo
.
mNeighbor
->
GetRloc16
(
)
)
;
mle.cpp:2601
ot::Mle::Mle
ot::Mle::Mle::ProcessKeySequence()
if
(
IsRouterRloc16
(
aNeighbor
.
GetRloc16
(
)
)
)
mle.cpp:2637
ot::Mle::Mle
ot::Mle::Mle::ReestablishLinkWithNeighbor()
VerifyOrExit
(
aRxInfo
.
IsNeighborStateValid
(
)
&&
IsRouterRloc16
(
aRxInfo
.
mNeighbor
->
GetRloc16
(
)
)
,
mle_router.cpp:703
ot::Mle::MleRouter
ot::Mle::MleRouter::HandleLinkRequest()
if
(
aNeighbor
!=
nullptr
&&
IsRouterRloc16
(
aNeighbor
->
GetRloc16
(
)
)
)
mle_router.cpp:767
ot::Mle::MleRouter
ot::Mle::MleRouter::SendLinkAccept()
if
(
aRxInfo
.
mNeighbor
&&
aRxInfo
.
mNeighbor
->
GetRloc16
(
)
!=
sourceAddress
)
mle_router.cpp:895
ot::Mle::MleRouter
ot::Mle::MleRouter::HandleLinkAccept()
neighborRloc16
=
aRxInfo
.
mNeighbor
->
GetRloc16
(
)
;
mle_router.cpp:1064
ot::Mle::MleRouter
ot::Mle::MleRouter::ProcessRouteTlv()
Get
<
AddressResolver
>
(
)
.
ReplaceEntriesForRloc16
(
aRxInfo
.
mNeighbor
->
GetRloc16
(
)
,
router
->
GetRloc16
(
)
)
;
mle_router.cpp:1309
ot::Mle::MleRouter::HandleAdvertisementOnFtd()
if
(
aRxInfo
.
mNeighbor
&&
aRxInfo
.
mNeighbor
->
GetRloc16
(
)
!=
aSourceAddress
)
mle_router.cpp:1328
ot::Mle::MleRouter
ot::Mle::MleRouter::HandleAdvertisementOnFtd()
aChild
.
GetRloc16
(
)
)
;
mle_router.cpp:1796
ot::Mle::MleRouter::ProcessAddressRegistrationTlv()
LogInfo
(
"Child 0x%04x IPv6 address[%u]=%s"
,
aChild
.
GetRloc16
(
)
,
storedCount
,
mle_router.cpp:1829
ot::Mle::MleRouter::ProcessAddressRegistrationTlv()
address
.
ToString
(
)
.
AsCString
(
)
,
aChild
.
GetRloc16
(
)
)
;
mle_router.cpp:1835
ot::Mle::MleRouter::ProcessAddressRegistrationTlv()
LogInfo
(
"Child 0x%04x has no registered IPv6 address"
,
aChild
.
GetRloc16
(
)
)
;
mle_router.cpp:1876
ot::Mle::MleRouter::ProcessAddressRegistrationTlv()
LogInfo
(
"Child 0x%04x has %u registered IPv6 address%s, %u address%s stored"
,
aChild
.
GetRloc16
(
)
,
count
,
mle_router.cpp:1880
ot::Mle::MleRouter::ProcessAddressRegistrationTlv()
LogNote
(
"Child 0x%04x mode change 0x%02x -> 0x%02x [%s]"
,
child
->
GetRloc16
(
)
,
oldMode
.
Get
(
)
,
mle_router.cpp:2265
ot::Mle::MleRouter::HandleChildUpdateRequestOnParent()
if
(
(
aRxInfo
.
mNeighbor
==
nullptr
)
||
IsRouterRloc16
(
aRxInfo
.
mNeighbor
->
GetRloc16
(
)
)
||
mle_router.cpp:2322
ot::Mle::MleRouter
ot::Mle::MleRouter::HandleChildUpdateResponseOnParent()
Log
(
kMessageReceive
,
kTypeChildUpdateResponseOfChild
,
aRxInfo
.
mMessageInfo
.
GetPeerAddr
(
)
,
child
->
GetRloc16
(
)
)
;
mle_router.cpp:2344
ot::Mle::MleRouter::HandleChildUpdateResponseOnParent()
if
(
child
->
GetRloc16
(
)
!=
sourceAddress
)
mle_router.cpp:2349
ot::Mle::MleRouter::HandleChildUpdateResponseOnParent()
if
(
(
aChild
.
GetRloc16
(
)
==
0
)
||
!
HasMatchingRouterIdWith
(
aChild
.
GetRloc16
(
)
)
)
mle_router.cpp:2753
ot::Mle::MleRouter::SendChildIdResponse()
SuccessOrExit
(
error
=
message
->
AppendAddress16Tlv
(
aChild
.
GetRloc16
(
)
)
)
;
mle_router.cpp:2774
ot::Mle::MleRouter::SendChildIdResponse()
Log
(
kMessageSend
,
kTypeChildIdResponse
,
destination
,
aChild
.
GetRloc16
(
)
)
;
mle_router.cpp:2827
ot::Mle::MleRouter::SendChildIdResponse()
Log
(
kMessageSend
,
kTypeChildUpdateRequestOfChild
,
destination
,
aChild
.
GetRloc16
(
)
)
;
mle_router.cpp:2896
ot::Mle::MleRouter::SendChildUpdateRequest()
Log
(
kMessageSend
,
kTypeChildUpdateResponseOfChild
,
aMessageInfo
.
GetPeerAddr
(
)
,
aChild
->
GetRloc16
(
)
)
;
mle_router.cpp:2998
ot::Mle::MleRouter::SendChildUpdateResponse()
else
if
(
IsChildRloc16
(
aNeighbor
.
GetRloc16
(
)
)
)
mle_router.cpp:3116
ot::Mle::MleRouter
ot::Mle::MleRouter::RemoveNeighbor()
Get
<
AddressResolver
>
(
)
.
RemoveEntriesForRloc16
(
aNeighbor
.
GetRloc16
(
)
)
;
mle_router.cpp:3129
ot::Mle::MleRouter
ot::Mle::MleRouter::RemoveNeighbor()
SuccessOrExit
(
Tlv
::
Append
<
ThreadRloc16Tlv
>
(
*
message
,
aRouter
->
GetRloc16
(
)
)
)
;
mle_router.cpp:3478
ot::Mle::MleRouter::SendAddressSolicitResponse()
VerifyOrExit
(
oldRloc16
!=
aRouter
->
GetRloc16
(
)
)
;
mle_router.cpp:3506
ot::Mle::MleRouter::SendAddressSolicitResponse()
VerifyOrExit
(
mShortAddress
==
aNeighbor
.
GetRloc16
(
)
)
;
neighbor.cpp:71
ot::Neighbor::AddressMatcher
ot::Neighbor::AddressMatcher::Matches() const
mRloc16
=
aNeighbor
.
GetRloc16
(
)
;
neighbor.cpp:91
ot::Neighbor::Info
ot::Neighbor::Info::SetFrom()
tlvValue
.
SetRloc16
(
aChild
.
GetRloc16
(
)
)
;
network_diagnostic.cpp:766
ot::NetworkDiagnostic::Server::AppendChildIp6AddressListTlv()
mRloc16
=
BigEndian
::
HostSwap16
(
aChild
.
GetRloc16
(
)
)
;
network_diagnostic_tlvs.cpp:55
ot::NetworkDiagnostic::ChildTlv::InitFrom()
mRloc16
=
BigEndian
::
HostSwap16
(
aRouter
.
GetRloc16
(
)
)
;
network_diagnostic_tlvs.cpp:85
ot::NetworkDiagnostic::RouterNeighborTlv::InitFrom()
mRloc16
=
aRouter
.
GetRloc16
(
)
;
router.cpp:43
ot::Router::Info::SetFrom()
VerifyOrExit
(
!
Get
<
Mle
::
Mle
>
(
)
.
HasRloc16
(
aRouter
.
GetRloc16
(
)
)
&&
aRouter
.
IsStateValid
(
)
)
;
router_table.cpp:357
ot::RouterTable::GetLinkCost() const
aNextHopRloc16
=
parent
.
GetRloc16
(
)
;
router_table.cpp:421
ot::RouterTable::GetNextHopAndPathCost() const
destIsParentOrItsChild
=
Mle
::
RouterIdMatch
(
aDestRloc16
,
parent
.
GetRloc16
(
)
)
;
router_table.cpp:429
ot::RouterTable::GetNextHopAndPathCost() const
aNextHopRloc16
=
router
->
GetRloc16
(
)
;
router_table.cpp:463
ot::RouterTable::GetNextHopAndPathCost() const
aNextHopRloc16
=
nextHop
->
GetRloc16
(
)
;
router_table.cpp:476
ot::RouterTable::GetNextHopAndPathCost() const
if
(
router
==
nullptr
||
Get
<
Mle
::
Mle
>
(
)
.
HasRloc16
(
router
->
GetRloc16
(
)
)
||
router
==
neighbor
)
router_table.cpp:620
ot::RouterTable::UpdateRoutes()
if
(
(
aNeighbor
!=
nullptr
)
&&
Mle
::
IsRouterRloc16
(
aNeighbor
->
GetRloc16
(
)
)
)
router_table.cpp:716
ot::RouterTable
ot::RouterTable::FillRouteTlv() const
LogWarn
(
"DecrementMessageCount(child 0x%04x) called when already at zero count."
,
aChild
.
GetRloc16
(
)
)
;
src_match_controller.cpp:65
ot::SourceMatchController::DecrementMessageCount()
error
=
Get
<
Radio
>
(
)
.
AddSrcMatchShortEntry
(
aChild
.
GetRloc16
(
)
)
;
src_match_controller.cpp:144
ot::SourceMatchController::AddAddress()
LogDebg
(
"Adding short addr: 0x%04x -- %s (%d)"
,
aChild
.
GetRloc16
(
)
,
ErrorToString
(
error
)
,
error
)
;
src_match_controller.cpp:146
ot::SourceMatchController::AddAddress()
LogDebg
(
"Clearing pending flag for 0x%04x"
,
aChild
.
GetRloc16
(
)
)
;
src_match_controller.cpp:168
ot::SourceMatchController::ClearEntry()
error
=
Get
<
Radio
>
(
)
.
ClearSrcMatchShortEntry
(
aChild
.
GetRloc16
(
)
)
;
src_match_controller.cpp:175
ot::SourceMatchController::ClearEntry()
LogDebg
(
"Clearing short addr: 0x%04x -- %s (%d)"
,
aChild
.
GetRloc16
(
)
,
ErrorToString
(
error
)
,
error
)
;
src_match_controller.cpp:177
ot::SourceMatchController::ClearEntry()
Call Tree
from
examples
ot::Neighbor::GetRloc16() const
is called by 16 functions:
ot::DataPollSender::GetPollDestinationAddress() const
ot::MeshForwarder::UpdateNeighborLinkFailures()
ot::MeshForwarder::HandleDeferredAck()
ot::MeshForwarder::UpdateIp6RouteFtd()
ot::Mle::Mle::ProcessKeySequence()
ot::Mle::Mle::ReestablishLinkWithNeighbor()
ot::Mle::MleRouter::HandleLinkRequest()
ot::Mle::MleRouter::SendLinkAccept()
ot::Mle::MleRouter::HandleLinkAccept()
ot::Mle::MleRouter::ProcessRouteTlv()
ot::Mle::MleRouter::HandleAdvertisementOnFtd()
ot::Mle::MleRouter::HandleChildUpdateResponseOnParent()
ot::Mle::MleRouter::RemoveNeighbor()
ot::Neighbor::AddressMatcher::Matches() const
ot::Neighbor::Info::SetFrom()
ot::RouterTable::FillRouteTlv() const
All items filtered out
ot::Neighbor::GetRloc16() const
All items filtered out
Data Use
from
examples
ot::Neighbor::GetRloc16() const
reads 1 variable and writes 28 variables:
ot::Neighbor::mRloc16
All items filtered out
ot::Neighbor::GetRloc16() const
ot::DataPollHandler::HandleDataPoll()
ot::DataPollHandler::HandleSentFrame()
ot::Child::Info::SetFrom()
ot::ChildSupervisor::SendMessage()
ot::ChildTable::RemoveStoredChild()
ot::ChildTable::StoreChild()
ot::CslTxScheduler::HandleSentFrame()
ot::DuaManager::SendAddressNotification()
ot::IndirectSender::ChildInfo::GetMacAddress() const
ot::Mle::MleRouter::HandleAdvertisementOnFtd()
ot::Mle::MleRouter::ProcessAddressRegistrationTlv()
ot::Mle::MleRouter::HandleChildUpdateRequestOnParent()
ot::Mle::MleRouter::HandleChildUpdateResponseOnParent()
ot::Mle::MleRouter::SendChildIdResponse()
ot::Mle::MleRouter::SendChildUpdateRequest()
ot::Mle::MleRouter::SendChildUpdateResponse()
ot::Mle::MleRouter::SendAddressSolicitResponse()
ot::NetworkDiagnostic::Server::AppendChildIp6AddressListTlv()
ot::NetworkDiagnostic::ChildTlv::InitFrom()
ot::NetworkDiagnostic::RouterNeighborTlv::InitFrom()
ot::Router::Info::SetFrom()
ot::RouterTable::GetLinkCost() const
ot::RouterTable::GetNextHopAndPathCost() const
ot::RouterTable::UpdateRoutes()
ot::SourceMatchController::DecrementMessageCount()
ot::SourceMatchController::AddAddress()
ot::SourceMatchController::ClearEntry()
ot::Utils::MeshDiag::RouterInfo::ParseFrom()
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