Home
last modified time | relevance | path

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

12

/openthread-latest/tests/unit/
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()
638 uint16_t mRloc16; in TestNetworkDataDsnSrpServices() member
645 (aInfo.mSequenceNumber == mSequenceNumber) && (aInfo.mRloc16 == mRloc16); in TestNetworkDataDsnSrpServices()
653 uint16_t mRloc16; in TestNetworkDataDsnSrpServices() member
662 return (aInfo.mSockAddr == sockAddr) && (aInfo.mRloc16 == mRloc16); in TestNetworkDataDsnSrpServices()
737 anycastInfo.mSequenceNumber, anycastInfo.mRloc16); in TestNetworkDataDsnSrpServices()
765 unicastInfo.mRloc16); in TestNetworkDataDsnSrpServices()
[all …]
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()
/openthread-latest/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.h102 uint16_t mRloc16; ///< RLOC16 member
142 uint16_t mRloc16; ///< RLOC16 member
219 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-latest/src/core/utils/
Dmesh_diag.cpp144 if (childIterator.InitFrom(*aMessage, routerInfo.mRloc16) == kErrorNone) in HandleDiagGetResponse()
489 SuccessOrExit(error = Tlv::Find<Address16Tlv>(aMessage, mRloc16)); in ParseFrom()
505 mRouterId = Mle::RouterIdFromRloc16(mRloc16); in ParseFrom()
506 mIsThisDevice = mle.HasRloc16(mRloc16); in ParseFrom()
507 mIsThisDeviceParent = mle.IsChild() && (mRloc16 == mle.GetParent().GetRloc16()); in ParseFrom()
509 mIsBorderRouter = aMessage.Get<NetworkData::Leader>().ContainsBorderRouterWithRloc(mRloc16); in ParseFrom()
577 aChildInfo.mRloc16 = mParentRloc16 + entry.GetChildId(); in GetNextChildInfo()
581 aChildInfo.mIsThisDevice = mMessage->Get<Mle::Mle>().HasRloc16(aChildInfo.mRloc16); in GetNextChildInfo()
582 …rderRouter = mMessage->Get<NetworkData::Leader>().ContainsBorderRouterWithRloc(aChildInfo.mRloc16); in GetNextChildInfo()
598 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-latest/src/core/thread/
Dnetwork_diagnostic_tlvs.hpp755 uint16_t GetRloc16(void) const { return BigEndian::HostSwap16(mRloc16); } in GetRloc16()
885 uint16_t mRloc16; // RLOC16. member in ot::NetworkDiagnostic::ChildTlv
919 uint16_t GetRloc16(void) const { return BigEndian::HostSwap16(mRloc16); } in GetRloc16()
927 void SetRloc16(uint16_t aRloc16) { mRloc16 = BigEndian::HostSwap16(aRloc16); } in SetRloc16()
930 uint16_t mRloc16; member in ot::NetworkDiagnostic::ChildIp6AddressListTlvValue
977 uint16_t GetRloc16(void) const { return BigEndian::HostSwap16(mRloc16); } in GetRloc16()
1051 uint16_t mRloc16; // RLOC16. member in ot::NetworkDiagnostic::RouterNeighborTlv
Drouter.cpp48 mRloc16 = aRouter.GetRloc16(); in SetFrom()
49 mRouterId = Mle::RouterIdFromRloc16(mRloc16); in SetFrom()
Dneighbor.hpp485 uint16_t GetRloc16(void) const { return mRloc16; } in GetRloc16()
493 uint8_t GetRouterId(void) const { return mRloc16 >> Mle::kRouterIdOffset; } in GetRouterId()
501 void SetRloc16(uint16_t aRloc16) { mRloc16 = aRloc16; } in SetRloc16()
823 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()
Dnetwork_data_service.cpp179 aInfo.mRloc16 = aIterator.mServerSubTlv->GetServer16(); in GetNextDnsSrpAnycastInfo()
299 aInfo.mRloc16 = aIterator.mServerSubTlv->GetServer16(); in GetNextDnsSrpUnicastInfo()
318 aInfo.mRloc16 = aIterator.mServerSubTlv->GetServer16(); in GetNextDnsSrpUnicastInfo()
330 aInfo.mRloc16 = aIterator.mServerSubTlv->GetServer16(); in GetNextDnsSrpUnicastInfo()
Dnetwork_data.cpp329 while (GetNextOnMeshPrefix(iterator, aPrefix.mRloc16, prefix) == kErrorNone) in ContainsOnMeshPrefix()
347 while (GetNextExternalRoute(iterator, aRoute.mRloc16, route) == kErrorNone) in ContainsExternalRoute()
365 while (GetNextService(iterator, aService.GetServerConfig().mRloc16, service) == kErrorNone) in ContainsService()
532 AddRloc16ToRlocs(prefix.mRloc16, aRlocs, aRoleFilter); in FindRlocs()
537 AddRloc16ToRlocs(route.mRloc16, aRlocs, aRoleFilter); in FindRlocs()
544 AddRloc16ToRlocs(service.mServerConfig.mRloc16, aRlocs, aRoleFilter); in FindRlocs()
Daddress_resolver.hpp270 uint16_t GetRloc16(void) const { return mRloc16; } in GetRloc16()
271 void SetRloc16(uint16_t aRloc16) { mRloc16 = aRloc16; } in SetRloc16()
309 uint16_t mRloc16; member in ot::AddressResolver::CacheEntry
Dnetwork_diagnostic_tlvs.cpp55 mRloc16 = BigEndian::HostSwap16(aChild.GetRloc16()); in InitFrom()
85 mRloc16 = BigEndian::HostSwap16(aRouter.GetRloc16()); in InitFrom()
Dnetwork_data_service.hpp63 uint16_t mRloc16; ///< The RLOC16 of the entry. member
83 uint16_t mRloc16; ///< The BR RLOC16 adding the entry. member
Dmle.hpp524 uint16_t GetRloc16(void) const { return mRloc16; } in GetRloc16()
535 bool HasRloc16(uint16_t aRloc16) const { return mRloc16 == aRloc16; } in HasRloc16()
546 … bool MatchesRouterId(uint8_t aRouterId) const { return RouterIdFromRloc16(mRloc16) == aRouterId; } in MatchesRouterId()
560 bool HasMatchingRouterIdWith(uint16_t aRloc16) const { return RouterIdMatch(mRloc16, aRloc16); } in HasMatchingRouterIdWith()
1451 uint16_t mRloc16; member in ot::Mle::Mle
/openthread-latest/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-latest/src/cli/
Dcli_network_data.cpp120 OutputLine(" %s %04x", PreferenceToString(aConfig.mPreference), aConfig.mRloc16); in OutputPrefix()
158 OutputLine(" %s %04x", PreferenceToString(aConfig.mPreference), aConfig.mRloc16); in OutputRoute()
173 OutputLine(" %04x %u", aConfig.mServerConfig.mRloc16, aConfig.mServiceId); in OutputService()
580 if ((aRloc16 == kAnyRloc16) || (aRloc16 == prefix.mRloc16)) in OutputNetworkData()
591 if ((aRloc16 == kAnyRloc16) || (aRloc16 == route.mRloc16)) in OutputNetworkData()
602 if ((aRloc16 == kAnyRloc16) || (aRloc16 == service.mServerConfig.mRloc16)) in OutputNetworkData()
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 PreferenceToString(info->mPrefix.mPreference), info->mPrefix.mRloc16); in Process()
1433 PreferenceToString(info->mRoute.mPreference), info->mRoute.mRloc16); in Process()
/openthread-latest/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()

12