Searched refs:routerId (Results 1 – 8 of 8) sorted by relevance
/openthread-latest/src/core/thread/ |
D | router_table.cpp | 143 for (uint8_t routerId = mMinRouterId; routerId <= mMaxRouterId; routerId++) in Allocate() local 145 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in Allocate() 148 if (mRouterIdMap.CanAllocate(routerId)) in Allocate() 159 selectedRouterId = routerId; in Allocate() 317 uint8_t routerId; in GetRouterInfo() local 321 routerId = static_cast<uint8_t>(aRouterId); in GetRouterInfo() 326 routerId = Mle::RouterIdFromRloc16(aRouterId); in GetRouterInfo() 327 VerifyOrExit(routerId <= Mle::kMaxRouterId, error = kErrorInvalidArgs); in GetRouterInfo() 330 router = FindRouterById(routerId); in GetRouterInfo() 521 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in UpdateRouterIdSet() local [all …]
|
D | mle_router.cpp | 887 uint8_t routerId; in HandleLinkAccept() local 901 routerId = RouterIdFromRloc16(sourceAddress); in HandleLinkAccept() 902 router = mRouterTable.FindRouterById(routerId); in HandleLinkAccept() 963 router = mRouterTable.FindRouterById(routerId); in HandleLinkAccept() 1006 VerifyOrExit(routeTlv.IsRouterIdSet(routerId), error = kErrorParse); in HandleLinkAccept() 1011 router = mRouterTable.FindRouterById(routerId); in HandleLinkAccept() 1024 if (routerId != mRouterId && !IsRouterIdValid(router->GetNextHop())) in HandleLinkAccept() 1051 mRouterTable.UpdateRoutes(routeTlv, routerId); in HandleLinkAccept() 1192 uint8_t routerId; in HandleAdvertisement() local 1258 routerId = RouterIdFromRloc16(aSourceAddress); in HandleAdvertisement() [all …]
|
/openthread-latest/src/core/utils/ |
D | history_tracker.cpp | 291 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in RecordRouterTableChange() local 294 RouterEntry &oldEntry = mRouterEntries[routerId]; in RecordRouterTableChange() 296 entry.mRouterId = routerId; in RecordRouterTableChange() 298 if (Get<RouterTable>().IsAllocated(routerId)) in RecordRouterTableChange() 303 …Get<RouterTable>().GetNextHopAndPathCost(Mle::Rloc16FromRouterId(routerId), nextHopRloc, pathCost); in RecordRouterTableChange()
|
D | mesh_diag.cpp | 92 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in DiscoverTopology() local 96 if (!mDiscover.mExpectedRouterIdSet.Contains(routerId)) in DiscoverTopology() 101 …ation.SetToRoutingLocator(Get<Mle::Mle>().GetMeshLocalPrefix(), Mle::Rloc16FromRouterId(routerId)); in DiscoverTopology()
|
/openthread-latest/src/ncp/ |
D | ncp_base_ftd.cpp | 239 for (uint8_t routerId = 0; routerId <= maxRouterId; routerId++) in HandlePropertyGet() local 241 …if ((otThreadGetRouterInfo(mInstance, routerId, &routerInfo) != OT_ERROR_NONE) || !routerInfo.mAll… in HandlePropertyGet() 1146 uint8_t routerId; in HandlePropertyRemove() local 1148 SuccessOrExit(error = mDecoder.ReadUint8(routerId)); in HandlePropertyRemove() 1150 error = otThreadReleaseRouterId(mInstance, routerId); in HandlePropertyRemove()
|
/openthread-latest/tools/harness-thci/ |
D | OpenThread_WpanCtl.py | 1415 routerId = '' 1416 routerId = self.__convertRlocToRouterId(xRouterId) 1417 print(routerId) 1419 if routerId is None: 1424 cmd = 'releaserouterid %s' % routerId
|
D | OpenThread.py | 1428 routerId = self.__convertRlocToRouterId(xRouterId) 1430 if routerId is None: 1433 cmd = 'releaserouterid %s' % routerId
|
/openthread-latest/src/cli/ |
D | cli.cpp | 4913 for (uint8_t routerId = 0; routerId <= OT_NETWORK_MAX_ROUTER_ID; routerId++) in Process() local 4915 if (!otThreadIsRouterIdAllocated(GetInstancePtr(), routerId)) in Process() 4920 destRloc16 = routerId; in Process() 4925 OutputFormat("| %4u | ", routerId); in Process() 6153 uint16_t routerId; in Process() local 6266 SuccessOrExit(error = aArgs[0].ParseAsUint16(routerId)); in Process() 6267 SuccessOrExit(error = otThreadGetRouterInfo(GetInstancePtr(), routerId, &routerInfo)); in Process()
|