Lines Matching refs:aPathCost
393 …le::GetNextHopAndPathCost(uint16_t aDestRloc16, uint16_t &aNextHopRloc16, uint8_t &aPathCost) const in GetNextHopAndPathCost()
398 aPathCost = Mle::kMaxRouteCost; in GetNextHopAndPathCost()
406 aPathCost = 0; in GetNextHopAndPathCost()
433 aPathCost = CostForLinkQuality(parent.GetLinkQualityIn()); in GetNextHopAndPathCost()
437 aPathCost += router->GetCost(); in GetNextHopAndPathCost()
453 aPathCost = CostForLinkQuality(child->GetLinkQualityIn()); in GetNextHopAndPathCost()
459 aPathCost = GetLinkCost(*router); in GetNextHopAndPathCost()
461 if (aPathCost < Mle::kMaxRouteCost) in GetNextHopAndPathCost()
473 if (nextHopPathCost < aPathCost) in GetNextHopAndPathCost()
475 aPathCost = nextHopPathCost; in GetNextHopAndPathCost()
486 aPathCost += kCostForLinkQuality3; in GetNextHopAndPathCost()