ot::RouterTable::FindNextHopOf() const method
Finds the router that is the next hop of a given router.
Arguments
aRouter
The router to find next hop of.
Return value
A pointer to the router or `nullptr` if the router could not be found.
![]()
nextHop = (router != nullptr) ? FindNextHopOf(*router) : nullptr;
ot::RouterTable::FindNextHopOf() const is called by 1 function and calls 2 functions:
![]()
ot::RouterTable::FindNextHopOf() const
ot::RouterTable::FindNextHopOf() const:
![]()
ot::RouterTable::FindNextHopOf() const