Home
last modified time | relevance | path

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

/openthread-latest/src/core/thread/
Drouter_table.cpp47 , mMaxRouterId(Mle::kMaxRouterId) in RouterTable()
137 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in Allocate()
169 VerifyOrExit(aRouterId <= Mle::kMaxRouterId && mRouterIdMap.CanAllocate(aRouterId)); in Allocate()
191 OT_ASSERT(aRouterId <= Mle::kMaxRouterId); in Release()
284 VerifyOrExit(aRouterId <= Mle::kMaxRouterId); in FindRouterById()
311 if (aRouterId <= Mle::kMaxRouterId) in GetRouterInfo()
319 VerifyOrExit(routerId <= Mle::kMaxRouterId, error = kErrorInvalidArgs); in GetRouterInfo()
513 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in UpdateRouterIdSet()
539 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in UpdateRouterIdSet()
569 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in UpdateRoutes()
[all …]
Dmle_types.hpp82 constexpr uint8_t kMaxRouterId = OT_NETWORK_MAX_ROUTER_ID; ///< Max Router ID variable
83 constexpr uint8_t kInvalidRouterId = kMaxRouterId + 1; ///< Value indicating inv…
477 uint8_t mRouterIdSet[BytesForBitSize(Mle::kMaxRouterId + 1)];
605 inline bool IsRouterIdValid(uint8_t aRouterId) { return aRouterId <= kMaxRouterId; } in IsRouterIdValid()
Dmle_tlvs.hpp365 uint8_t mRouteData[kMaxRouterId + 1];
576 uint8_t mRouteData[kMaxRouterId + 1 + kMaxRouterId / 2 + 1];
Drouter_table.hpp457 uint8_t mIndexes[Mle::kMaxRouterId + 1];
Dneighbor_table.cpp220 for (index = -aIterator; index <= Mle::kMaxRouterId; index++) in GetNextNeighborInfo()
Dnetwork_diagnostic.cpp987 for (uint8_t i = 0; i <= Mle::kMaxRouterId; ++i) in ParseRoute()
Dmle_router.cpp304 … : Random::NonCrypto::GetUint8InRange(0, kMaxRouterId + 1); in BecomeLeader()
3820 for (uint8_t routerId = 0, index = 0; routerId <= kMaxRouterId; in NeighborHasComparableConnectivity()
/openthread-latest/src/core/api/
Dthread_ftd_api.cpp169 VerifyOrExit(aRouterId <= Mle::kMaxRouterId, error = kErrorInvalidArgs); in otThreadReleaseRouterId()
246 return Mle::kMaxRouterId; in otThreadGetMaxRouterId()
/openthread-latest/src/core/utils/
Dmesh_diag.cpp87 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in DiscoverTopology()
506 for (uint8_t id = 0, index = 0; id <= Mle::kMaxRouterId; id++) in ParseFrom()
Dhistory_tracker.hpp434 RouterEntry mRouterEntries[Mle::kMaxRouterId + 1];
Dhistory_tracker.cpp283 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in RecordRouterTableChange()