Home
last modified time | relevance | path

Searched refs:GetActiveRouterCount (Results 1 – 4 of 4) sorted by relevance

/external/openthread/src/core/thread/
Dmle_router.cpp412 if (mRouterTable.GetActiveRouterCount() >= mRouterUpgradeThreshold && in HandleChildStart()
1166 isSingleton = (mRouterTable.GetActiveRouterCount() <= 1); in IsSingleton()
1303 …if (!mRouterRoleTransition.IsPending() && (mRouterTable.GetActiveRouterCount() < mRouterUpgradeThr… in HandleAdvertisementOnFtd()
1493 VerifyOrExit(mRouterTable.GetActiveRouterCount() < kMaxRouters, error = kErrorDrop); in HandleParentRequest()
1611 …if (mRouterTable.GetActiveRouterCount() < mRouterUpgradeThreshold && HasNeighborWithGoodLinkQualit… in HandleTimeTick()
1635 …if ((mRouterTable.GetActiveRouterCount() > 0) && (mRouterTable.GetLeaderAge() >= mNetworkIdTimeout… in HandleTimeTick()
1641 …if (roleTransitionTimeoutExpired && mRouterTable.GetActiveRouterCount() > mRouterDowngradeThreshol… in HandleTimeTick()
3582 VerifyOrExit(mRouterTable.GetActiveRouterCount() < mRouterUpgradeThreshold); in HandleTmf()
3590 if ((mRouterTable.GetActiveRouterCount() >= mRouterUpgradeThreshold) && in HandleTmf()
3763 aTlv.SetActiveRouters(mRouterTable.GetActiveRouterCount()); in FillConnectivityTlv()
[all …]
Drouter_table.hpp113 uint8_t GetActiveRouterCount(void) const { return mRouters.GetLength(); } in GetActiveRouterCount() function in ot::RouterTable
Dnetwork_data_notifier.cpp311 activeRouterCount = Get<RouterTable>().GetActiveRouterCount(); in IsEligibleForRouterRoleUpgradeAsBorderRouter()
Drouter_table.cpp63 return (GetActiveRouterCount() == 0) || in IsRouteTlvIdSequenceMoreRecent()