Home
last modified time | relevance | path

Searched refs:kMaxRouterId (Results 1 – 10 of 10) sorted by relevance

/openthread-2.7.6/src/core/thread/
Drouter_table.cpp118 uint8_t indexMap[Mle::kMaxRouterId + 1]; in UpdateAllocation()
123 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in UpdateAllocation()
141 if (routerId > Mle::kMaxRouterId || indexMap[routerId] == Mle::kInvalidRouterId) in UpdateAllocation()
160 if (routerId > Mle::kMaxRouterId || indexMap[routerId] == Mle::kInvalidRouterId) in UpdateAllocation()
174 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in UpdateAllocation()
207 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in Allocate()
221 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in Allocate()
246 …VerifyOrExit(aRouterId <= Mle::kMaxRouterId && mActiveRouterCount < Mle::kMaxRouters && !IsAllocat… in Allocate()
271 OT_ASSERT(aRouterId <= Mle::kMaxRouterId); in Release()
415 if (aRouterId <= Mle::kMaxRouterId) in GetRouterInfo()
[all …]
Dmle_types.hpp149 constexpr uint8_t kMaxRouterId = OT_NETWORK_MAX_ROUTER_ID; ///< Max Router ID variable
150 constexpr uint8_t kInvalidRouterId = kMaxRouterId + 1; ///< Value indicating incorrec…
570 uint8_t mRouterIdSet[BitVectorBytes(Mle::kMaxRouterId + 1)];
Drouter_table.hpp373 uint8_t mRouterIdReuseDelay[Mle::kMaxRouterId + 1];
Dmle_router.hpp411 static bool IsRouterIdValid(uint8_t aRouterId) { return aRouterId <= kMaxRouterId; } in IsRouterIdValid()
731 static bool IsRouterIdValid(uint8_t aRouterId) { return aRouterId <= kMaxRouterId; } in IsRouterIdValid()
Dmle_tlvs.hpp405 uint8_t mRouteData[kMaxRouterId + 1];
626 uint8_t mRouteData[kMaxRouterId + 1 + kMaxRouterId / 2 + 1];
Dneighbor_table.cpp214 for (index = -aIterator; index <= Mle::kMaxRouterId; index++) in GetNextNeighborInfo()
Dnetwork_diagnostic_tlvs.hpp540 uint8_t mRouteData[Mle::kMaxRouterId + 1];
Dmle_router.cpp226 … : Random::NonCrypto::GetUint8InRange(0, kMaxRouterId + 1); in BecomeLeader()
1135 for (uint8_t routerId = 0; routerId <= kMaxRouterId; routerId++) in IsSingleton()
1311 for (uint8_t id = 0, routeCount = 0; id <= kMaxRouterId; id++) in HandleAdvertisement()
1371 for (uint8_t id = 0; id <= kMaxRouterId; id++) in HandleAdvertisement()
1435 for (uint8_t routerId = 0, routeCount = 0; routerId <= kMaxRouterId; routerId++) in UpdateRoutes()
4105 for (uint8_t routerId = 0; routerId <= kMaxRouterId; routerId++) in FillRouteTlv()
Dnetwork_diagnostic.cpp671 for (uint8_t i = 0; i <= Mle::kMaxRouterId; ++i) in ParseRoute()
/openthread-2.7.6/src/core/api/
Dthread_ftd_api.cpp192 VerifyOrExit(aRouterId <= Mle::kMaxRouterId, error = kErrorInvalidArgs); in otThreadReleaseRouterId()
316 return Mle::kMaxRouterId; in otThreadGetMaxRouterId()