Searched refs:nextHop (Results 1 – 2 of 2) sorted by relevance
396 const Router *nextHop; in GetNextHopAndPathCost() local412 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() local644 nextHop = FindNextHopOf(*router); in UpdateRoutes()649 if ((nextHop == nullptr) || (nextHop == neighbor)) in UpdateRoutes()660 else if (nextHop == neighbor) in UpdateRoutes()[all …]
352 uint16_t nextHop; in UpdateMeshRoute() local356 nextHop = Get<RouterTable>().GetNextHop(meshHeader.GetDestination()); in UpdateMeshRoute()358 if (nextHop != Mle::kInvalidRloc16) in UpdateMeshRoute()360 neighbor = Get<NeighborTable>().FindNeighbor(nextHop); in UpdateMeshRoute()