Home
last modified time | relevance | path

Searched refs:mPathCost (Results 1 – 8 of 8) sorted by relevance

/openthread-latest/src/core/utils/
Dhistory_tracker.cpp298 entry.mPathCost = (pathCost < Mle::kMaxRouteCost) ? pathCost : 0; in RecordRouterTableChange()
308 entry.mOldPathCost = oldEntry.mPathCost; in RecordRouterTableChange()
310 else if ((entry.mNextHop != kNoNextHop) && (oldEntry.mPathCost != entry.mPathCost)) in RecordRouterTableChange()
313 entry.mOldPathCost = oldEntry.mPathCost; in RecordRouterTableChange()
324 oldEntry.mPathCost = entry.mPathCost; in RecordRouterTableChange()
335 entry.mPathCost = 0; in RecordRouterTableChange()
Dhistory_tracker.hpp431 uint8_t mPathCost : 4; member
/openthread-latest/src/core/thread/
Drouter.cpp49 mPathCost = aRouter.GetCost(); in SetFrom()
/openthread-latest/include/openthread/
Dhistory_tracker.h208 …uint8_t mPathCost : 4; ///< New path cost - `OT_HISTORY_TRACKER_INFINITE_PATH_COST` if infinite… member
Dthread.h140 uint8_t mPathCost; ///< Path cost to router member
/openthread-latest/src/cli/
Dcli_history.cpp572 if (info->mPathCost != OT_HISTORY_TRACKER_INFINITE_PATH_COST) in Process()
574 OutputLine(isList ? " new-cost:%u" : " %3u |", info->mPathCost); in Process()
Dcli.cpp5863 OutputFormat("| %9u ", routerInfo.mPathCost); in Process()
5933 OutputLine("Cost: %u", routerInfo.mPathCost); in Process()
/openthread-latest/src/ncp/
Dncp_base_ftd.cpp252 SuccessOrExit(error = mEncoder.WriteUint8(routerInfo.mPathCost)); in HandlePropertyGet()