Searched refs:routerId (Results 1 – 8 of 8) sorted by relevance
129 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in UpdateAllocation() local131 if (IsAllocated(routerId) && mActiveRouterCount < Mle::kMaxRouters) in UpdateAllocation()133 indexMap[routerId] = mActiveRouterCount++; in UpdateAllocation()137 indexMap[routerId] = Mle::kInvalidRouterId; in UpdateAllocation()144 uint8_t routerId = mRouters[index].GetRouterId(); in UpdateAllocation() local147 if (routerId > Mle::kMaxRouterId || indexMap[routerId] == Mle::kInvalidRouterId) in UpdateAllocation()152 newIndex = indexMap[routerId]; in UpdateAllocation()163 uint8_t routerId = mRouters[index].GetRouterId(); in UpdateAllocation() local166 if (routerId > Mle::kMaxRouterId || indexMap[routerId] == Mle::kInvalidRouterId) in UpdateAllocation()171 newIndex = indexMap[routerId]; in UpdateAllocation()[all …]
858 uint8_t routerId; in HandleLinkAccept() local872 routerId = RouterIdFromRloc16(sourceAddress); in HandleLinkAccept()873 router = mRouterTable.GetRouter(routerId); in HandleLinkAccept()944 router = mRouterTable.GetRouter(routerId); in HandleLinkAccept()988 UpdateRoutes(routeTlv, routerId); in HandleLinkAccept()990 router = mRouterTable.GetRouter(routerId); in HandleLinkAccept()1003 if (routerId != mRouterId && !IsRouterIdValid(router->GetNextHop())) in HandleLinkAccept()1220 for (uint8_t routerId = 0; routerId <= kMaxRouterId; routerId++) in IsSingleton() local1222 if (aRouteTlv.IsRouterIdSet(routerId) && (++count >= 2)) in IsSingleton()1243 uint8_t routerId; in HandleAdvertisement() local[all …]
474 uint8_t routerId; in AnycastRouteLookup() local535 routerId = Mle::Mle::RouterIdFromRloc16(bestDest); in AnycastRouteLookup()538 Mle::Mle::Rloc16FromRouterId(routerId) == Get<Mle::MleRouter>().GetRloc16())) in AnycastRouteLookup()542 bestDest = Mle::Mle::Rloc16FromRouterId(routerId); in AnycastRouteLookup()
305 uint8_t routerId; in main() local324 TEST_ASSERT(api->GetRouterId(routerId) == OTBR_ERROR_NONE); in main()325 TEST_ASSERT(routerId == leaderData.mLeaderRouterId); in main()
239 for (uint8_t routerId = 0; routerId <= maxRouterId; routerId++) in HandlePropertyGet() local241 …if ((otThreadGetRouterInfo(mInstance, routerId, &routerInfo) != OT_ERROR_NONE) || !routerInfo.mAll… in HandlePropertyGet()1146 uint8_t routerId; in HandlePropertyRemove() local1148 SuccessOrExit(error = mDecoder.ReadUint8(routerId)); in HandlePropertyRemove()1150 error = otThreadReleaseRouterId(mInstance, routerId); in HandlePropertyRemove()
1415 routerId = ''1416 routerId = self.__convertRlocToRouterId(xRouterId)1417 print(routerId)1419 if routerId is None:1424 cmd = 'releaserouterid %s' % routerId
1378 routerId = self.__convertRlocToRouterId(xRouterId)1380 if routerId is None:1383 cmd = 'releaserouterid %s' % routerId
4036 uint16_t routerId; in Process() local4090 SuccessOrExit(error = aArgs[0].ParseAsUint16(routerId)); in Process()4091 SuccessOrExit(error = otThreadGetRouterInfo(GetInstancePtr(), routerId, &routerInfo)); in Process()