Home
last modified time | relevance | path

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

/external/openthread/src/core/thread/
Drouter_table.cpp65 , mMaxRouterId(Mle::kMaxRouterId) in RouterTable()
124 uint8_t indexMap[Mle::kMaxRouterId + 1]; in UpdateAllocation()
129 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in UpdateAllocation()
147 if (routerId > Mle::kMaxRouterId || indexMap[routerId] == Mle::kInvalidRouterId) in UpdateAllocation()
166 if (routerId > Mle::kMaxRouterId || indexMap[routerId] == Mle::kInvalidRouterId) in UpdateAllocation()
180 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in UpdateAllocation()
216 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in Allocate()
234 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in Allocate()
260 …VerifyOrExit(aRouterId <= Mle::kMaxRouterId && mActiveRouterCount < Mle::kMaxRouters && !IsAllocat… in Allocate()
285 OT_ASSERT(aRouterId <= Mle::kMaxRouterId); in Release()
[all …]
Dmle_types.hpp153 constexpr uint8_t kMaxRouterId = OT_NETWORK_MAX_ROUTER_ID; ///< Max Router ID variable
154 constexpr uint8_t kInvalidRouterId = kMaxRouterId + 1; ///< Value indicating incorrec…
561 uint8_t mRouterIdSet[BitVectorBytes(Mle::kMaxRouterId + 1)];
Dmle_tlvs.hpp417 uint8_t mRouteData[kMaxRouterId + 1];
639 uint8_t mRouteData[kMaxRouterId + 1 + kMaxRouterId / 2 + 1];
Dmle_router.hpp411 static bool IsRouterIdValid(uint8_t aRouterId) { return aRouterId <= kMaxRouterId; } in IsRouterIdValid()
749 static bool IsRouterIdValid(uint8_t aRouterId) { return aRouterId <= kMaxRouterId; } in IsRouterIdValid()
Drouter_table.hpp374 uint8_t mRouterIdReuseDelay[Mle::kMaxRouterId + 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.cpp258 … : Random::NonCrypto::GetUint8InRange(0, kMaxRouterId + 1); in BecomeLeader()
1220 for (uint8_t routerId = 0; routerId <= kMaxRouterId; routerId++) in IsSingleton()
1392 for (uint8_t id = 0, routeCount = 0; id <= kMaxRouterId; id++) in HandleAdvertisement()
1458 for (uint8_t id = 0; id <= kMaxRouterId; id++) in HandleAdvertisement()
1526 for (uint8_t routerId = 0, routeCount = 0; routerId <= kMaxRouterId; routerId++) in UpdateRoutes()
4206 for (uint8_t routerId = 0; routerId <= kMaxRouterId; routerId++) in FillRouteTlv()
Dnetwork_diagnostic.cpp651 for (uint8_t i = 0; i <= Mle::kMaxRouterId; ++i) in ParseRoute()
/external/openthread/src/core/api/
Dthread_ftd_api.cpp150 VerifyOrExit(aRouterId <= Mle::kMaxRouterId, error = kErrorInvalidArgs); in otThreadReleaseRouterId()
256 return Mle::kMaxRouterId; in otThreadGetMaxRouterId()