Searched refs:kMaxRouteCost (Results 1 – 7 of 7) sorted by relevance
238 if (GetLinkCost(router) >= Mle::kMaxRouteCost) in RemoveRouterLink()355 uint8_t rval = Mle::kMaxRouteCost; in GetLinkCost()367 uint8_t rval = Mle::kMaxRouteCost; in GetLinkCost()398 aPathCost = Mle::kMaxRouteCost; in GetNextHopAndPathCost()461 if (aPathCost < Mle::kMaxRouteCost) in GetNextHopAndPathCost()571 if (GetPathCost(Mle::Rloc16FromRouterId(routerId)) < Mle::kMaxRouteCost) in UpdateRoutes()647 cost = (cost == 0) ? Mle::kMaxRouteCost : cost; in UpdateRoutes()653 if (cost + linkCostToNeighbor < Mle::kMaxRouteCost) in UpdateRoutes()683 bool newCostFinite = (GetPathCost(Mle::Rloc16FromRouterId(routerId)) < Mle::kMaxRouteCost); in UpdateRoutes()802 if (pathCost >= Mle::kMaxRouteCost) in FillRouteTlv()
88 constexpr uint8_t kMaxRouteCost = 127; ///< Maximum path cost variable90 constexpr uint8_t kMaxRouteCost = 16; ///< Maximum path cost variable
228 constexpr uint8_t kCostForLinkQuality0 = Mle::kMaxRouteCost; ///< Link Cost for Link Quality 0.
237 uint8_t cost = Mle::kMaxRouteCost; in CostForLinkQuality()
354 static constexpr uint8_t kMeshHeaderHopsLeft = Mle::kMaxRouteCost + 3;
1473 VerifyOrExit(mRouterTable.GetPathCostToLeader() < kMaxRouteCost, error = kErrorDrop); in HandleParentRequest()1766 … (mRouterTable.GetLinkCost(router) >= kMaxRouteCost) && (age >= kMaxLeaderToRouterTimeout)) in HandleTimeTick()3458 if (mRouterTable.GetPathCostToLeader() >= kMaxRouteCost) in HandleAddressSolicitResponse()3743 aTlv.SetLeaderCost(Min(mRouterTable.GetPathCostToLeader(), kMaxRouteCost)); in FillConnectivityTlv()
298 entry.mPathCost = (pathCost < Mle::kMaxRouteCost) ? pathCost : 0; in RecordRouterTableChange()