Home
last modified time | relevance | path

Searched refs:mRloc16 (Results 1 – 25 of 35) sorted by relevance

12

/openthread-3.6.0/include/openthread/
Dmesh_diag.h100 uint16_t mRloc16; ///< RLOC16. member
150 uint16_t mRloc16; ///< RLOC16. member
249 uint16_t mRloc16; ///< RLOC16. member
358 uint16_t mRloc16; ///< RLOC16. member
Dnetdata.h72 uint16_t mRloc16; ///< The border router's RLOC16 (value ignored on config add). member
93 …uint16_t mRloc16; ///< The border router's RLOC16 (value ignored on config add… member
124 uint16_t mRloc16; ///< The Server RLOC16. member
Dhistory_tracker.h85 uint16_t mRloc16; ///< Device RLOC16. member
186 uint16_t mRloc16; ///< Neighbor's RLOC16. member
Dthread.h95 uint16_t mRloc16; ///< RLOC16 member
135 uint16_t mRloc16; ///< RLOC16 member
212 uint16_t mRloc16; ///< Short address of the Parent member
Dthread_ftd.h63 uint16_t mRloc16; ///< RLOC16 member
104 otShortAddress mRloc16; ///< RLOC16 member
Dbackbone_router_ftd.h381 uint16_t mRloc16; ///< RLOC16 member
/openthread-3.6.0/tests/unit/
Dtest_child_table.cpp51 uint16_t mRloc16; member
66 return (aChild.GetState() == aTestChild.mState) && (aChild.GetRloc16() == aTestChild.mRloc16) && in ChildMatches()
135 child = aTable.FindChild(aChildList[listIndex].mRloc16, filter); in VerifyChildTableContent()
143 address.SetShort(aChildList[listIndex].mRloc16); in VerifyChildTableContent()
336 child->SetRloc16(testChildList[i].mRloc16); in TestChildTable()
358 child->SetRloc16(testChildList[i - 1].mRloc16); in TestChildTable()
Dtest_network_data.cpp54 …aConfig.mRloc16, aConfig.mPreference, aConfig.mNat64, aConfig.mStable, aConfig.mNextHopIsThisDevic… in PrintExternalRouteConfig()
66 …%d, rloc16:%04x, preference:%d, stable:%d, def-route:%d", aConfig.mPrefix.mLength, aConfig.mRloc16, in PrintOnMeshPrefixConfig()
75 …(aConfig1.mPrefix.mLength == aConfig2.mPrefix.mLength) && (aConfig1.mRloc16 == aConfig2.mRloc16) && in CompareExternalRouteConfig()
84 …(aConfig1.mPrefix.mLength == aConfig2.mPrefix.mLength) && (aConfig1.mRloc16 == aConfig2.mRloc16) && in CompareOnMeshPrefixConfig()
647 uint16_t mRloc16; in TestNetworkDataDsnSrpServices() member
656 … return (aInfo.mSockAddr == sockAddr) && (aInfo.mOrigin == mOrigin) && (aInfo.mRloc16 == mRloc16); in TestNetworkDataDsnSrpServices()
732 kOriginStrings[unicastInfo.mOrigin], unicastInfo.mRloc16); in TestNetworkDataDsnSrpServices()
/openthread-3.6.0/src/core/utils/
Dmesh_diag.cpp145 if (childIterator.InitFrom(*aMessage, routerInfo.mRloc16) == kErrorNone) in HandleDiagGetResponse()
494 SuccessOrExit(error = Tlv::Find<Address16Tlv>(aMessage, mRloc16)); in ParseFrom()
510 mRouterId = Mle::RouterIdFromRloc16(mRloc16); in ParseFrom()
511 mIsThisDevice = (mRloc16 == mle.GetRloc16()); in ParseFrom()
512 mIsThisDeviceParent = mle.IsChild() && (mRloc16 == mle.GetParent().GetRloc16()); in ParseFrom()
514 mIsBorderRouter = aMessage.Get<NetworkData::Leader>().ContainsBorderRouterWithRloc(mRloc16); in ParseFrom()
583 aChildInfo.mRloc16 = mParentRloc16 + entry.GetChildId(); in GetNextChildInfo()
587 aChildInfo.mIsThisDevice = (aChildInfo.mRloc16 == mMessage->Get<Mle::Mle>().GetRloc16()); in GetNextChildInfo()
588 …rderRouter = mMessage->Get<NetworkData::Leader>().ContainsBorderRouterWithRloc(aChildInfo.mRloc16); in GetNextChildInfo()
604 mRloc16 = aChildTlv.GetRloc16(); in SetFrom()
[all …]
Dhistory_tracker.cpp76 entry->mRloc16 = Get<Mle::Mle>().GetRloc16(); in RecordNetworkInfo()
201 entry->mRloc16 = aInfo.mInfo.mChild.mRloc16; in RecordNeighborEvent()
212 entry->mRloc16 = aInfo.mInfo.mRouter.mRloc16; in RecordNeighborEvent()
/openthread-3.6.0/src/core/thread/
Drouter.cpp48 mRloc16 = aRouter.GetRloc16(); in SetFrom()
49 mRouterId = Mle::RouterIdFromRloc16(mRloc16); in SetFrom()
Dnetwork_data.cpp326 while (GetNextOnMeshPrefix(iterator, aPrefix.mRloc16, prefix) == kErrorNone) in ContainsOnMeshPrefix()
344 while (GetNextExternalRoute(iterator, aRoute.mRloc16, route) == kErrorNone) in ContainsExternalRoute()
362 while (GetNextService(iterator, aService.GetServerConfig().mRloc16, service) == kErrorNone) in ContainsService()
695 aRloc16 = config.mOnMeshPrefix->mRloc16; in GetNextServer()
699 aRloc16 = config.mExternalRoute->mRloc16; in GetNextServer()
703 aRloc16 = config.mService->mServerConfig.mRloc16; in GetNextServer()
785 SuccessOrExit(error = rlocs.AddRloc16(route.mRloc16)); in FindBorderRouters()
797 SuccessOrExit(error = rlocs.AddRloc16(prefix.mRloc16)); in FindBorderRouters()
831 if (route.mRloc16 == aRloc16) in ContainsBorderRouterWithRloc()
841 if ((prefix.mRloc16 == aRloc16) && prefix.mOnMesh && (prefix.mDefaultRoute || prefix.mDp)) in ContainsBorderRouterWithRloc()
Dnetwork_diagnostic_tlvs.hpp735 uint16_t GetRloc16(void) const { return BigEndian::HostSwap16(mRloc16); } in GetRloc16()
865 uint16_t mRloc16; // RLOC16. member in ot::NetworkDiagnostic::ChildTlv
899 uint16_t GetRloc16(void) const { return BigEndian::HostSwap16(mRloc16); } in GetRloc16()
907 void SetRloc16(uint16_t aRloc16) { mRloc16 = BigEndian::HostSwap16(aRloc16); } in SetRloc16()
910 uint16_t mRloc16; member in ot::NetworkDiagnostic::ChildIp6AddressListTlvValue
957 uint16_t GetRloc16(void) const { return BigEndian::HostSwap16(mRloc16); } in GetRloc16()
1031 uint16_t mRloc16; // RLOC16. member in ot::NetworkDiagnostic::RouterNeighborTlv
Dneighbor.hpp486 uint16_t GetRloc16(void) const { return mRloc16; } in GetRloc16()
494 uint8_t GetRouterId(void) const { return mRloc16 >> Mle::kRouterIdOffset; } in GetRouterId()
502 void SetRloc16(uint16_t aRloc16) { mRloc16 = aRloc16; } in SetRloc16()
824 uint16_t mRloc16; ///< The RLOC16 member in ot::Neighbor
Dnetwork_data_types.cpp142 mRloc16 = aBorderRouterEntry.GetRloc(); in SetFrom()
209 mRloc16 = aHasRouteEntry.GetRloc(); in SetFrom()
232 mRloc16 = aServerTlv.GetServer16(); in SetFrom()
Daddress_resolver.hpp267 Mac::ShortAddress GetRloc16(void) const { return mRloc16; } in GetRloc16()
268 void SetRloc16(Mac::ShortAddress aRloc16) { mRloc16 = aRloc16; } in SetRloc16()
299 Mac::ShortAddress mRloc16; member in ot::AddressResolver::CacheEntry
Dnetwork_data_service.cpp291 aInfo.mRloc16 = aIterator.mServerSubTlv->GetServer16(); in GetNextDnsSrpUnicastInfo()
304 aInfo.mRloc16 = aIterator.mServerSubTlv->GetServer16(); in GetNextDnsSrpUnicastInfo()
327 aInfo.mRloc16 = Mle::kInvalidRloc16; in GetNextDnsSrpUnicastInfo()
Dnetwork_diagnostic_tlvs.cpp55 mRloc16 = BigEndian::HostSwap16(aChild.GetRloc16()); in InitFrom()
85 mRloc16 = BigEndian::HostSwap16(aRouter.GetRloc16()); in InitFrom()
Dneighbor.cpp96 mRloc16 = aNeighbor.GetRloc16(); in SetFrom()
/openthread-3.6.0/src/core/common/
Dsettings.hpp193 uint16_t GetRloc16(void) const { return LittleEndian::HostSwap16(mRloc16); } in GetRloc16()
201 void SetRloc16(uint16_t aRloc16) { mRloc16 = LittleEndian::HostSwap16(aRloc16); } in SetRloc16()
329 uint16_t mRloc16; ///< RLOC16 member in ot::SettingsBase::NetworkInfo
462 uint16_t GetRloc16(void) const { return LittleEndian::HostSwap16(mRloc16); } in GetRloc16()
470 void SetRloc16(uint16_t aRloc16) { mRloc16 = LittleEndian::HostSwap16(aRloc16); } in SetRloc16()
509 uint16_t mRloc16; ///< RLOC16 member in ot::SettingsBase::ChildInfo
/openthread-3.6.0/src/core/backbone_router/
Dndproxy_table.hpp114 uint16_t GetRloc16(void) const { return mRloc16; } in GetRloc16()
141 uint16_t mRloc16; member in ot::BackboneRouter::NdProxyTable::NdProxy
Dndproxy_table.cpp70 mRloc16 = aRloc16; in Update()
338 aNdProxyInfo.mRloc16 = proxy.mRloc16; in GetInfo()
/openthread-3.6.0/src/cli/
Dcli_network_data.cpp120 OutputLine(" %s %04x", Interpreter::PreferenceToString(aConfig.mPreference), aConfig.mRloc16); in OutputPrefix()
158 OutputLine(" %s %04x", Interpreter::PreferenceToString(aConfig.mPreference), aConfig.mRloc16); in OutputRoute()
173 OutputLine(" %04x", aConfig.mServerConfig.mRloc16); in OutputService()
Dcli_history.cpp411 …List ? " rloc16:0x%04x mode:%s rss:%d" : " | 0x%04x | %-4s | %7d |", info->mRloc16, linkModeString, in Process()
677 …Interpreter::LinkModeToString(info->mMode, linkModeString), info->mRloc16, ToUlong(info->mPartitio… in Process()
1344 … Interpreter::PreferenceToString(info->mPrefix.mPreference), info->mPrefix.mRloc16); in Process()
1433 Interpreter::PreferenceToString(info->mRoute.mPreference), info->mRoute.mRloc16); in Process()
Dcli.cpp1588 OutputFormat("| 0x%04x ", childInfo.mRloc16); in Process()
1649 OutputLine("Rloc: %04x", childInfo.mRloc16); in Process()
1704 OutputFormat("%04x: ", childInfo.mRloc16); in Process()
2627 OutputFormat(" %04x", aEntry.mRloc16); in OutputEidCacheEntry()
4204 OutputFormat(", RLOC16:0x%04x, Radios:", neighInfo.mRloc16); in Process()
4313 OutputFormat("| 0x%04x ", neighborInfo.mRloc16); in Process()
4336 OutputFormat("0x%04x ", neighborInfo.mRloc16); in Process()
4371 OutputFormat("| 0x%04x | ", neighborInfo.mRloc16); in Process()
4444 OutputFormat("| 0x%04x | ", neighborInfo.mRloc16); in Process()
4453 OutputFormat("0x%04x ", neighborInfo.mRloc16); in Process()
[all …]

12