Lines Matching refs:mRouterTable

72     , mRouterTable(aInstance)  in MleRouter()
119 mPreviousPartitionRouterIdSequence = mRouterTable.GetRouterIdSequence(); in HandlePartitionChange()
124 mRouterTable.Clear(); in HandlePartitionChange()
288 mRouterTable.Clear(); in BecomeLeader()
295 mRouterTable.GetRouterIdRange(minId, maxId); in BecomeLeader()
309 router = mRouterTable.Allocate(leaderId); in BecomeLeader()
332 mRouterTable.ClearNeighbors(); in HandleDetachStart()
412 if (mRouterTable.GetActiveRouterCount() >= mRouterUpgradeThreshold && in HandleChildStart()
723 neighbor = mRouterTable.FindRouterByRloc16(sourceAddress); in HandleLinkRequest()
803 router = mRouterTable.FindRouter(aInfo.mExtAddress); in SendLinkAccept()
911 router = mRouterTable.FindRouterById(routerId); in HandleLinkAcceptVariant()
969 mRouterTable.Clear(); in HandleLinkAcceptVariant()
972 router = mRouterTable.FindRouterById(routerId); in HandleLinkAcceptVariant()
1017 if (mRouterTable.IsRouteTlvIdSequenceMoreRecent(routeTlv)) in HandleLinkAcceptVariant()
1020 router = mRouterTable.FindRouterById(routerId); in HandleLinkAcceptVariant()
1063 mRouterTable.UpdateRoutes(routeTlv, routerId); in HandleLinkAcceptVariant()
1113 mRouterTable.UpdateRouterIdSet(aRouteTlv.GetRouterIdSequence(), aRouteTlv.GetRouterIdMask()); in ProcessRouteTlv()
1115 if (IsRouter() && !mRouterTable.IsAllocated(mRouterId)) in ProcessRouteTlv()
1148 mRouterTable.UpdateRouterOnFtdChild(routeTlv, aParentId); in ReadAndProcessRouteTlvOnFtdChild()
1166 isSingleton = (mRouterTable.GetActiveRouterCount() <= 1); in IsSingleton()
1282 if (aRxInfo.IsNeighborStateValid() && mRouterTable.IsRouteTlvIdSequenceMoreRecent(routeTlv)) in HandleAdvertisementOnFtd()
1303 …if (!mRouterRoleTransition.IsPending() && (mRouterTable.GetActiveRouterCount() < mRouterUpgradeThr… in HandleAdvertisementOnFtd()
1308 mRouterTable.UpdateRouterOnFtdChild(routeTlv, routerId); in HandleAdvertisementOnFtd()
1313 router = mRouterTable.FindRouterById(routerId); in HandleAdvertisementOnFtd()
1336 router = mRouterTable.FindRouterById(routerId); in HandleAdvertisementOnFtd()
1371 mRouterTable.UpdateRoutes(routeTlv, routerId); in HandleAdvertisementOnFtd()
1418 neighborCount = mRouterTable.GetNeighborCount(kLinkQuality1); in EstablishRouterLinkOnFtdChild()
1470 VerifyOrExit(mRouterTable.GetLeaderAge() < mNetworkIdTimeout, error = kErrorDrop); in HandleParentRequest()
1473 VerifyOrExit(mRouterTable.GetPathCostToLeader() < kMaxRouteCost, error = kErrorDrop); in HandleParentRequest()
1493 VerifyOrExit(mRouterTable.GetActiveRouterCount() < kMaxRouters, error = kErrorDrop); in HandleParentRequest()
1611 …if (mRouterTable.GetActiveRouterCount() < mRouterUpgradeThreshold && HasNeighborWithGoodLinkQualit… in HandleTimeTick()
1633 LogDebg("Leader age %lu", ToUlong(mRouterTable.GetLeaderAge())); in HandleTimeTick()
1635 …if ((mRouterTable.GetActiveRouterCount() > 0) && (mRouterTable.GetLeaderAge() >= mNetworkIdTimeout… in HandleTimeTick()
1641 …if (roleTransitionTimeoutExpired && mRouterTable.GetActiveRouterCount() > mRouterDowngradeThreshol… in HandleTimeTick()
1765 if (IsLeader() && (mRouterTable.FindNextHopOf(router) == nullptr) && in HandleTimeTick()
1766 … (mRouterTable.GetLinkCost(router) >= kMaxRouteCost) && (age >= kMaxLeaderToRouterTimeout)) in HandleTimeTick()
1769 IgnoreError(mRouterTable.Release(router.GetRouterId())); in HandleTimeTick()
1773 mRouterTable.HandleTimeTick(); in HandleTimeTick()
2165 router = mRouterTable.FindRouter(extAddr); in HandleChildIdRequest()
3238 mRouterTable.RemoveRouterLink(aRouter); in RemoveRouterLink()
3281 OT_ASSERT(mRouterTable.Contains(aNeighbor)); in RemoveNeighbor()
3284 mRouterTable.RemoveRouterLink(static_cast<Router &>(aNeighbor)); in RemoveNeighbor()
3439 mRouterTable.ClearNeighbors(); in HandleAddressSolicitResponse()
3441mRouterTable.UpdateRouterIdSet(routerMaskTlv.GetIdSequence(), routerMaskTlv.GetAssignedRouterIdMas… in HandleAddressSolicitResponse()
3443 router = mRouterTable.FindRouterById(routerId); in HandleAddressSolicitResponse()
3451 router = mRouterTable.FindRouterById(mParent.GetRouterId()); in HandleAddressSolicitResponse()
3458 if (mRouterTable.GetPathCostToLeader() >= kMaxRouteCost) in HandleAddressSolicitResponse()
3460 Router *leader = mRouterTable.GetLeader(); in HandleAddressSolicitResponse()
3550 router = mRouterTable.FindRouter(extAddress); in HandleTmf()
3561 VerifyOrExit(mRouterTable.GetActiveRouterCount() < mRouterUpgradeThreshold); in HandleTmf()
3569 if ((mRouterTable.GetActiveRouterCount() >= mRouterUpgradeThreshold) && in HandleTmf()
3586 router = mRouterTable.Allocate(RouterIdFromRloc16(rloc16)); in HandleTmf()
3596 router = mRouterTable.Allocate(); in HandleTmf()
3628 routerMaskTlv.SetIdSequence(mRouterTable.GetRouterIdSequence()); in SendAddressSolicitResponse()
3629 mRouterTable.GetRouterIdSet(routerMaskTlv.GetAssignedRouterIdMask()); in SendAddressSolicitResponse()
3679 router = mRouterTable.FindRouterById(routerId); in HandleTmf()
3683 IgnoreError(mRouterTable.Release(routerId)); in HandleTmf()
3742 aTlv.SetActiveRouters(mRouterTable.GetActiveRouterCount()); in FillConnectivityTlv()
3743 aTlv.SetLeaderCost(Min(mRouterTable.GetPathCostToLeader(), kMaxRouteCost)); in FillConnectivityTlv()
3744 aTlv.SetIdSequence(mRouterTable.GetRouterIdSequence()); in FillConnectivityTlv()
3756 uint8_t activeRouterCount = mRouterTable.GetActiveRouterCount(); in ShouldDowngrade()
3760 VerifyOrExit(mRouterTable.IsAllocated(aNeighborId)); in ShouldDowngrade()
3771 for (const Router &router : mRouterTable) in ShouldDowngrade()
3832 router = mRouterTable.FindRouterById(routerId); in NeighborHasComparableConnectivity()