/openthread-3.6.0/src/core/thread/ |
D | src_match_controller.cpp | 74 …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()
|
D | router_table.cpp | 271 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 …]
|
D | mle_router.cpp | 448 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 …]
|
D | child_table.cpp | 244 child->SetRloc16(childInfo.GetRloc16()); in Restore() 273 if (iter.GetChildInfo().GetRloc16() == aChild.GetRloc16()) in RemoveStoredChild() 290 childInfo.SetRloc16(aChild.GetRloc16()); in StoreChild()
|
D | address_resolver.cpp | 128 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 …]
|
D | network_data_local.cpp | 162 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()
|
D | network_data_notifier.cpp | 140 …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()
|
D | neighbor.cpp | 76 VerifyOrExit(mShortAddress == aNeighbor.GetRloc16()); in Matches() 96 mRloc16 = aNeighbor.GetRloc16(); in SetFrom()
|
D | mle.cpp | 201 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 …]
|
D | network_diagnostic_tlvs.cpp | 55 mRloc16 = BigEndian::HostSwap16(aChild.GetRloc16()); in InitFrom() 85 mRloc16 = BigEndian::HostSwap16(aRouter.GetRloc16()); in InitFrom()
|
D | router.cpp | 48 mRloc16 = aRouter.GetRloc16(); in SetFrom()
|
D | child.cpp | 52 mRloc16 = aChild.GetRloc16(); in SetFrom() 53 mChildId = Mle::ChildIdFromRloc16(aChild.GetRloc16()); in SetFrom()
|
D | network_diagnostic_tlvs.hpp | 735 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
|
D | anycast_locator.cpp | 134 SuccessOrExit(Tlv::Append<ThreadRloc16Tlv>(*message, Get<Mle::Mle>().GetRloc16())); in HandleTmf()
|
D | child_supervision.cpp | 88 LogInfo("Sending supervision message to child 0x%04x", aChild.GetRloc16()); in SendMessage()
|
D | dua_manager.cpp | 741 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()
|
D | network_data_types.cpp | 210 … mNextHopIsThisDevice = (aHasRouteEntry.GetRloc() == aInstance.Get<Mle::MleRouter>().GetRloc16()); in SetFrom()
|
/openthread-3.6.0/src/core/utils/ |
D | mesh_diag.cpp | 417 …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/ |
D | test_child_table.cpp | 66 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/ |
D | nd_agent.cpp | 51 uint16_t rloc16 = Get<Mle::MleRouter>().GetRloc16(); in UpdateService()
|
/openthread-3.6.0/src/core/mac/ |
D | data_poll_handler.cpp | 150 …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/ |
D | bbr_local.cpp | 186 … Get<BackboneRouter::Leader>().GetServer16() == Get<Mle::MleRouter>().GetRloc16()); in AddService() 269 else if (aConfig.mServer16 != Get<Mle::MleRouter>().GetRloc16()) in HandleBackboneRouterPrimaryUpdate()
|
D | ndproxy_table.hpp | 114 uint16_t GetRloc16(void) const { return mRloc16; } in GetRloc16() function in ot::BackboneRouter::NdProxyTable::NdProxy
|
/openthread-3.6.0/src/core/common/ |
D | settings.cpp | 58 ActionToString(aAction), GetRloc16(), GetExtAddress().ToString().AsCString(), in Log() 76 …GetRloc16(), GetExtAddress().ToString().AsCString(), ToUlong(GetTimeout()), GetMode(), GetVersion(… in Log()
|
D | settings.hpp | 193 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
|