Home
last modified time | relevance | path

Searched refs:kMaxRouteCost (Results 1 – 7 of 7) sorted by relevance

/openthread-latest/src/core/thread/
Drouter_table.cpp238 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()
Dmle_types.hpp88 constexpr uint8_t kMaxRouteCost = 127; ///< Maximum path cost variable
90 constexpr uint8_t kMaxRouteCost = 16; ///< Maximum path cost variable
Dlink_quality.hpp228 constexpr uint8_t kCostForLinkQuality0 = Mle::kMaxRouteCost; ///< Link Cost for Link Quality 0.
Dlink_quality.cpp237 uint8_t cost = Mle::kMaxRouteCost; in CostForLinkQuality()
Dmesh_forwarder.hpp354 static constexpr uint8_t kMeshHeaderHopsLeft = Mle::kMaxRouteCost + 3;
Dmle_router.cpp1473 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()
/openthread-latest/src/core/utils/
Dhistory_tracker.cpp298 entry.mPathCost = (pathCost < Mle::kMaxRouteCost) ? pathCost : 0; in RecordRouterTableChange()