Home
last modified time | relevance | path

Searched refs:IsActiveRouter (Results 1 – 9 of 9) sorted by relevance

/external/openthread/src/core/thread/
Dmesh_forwarder_ftd.cpp434 if (!Mle::MleRouter::IsActiveRouter(aDest)) in EvaluateRoutingCost()
447 if (!Mle::MleRouter::IsActiveRouter(aDest)) in EvaluateRoutingCost()
537 if (!(Mle::Mle::IsActiveRouter(bestDest) || in AnycastRouteLookup()
Dnetwork_data.cpp739 VerifyOrExit(Mle::Mle::IsActiveRouter(aRloc16)); in FindBorderRouters()
743 VerifyOrExit(!Mle::Mle::IsActiveRouter(aRloc16)); in FindBorderRouters()
Dmle_router.cpp670 if (IsActiveRouter(sourceAddress)) in HandleLinkRequest()
700 IsActiveRouter(aRxInfo.mNeighbor->GetRloc16()), in HandleLinkRequest()
769 if (aNeighbor != nullptr && IsActiveRouter(aNeighbor->GetRloc16())) in SendLinkAccept()
870 VerifyOrExit(IsActiveRouter(sourceAddress), error = kErrorParse); in HandleLinkAccept()
1311 VerifyOrExit(IsActiveRouter(sourceAddress) && route.IsValid()); in HandleAdvertisement()
2730 if ((aRxInfo.mNeighbor == nullptr) || IsActiveRouter(aRxInfo.mNeighbor->GetRloc16())) in HandleChildUpdateResponse()
3528 else if (!IsActiveRouter(aNeighbor.GetRloc16())) in RemoveNeighbor()
4197 if (aNeighbor && IsActiveRouter(aNeighbor->GetRloc16())) in FillRouteTlv()
Dmesh_forwarder.cpp1033 if (!Mle::Mle::IsActiveRouter(aMeshDest)) in PrepareDataFrame()
1221 if (aAllowNeighborRemove && (Mle::Mle::IsActiveRouter(aNeighbor.GetRloc16())) && in UpdateNeighborLinkFailures()
1863 else if (aNeighbor != nullptr && !Mle::MleRouter::IsActiveRouter(aNeighbor->GetRloc16()) && in CalcFrameVersion()
Drouter_table.cpp438 VerifyOrExit(Mle::Mle::IsActiveRouter(aRouterId), error = kErrorInvalidArgs); in GetRouterInfo()
Dmle.cpp227 else if (IsActiveRouter(GetRloc16())) in Start()
365 if (!IsActiveRouter(networkInfo.GetRloc16())) in Restore()
379 if (!IsActiveRouter(networkInfo.GetRloc16())) in Restore()
2657 if (IsActiveRouter(aNeighbor.GetRloc16())) in ReestablishLinkWithNeighbor()
3000 if (IsActiveRouter(aRloc16) != IsActiveRouter(mParentCandidate.GetRloc16())) in IsBetterParent()
3002 ExitNow(rval = IsActiveRouter(aRloc16)); in IsBetterParent()
Dnetwork_data_publisher.cpp265 bool isOtherRouter = Mle::Mle::IsActiveRouter(aRloc16); in IsPreferred()
Dmle.hpp652 static bool IsActiveRouter(uint16_t aRloc16) { return ChildIdFromRloc16(aRloc16) == 0; } in IsActiveRouter() function in ot::Mle::Mle
Dnetwork_data_leader_ftd.cpp1393 …if (!Mle::Mle::IsActiveRouter(rloc16) && Mle::Mle::RouterIdMatch(Get<Mle::MleRouter>().GetRloc16()… in RemoveStaleChildEntries()