Home
last modified time | relevance | path

Searched refs:nextHop (Results 1 – 2 of 2) sorted by relevance

/openthread-latest/src/core/thread/
Drouter_table.cpp396 const Router *nextHop; in GetNextHopAndPathCost() local
412 nextHop = (router != nullptr) ? FindNextHopOf(*router) : nullptr; in GetNextHopAndPathCost()
431 VerifyOrExit(destIsParentOrItsChild || (nextHop != nullptr)); in GetNextHopAndPathCost()
466 if (nextHop != nullptr) in GetNextHopAndPathCost()
471 uint8_t nextHopPathCost = router->GetCost() + GetLinkCost(*nextHop); in GetNextHopAndPathCost()
476 aNextHopRloc16 = nextHop->GetRloc16(); in GetNextHopAndPathCost()
629 Router *nextHop; in UpdateRoutes() local
644 nextHop = FindNextHopOf(*router); in UpdateRoutes()
649 if ((nextHop == nullptr) || (nextHop == neighbor)) in UpdateRoutes()
660 else if (nextHop == neighbor) in UpdateRoutes()
[all …]
Dmesh_forwarder_ftd.cpp352 uint16_t nextHop; in UpdateMeshRoute() local
356 nextHop = Get<RouterTable>().GetNextHop(meshHeader.GetDestination()); in UpdateMeshRoute()
358 if (nextHop != Mle::kInvalidRloc16) in UpdateMeshRoute()
360 neighbor = Get<NeighborTable>().FindNeighbor(nextHop); in UpdateMeshRoute()