Home
last modified time | relevance | path

Searched refs:GetRloc16 (Results 1 – 25 of 48) sorted by relevance

12

/openthread-3.6.0/src/core/thread/
Dsrc_match_controller.cpp74 …Warn("DecrementMessageCount(child 0x%04x) called when already at zero count.", aChild.GetRloc16()); in DecrementMessageCount()
153 error = Get<Radio>().AddSrcMatchShortEntry(aChild.GetRloc16()); in AddAddress()
155 … LogDebg("Adding short addr: 0x%04x -- %s (%d)", aChild.GetRloc16(), ErrorToString(error), error); in AddAddress()
177 LogDebg("Clearing pending flag for 0x%04x", aChild.GetRloc16()); in ClearEntry()
184 error = Get<Radio>().ClearSrcMatchShortEntry(aChild.GetRloc16()); in ClearEntry()
186 …LogDebg("Clearing short addr: 0x%04x -- %s (%d)", aChild.GetRloc16(), ErrorToString(error), error); in ClearEntry()
Drouter_table.cpp271 VerifyOrExit(aRloc16 != Get<Mle::MleRouter>().GetRloc16()); in FindNeighbor()
365 … VerifyOrExit(aRouter.GetRloc16() != Get<Mle::MleRouter>().GetRloc16() && aRouter.IsStateValid()); in GetLinkCost()
415 if (aDestRloc16 == Get<Mle::Mle>().GetRloc16()) in GetNextHopAndPathCost()
434 aNextHopRloc16 = parent.GetRloc16(); in GetNextHopAndPathCost()
456 if (destRouterId == Mle::RouterIdFromRloc16(Get<Mle::Mle>().GetRloc16())) in GetNextHopAndPathCost()
474 aNextHopRloc16 = router->GetRloc16(); in GetNextHopAndPathCost()
487 aNextHopRloc16 = nextHop->GetRloc16(); in GetNextHopAndPathCost()
596 if (routerId != Mle::RouterIdFromRloc16(Get<Mle::Mle>().GetRloc16())) in UpdateRoutes()
631 … if (router == nullptr || router->GetRloc16() == Get<Mle::Mle>().GetRloc16() || router == neighbor) in UpdateRoutes()
727 if ((aNeighbor != nullptr) && Mle::IsActiveRouter(aNeighbor->GetRloc16())) in FillRouteTlv()
[all …]
Dmle_router.cpp448 if (RouterIdFromRloc16(child.GetRloc16()) != mRouterId) in SetStateRouterOrLeader()
715 … VerifyOrExit(aRxInfo.IsNeighborStateValid() && IsActiveRouter(aRxInfo.mNeighbor->GetRloc16()), in HandleLinkRequest()
783 if (aNeighbor != nullptr && IsActiveRouter(aNeighbor->GetRloc16())) in SendLinkAccept()
798 SuccessOrExit(error = message->AppendAddress16Tlv(aNeighbor->GetRloc16())); in SendLinkAccept()
913 if (aRxInfo.mNeighbor && aRxInfo.mNeighbor->GetRloc16() != sourceAddress) in HandleLinkAccept()
945 VerifyOrExit(GetRloc16() == address16, error = kErrorDrop); in HandleLinkAccept()
958 if (mLeaderData.GetLeaderRouterId() == RouterIdFromRloc16(GetRloc16())) in HandleLinkAccept()
960 SetStateLeader(GetRloc16(), kRestoringLeaderRoleAfterReset); in HandleLinkAccept()
964 SetStateRouter(GetRloc16()); in HandleLinkAccept()
1088 neighborRloc16 = aRxInfo.mNeighbor->GetRloc16(); in ProcessRouteTlv()
[all …]
Dchild_table.cpp244 child->SetRloc16(childInfo.GetRloc16()); in Restore()
273 if (iter.GetChildInfo().GetRloc16() == aChild.GetRloc16()) in RemoveStoredChild()
290 childInfo.SetRloc16(aChild.GetRloc16()); in StoreChild()
Daddress_resolver.cpp128 aInfo.mRloc16 = entry->GetRloc16(); in GetNextCacheEntry()
190 if ((aMatchRouterId && Mle::RouterIdMatch(entry->GetRloc16(), aRloc16)) || in Remove()
191 (!aMatchRouterId && (entry->GetRloc16() == aRloc16))) in Remove()
251 if (entry.GetRloc16() == aOldRloc16) in ReplaceEntriesForRloc16()
356 VerifyOrExit(entry->GetRloc16() != aRloc16); in UpdateCacheEntry()
498 if (Get<RouterTable>().GetNextHop(entry->GetRloc16()) == Mle::kInvalidRloc16) in Resolve()
517 aRloc16 = entry->GetRloc16(); in Resolve()
641 uint16_t selfRloc16 = Get<Mle::MleRouter>().GetRloc16(); in SendAddressQuery()
825 … SuccessOrExit(error = Get<Mle::Mle>().GetLocatorAddress(destination, child.GetRloc16())); in HandleTmf()
908 … SuccessOrExit(error = Tlv::Append<ThreadRloc16Tlv>(*message, Get<Mle::MleRouter>().GetRloc16())); in SendAddressQueryResponse()
[all …]
Dnetwork_data_local.cpp162 uint16_t rloc16 = Get<Mle::MleRouter>().GetRloc16(); in UpdateRloc()
207 serverTlv->Init(Get<Mle::MleRouter>().GetRloc16(), aServerData); in AddService()
247 uint16_t rloc16 = Get<Mle::MleRouter>().GetRloc16(); in UpdateRloc()
Dnetwork_data_notifier.cpp140 …if (!Mle::IsActiveRouter(rloc16) && Mle::RouterIdMatch(Get<Mle::MleRouter>().GetRloc16(), rloc16) … in RemoveStaleChildEntries()
157 uint16_t deviceRloc = Get<Mle::MleRouter>().GetRloc16(); in UpdateInconsistentData()
297 uint16_t rloc16 = Get<Mle::Mle>().GetRloc16(); in IsEligibleForRouterRoleUpgradeAsBorderRouter()
Dneighbor.cpp76 VerifyOrExit(mShortAddress == aNeighbor.GetRloc16()); in Matches()
96 mRloc16 = aNeighbor.GetRloc16(); in SetFrom()
Dmle.cpp201 SetRloc16(GetRloc16()); in Start()
212 if ((aMode == kAnnounceAttach) || (GetRloc16() == Mac::kShortAddrInvalid)) in Start()
217 else if (IsActiveRouter(GetRloc16())) in Start()
406 if (!IsActiveRouter(networkInfo.GetRloc16())) in Restore()
409 Get<Mac::Mac>().SetShortAddress(networkInfo.GetRloc16()); in Restore()
410 mRloc16 = networkInfo.GetRloc16(); in Restore()
416 if (networkInfo.GetRloc16() == Mac::kShortAddrInvalid) in Restore()
421 if (!IsActiveRouter(networkInfo.GetRloc16())) in Restore()
432 networkInfo.GetRloc16()); in Restore()
441 mParent.SetRloc16(Rloc16FromRouterId(RouterIdFromRloc16(networkInfo.GetRloc16()))); in Restore()
[all …]
Dnetwork_diagnostic_tlvs.cpp55 mRloc16 = BigEndian::HostSwap16(aChild.GetRloc16()); in InitFrom()
85 mRloc16 = BigEndian::HostSwap16(aRouter.GetRloc16()); in InitFrom()
Drouter.cpp48 mRloc16 = aRouter.GetRloc16(); in SetFrom()
Dchild.cpp52 mRloc16 = aChild.GetRloc16(); in SetFrom()
53 mChildId = Mle::ChildIdFromRloc16(aChild.GetRloc16()); in SetFrom()
Dnetwork_diagnostic_tlvs.hpp735 uint16_t GetRloc16(void) const { return BigEndian::HostSwap16(mRloc16); } in GetRloc16() function in ot::NetworkDiagnostic::ChildTlv
899 uint16_t GetRloc16(void) const { return BigEndian::HostSwap16(mRloc16); } in GetRloc16() function in ot::NetworkDiagnostic::ChildIp6AddressListTlvValue
957 uint16_t GetRloc16(void) const { return BigEndian::HostSwap16(mRloc16); } in GetRloc16() function in ot::NetworkDiagnostic::RouterNeighborTlv
Danycast_locator.cpp134 SuccessOrExit(Tlv::Append<ThreadRloc16Tlv>(*message, Get<Mle::Mle>().GetRloc16())); in HandleTmf()
Dchild_supervision.cpp88 LogInfo("Sending supervision message to child 0x%04x", aChild.GetRloc16()); in SendMessage()
Ddua_manager.cpp741 messageInfo.SetSockAddrToRlocPeerAddrTo(aChild.GetRloc16()); in SendAddressNotification()
745 …Info("Sent %s for child %04x DUA %s", UriToString<kUriDuaRegistrationNotify>(), aChild.GetRloc16(), in SendAddressNotification()
755 …t %s for child %04x DUA %s Error %s", UriToString<kUriDuaRegistrationNotify>(), aChild.GetRloc16(), in SendAddressNotification()
Dnetwork_data_types.cpp210 … mNextHopIsThisDevice = (aHasRouteEntry.GetRloc() == aInstance.Get<Mle::MleRouter>().GetRloc16()); in SetFrom()
/openthread-3.6.0/src/core/utils/
Dmesh_diag.cpp417 …mQueryChildrenIp6Addrs.mCallback.InvokeIfSet(kErrorPending, tlvValue.GetRloc16(), &ip6AddrIterator… in ProcessChildrenIp6AddrsAnswer()
511 mIsThisDevice = (mRloc16 == mle.GetRloc16()); in ParseFrom()
512 mIsThisDeviceParent = mle.IsChild() && (mRloc16 == mle.GetParent().GetRloc16()); in ParseFrom()
587 aChildInfo.mIsThisDevice = (aChildInfo.mRloc16 == mMessage->Get<Mle::Mle>().GetRloc16()); in GetNextChildInfo()
604 mRloc16 = aChildTlv.GetRloc16(); in SetFrom()
628 mRloc16 = aTlv.GetRloc16(); in SetFrom()
/openthread-3.6.0/tests/unit/
Dtest_child_table.cpp66 return (aChild.GetState() == aTestChild.mState) && (aChild.GetRloc16() == aTestChild.mRloc16) && in ChildMatches()
174 VerifyOrQuit(iter->GetRloc16() == child->GetRloc16(), "iter.operator->() failed"); in VerifyChildTableContent()
/openthread-3.6.0/src/core/net/
Dnd_agent.cpp51 uint16_t rloc16 = Get<Mle::MleRouter>().GetRloc16(); in UpdateService()
/openthread-3.6.0/src/core/mac/
Ddata_poll_handler.cpp150 …LogInfo("Rx data poll, src:0x%04x, qed_msgs:%d, rss:%d, ack-fp:%d", child->GetRloc16(), indirectMs… in HandleDataPoll()
255 …LogInfo("Indirect tx to child %04x failed, attempt %d/%d", aChild.GetRloc16(), aChild.GetIndirectT… in HandleSentFrame()
/openthread-3.6.0/src/core/backbone_router/
Dbbr_local.cpp186 … Get<BackboneRouter::Leader>().GetServer16() == Get<Mle::MleRouter>().GetRloc16()); in AddService()
269 else if (aConfig.mServer16 != Get<Mle::MleRouter>().GetRloc16()) in HandleBackboneRouterPrimaryUpdate()
Dndproxy_table.hpp114 uint16_t GetRloc16(void) const { return mRloc16; } in GetRloc16() function in ot::BackboneRouter::NdProxyTable::NdProxy
/openthread-3.6.0/src/core/common/
Dsettings.cpp58 ActionToString(aAction), GetRloc16(), GetExtAddress().ToString().AsCString(), in Log()
76GetRloc16(), GetExtAddress().ToString().AsCString(), ToUlong(GetTimeout()), GetMode(), GetVersion(… in Log()
Dsettings.hpp193 uint16_t GetRloc16(void) const { return LittleEndian::HostSwap16(mRloc16); } in GetRloc16() function in ot::SettingsBase::NetworkInfo
462 uint16_t GetRloc16(void) const { return LittleEndian::HostSwap16(mRloc16); } in GetRloc16() function in ot::SettingsBase::ChildInfo

12