Searched refs:nextHop (Results 1 – 2 of 2) sorted by relevance
408 const Router *nextHop; in GetNextHopAndPathCost() local426 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() local636 nextHop = FindNextHopOf(*router); in UpdateRoutes()641 if ((nextHop == nullptr) || (nextHop == neighbor)) in UpdateRoutes()652 else if (nextHop == neighbor) in UpdateRoutes()[all …]
373 uint16_t nextHop; in UpdateMeshRoute() local377 nextHop = Get<Mle::MleRouter>().GetNextHop(meshHeader.GetDestination()); in UpdateMeshRoute()379 if (nextHop != Mac::kShortAddrInvalid) in UpdateMeshRoute()381 neighbor = Get<NeighborTable>().FindNeighbor(nextHop); in UpdateMeshRoute()