Home
last modified time | relevance | path

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

/openthread-3.7.0/src/core/thread/
Drouter_table.cpp408 const Router *nextHop; in GetNextHopAndPathCost() local
426 nextHop = (router != nullptr) ? FindNextHopOf(*router) : nullptr; in GetNextHopAndPathCost()
442 VerifyOrExit((destRouterId == parent.GetRouterId()) || (nextHop != nullptr)); in GetNextHopAndPathCost()
477 if (nextHop != nullptr) in GetNextHopAndPathCost()
482 uint8_t nextHopPathCost = router->GetCost() + GetLinkCost(*nextHop); in GetNextHopAndPathCost()
487 aNextHopRloc16 = nextHop->GetRloc16(); in GetNextHopAndPathCost()
621 Router *nextHop; in UpdateRoutes() local
636 nextHop = FindNextHopOf(*router); in UpdateRoutes()
641 if ((nextHop == nullptr) || (nextHop == neighbor)) in UpdateRoutes()
652 else if (nextHop == neighbor) in UpdateRoutes()
[all …]
Dmesh_forwarder_ftd.cpp373 uint16_t nextHop; in UpdateMeshRoute() local
377 nextHop = Get<Mle::MleRouter>().GetNextHop(meshHeader.GetDestination()); in UpdateMeshRoute()
379 if (nextHop != Mac::kShortAddrInvalid) in UpdateMeshRoute()
381 neighbor = Get<NeighborTable>().FindNeighbor(nextHop); in UpdateMeshRoute()