Home
last modified time | relevance | path

Searched refs:IsRouterOrLeader (Results 1 – 10 of 10) sorted by relevance

/openthread-3.4.0/src/core/thread/
Dnetwork_data_notifier.cpp133 VerifyOrExit(Get<Mle::MleRouter>().IsRouterOrLeader()); in RemoveStaleChildEntries()
Dneighbor_table.cpp86 if (Get<Mle::Mle>().IsRouterOrLeader()) in FindNeighbor()
Dmle_router.cpp452 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()
Dnetwork_data_publisher.cpp280 …return (Get<Mle::Mle>().IsRouterOrLeader() == isOtherRouter) ? (aRloc16 < Get<Mle::Mle>().GetRloc1… in IsPreferred()
Ddua_manager.cpp449 …VerifyOrExit(mle.IsRouterOrLeader() || !mle.IsExpectedToBecomeRouterSoon(), error = kErrorInvalidS… in PerformNextRegistration()
Dmle.hpp289 bool IsRouterOrLeader(void) const;
Dnetwork_diagnostic.cpp180 VerifyOrExit(Get<Mle::MleRouter>().IsRouterOrLeader()); in AppendChildTable()
Dmle.cpp684 bool Mle::IsRouterOrLeader(void) const { return (IsRouter() || IsLeader()); } in IsRouterOrLeader() function in ot::Mle::Mle
2581 if (IsRouterOrLeader()) in HandleUdpReceive()
2595 if (IsRouterOrLeader()) in HandleUdpReceive()
/openthread-3.4.0/src/core/border_router/
Drouting_manager.cpp159 UpdateRioPreference(Get<Mle::Mle>().IsRouterOrLeader() ? NetworkData::kRoutePreferenceMedium in SetRioPreferenceBasedOnRole()
2768 UpdatePreference(Get<Mle::Mle>().IsRouterOrLeader() ? NetworkData::kRoutePreferenceMedium in SetPreferenceBasedOnRole()
/openthread-3.4.0/src/core/net/
Dip6.cpp1244 VerifyOrExit(Get<Mle::Mle>().IsRouterOrLeader()); in HandleDatagram()