Searched refs:IsRouterOrLeader (Results 1 – 10 of 10) sorted by relevance
133 VerifyOrExit(Get<Mle::MleRouter>().IsRouterOrLeader()); in RemoveStaleChildEntries()
86 if (Get<Mle::Mle>().IsRouterOrLeader()) in FindNeighbor()
452 VerifyOrExit(IsRouterOrLeader()); in ResetAdvertiseInterval()613 VerifyOrExit(IsRouterOrLeader(), error = kErrorInvalidState); in HandleLinkRequest()1631 else if (IsRouterOrLeader() && child.IsStateRestored()) in HandleTimeTick()1705 if (IsRouterOrLeader()) in HandleTimeTick()2643 VerifyOrExit(IsRouterOrLeader()); in HandleNetworkDataUpdateRouter()2659 VerifyOrExit(IsRouterOrLeader()); in SynchronizeChildNetworkData()3977 VerifyOrExit(IsRouterOrLeader(), error = kErrorInvalidState); in GetMaxChildTimeout()
280 …return (Get<Mle::Mle>().IsRouterOrLeader() == isOtherRouter) ? (aRloc16 < Get<Mle::Mle>().GetRloc1… in IsPreferred()
449 …VerifyOrExit(mle.IsRouterOrLeader() || !mle.IsExpectedToBecomeRouterSoon(), error = kErrorInvalidS… in PerformNextRegistration()
289 bool IsRouterOrLeader(void) const;
180 VerifyOrExit(Get<Mle::MleRouter>().IsRouterOrLeader()); in AppendChildTable()
684 bool Mle::IsRouterOrLeader(void) const { return (IsRouter() || IsLeader()); } in IsRouterOrLeader() function in ot::Mle::Mle2581 if (IsRouterOrLeader()) in HandleUdpReceive()2595 if (IsRouterOrLeader()) in HandleUdpReceive()
159 UpdateRioPreference(Get<Mle::Mle>().IsRouterOrLeader() ? NetworkData::kRoutePreferenceMedium in SetRioPreferenceBasedOnRole()2768 UpdatePreference(Get<Mle::Mle>().IsRouterOrLeader() ? NetworkData::kRoutePreferenceMedium in SetPreferenceBasedOnRole()
1244 VerifyOrExit(Get<Mle::Mle>().IsRouterOrLeader()); in HandleDatagram()