ot::RouterTable::GetNextHopAndPathCost() const method
Determines the next hop and the path cost towards an RLOC16 destination.
Arguments
aDestRloc16
The RLOC16 of the destination.
aNextHopRloc16
A reference to return the RLOC16 of next hop if known, or `Mle::kInvalidRloc16`.
aPathCost
A reference to return the path cost.
ot::RouterTable::GetNextHopAndPathCost() const is called by 2 functions and calls 7 functions:
![]()
ot::RouterTable::GetNextHopAndPathCost() const
ot::RouterTable::GetNextHopAndPathCost() const reads 7 variables:
![]()
ot::RouterTable::GetNextHopAndPathCost() const