Home
last modified time | relevance | path

Searched refs:RoutingManager (Results 1 – 13 of 13) sorted by relevance

/openthread-3.4.0/src/core/border_router/
Drouting_manager.cpp65 RoutingManager::RoutingManager(Instance &aInstance) in RoutingManager() function in ot::BorderRouter::RoutingManager
86 Error RoutingManager::Init(uint32_t aInfraIfIndex, bool aInfraIfIsRunning) in Init()
110 Error RoutingManager::SetEnabled(bool aEnabled) in SetEnabled()
125 RoutingManager::State RoutingManager::GetState(void) const in GetState()
138 void RoutingManager::SetRouteInfoOptionPreference(RoutePreference aPreference) in SetRouteInfoOptionPreference()
145 void RoutingManager::ClearRouteInfoOptionPreference(void) in ClearRouteInfoOptionPreference()
157 void RoutingManager::SetRioPreferenceBasedOnRole(void) in SetRioPreferenceBasedOnRole()
163 void RoutingManager::UpdateRioPreference(RoutePreference aPreference) in UpdateRioPreference()
178 Error RoutingManager::GetOmrPrefix(Ip6::Prefix &aPrefix) const in GetOmrPrefix()
189 Error RoutingManager::GetFavoredOmrPrefix(Ip6::Prefix &aPrefix, RoutePreference &aPreference) const in GetFavoredOmrPrefix()
[all …]
Drouting_manager.hpp78 class RoutingManager : public InstanceLocator class
120 explicit RoutingManager(Instance &aInstance);
676 …using SignalTask = TaskletIn<RoutingManager, &RoutingManager::HandleDiscoveredPrefixTableChanged>;
677 …using EntryTimer = TimerMilliIn<RoutingManager, &RoutingManager::HandleDiscoveredPrefixTableEntry…
678 …using RouterTimer = TimerMilliIn<RoutingManager, &RoutingManager::HandleDiscoveredPrefixTableRoute…
803 … using ExpireTimer = TimerMilliIn<RoutingManager, &RoutingManager::HandleOnLinkPrefixManagerTimer>;
856 … using Nat64Timer = TimerMilliIn<RoutingManager, &RoutingManager::HandleNat64PrefixManagerTimer>;
961 using RsTimer = TimerMilliIn<RoutingManager, &RoutingManager::HandleRsSenderTimer>;
1002 …using RoutingPolicyTimer = TimerMilliIn<RoutingManager, &RoutingManager::EvaluateRoutingPo…
1003 …using DiscoveredPrefixStaleTimer = TimerMilliIn<RoutingManager, &RoutingManager::HandleDiscoveredP…
[all …]
Dinfra_if.cpp106 Get<RoutingManager>().HandleReceived(aPacket, aSource); in HandledReceived()
132 Get<RoutingManager>().HandleDiscoverNat64PrefixDone(aPrefix); in DiscoverNat64PrefixDone()
154 Get<RoutingManager>().HandleInfraIfStateChanged(); in HandleStateChanged()
/openthread-3.4.0/src/core/api/
Dborder_routing_api.cpp47 …return AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().Init(aInfraIfIndex, aInfraIfIsRun… in otBorderRoutingInit()
52 return AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().SetEnabled(aEnabled); in otBorderRoutingSetEnabled()
57 return MapEnum(AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetState()); in otBorderRoutingGetState()
63 AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetRouteInfoOptionPreference()); in otBorderRoutingGetRouteInfoOptionPreference()
68 AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().SetRouteInfoOptionPreference( in otBorderRoutingSetRouteInfoOptionPreference()
74 AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().ClearRouteInfoOptionPreference(); in otBorderRoutingClearRouteInfoOptionPreference()
79 …return AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetOmrPrefix(AsCoreType(aPrefix)); in otBorderRoutingGetOmrPrefix()
85 BorderRouter::RoutingManager::RoutePreference preference; in otBorderRoutingGetFavoredOmrPrefix()
89 …SuccessOrExit(error = AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetFavoredOmrPrefi… in otBorderRoutingGetFavoredOmrPrefix()
99 …return AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(AsCoreType(aPrefi… in otBorderRoutingGetOnLinkPrefix()
[all …]
Dnat64_api.cpp117 …return MapEnum(AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetNat64PrefixManagerStat… in otNat64GetPrefixManagerState()
125 … AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().SetNat64PrefixManagerEnabled(aEnabled); in otNat64SetEnabled()
/openthread-3.4.0/tests/unit/
Dtest_routing_manager.cpp778 BorderRouter::RoutingManager::PrefixTableIterator iter; in VerifyPrefixTable()
779 BorderRouter::RoutingManager::PrefixTableEntry entry; in VerifyPrefixTable()
785 sInstance->Get<BorderRouter::RoutingManager>().InitPrefixTableIterator(iter); in VerifyPrefixTable()
787 …while (sInstance->Get<BorderRouter::RoutingManager>().GetNextPrefixTableEntry(iter, entry) == kErr… in VerifyPrefixTable()
922 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().SetEnabled(true)); in TestSamePrefixesFromMultipleRouters()
924 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestSamePrefixesFromMultipleRouters()
925 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOmrPrefix(localOmr)); in TestSamePrefixesFromMultipleRouters()
1054 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().SetEnabled(true)); in TestOmrSelection()
1056 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOnLinkPrefix(localOnLink)); in TestOmrSelection()
1057 SuccessOrQuit(sInstance->Get<BorderRouter::RoutingManager>().GetOmrPrefix(localOmr)); in TestOmrSelection()
[all …]
/openthread-3.4.0/src/core/common/
Dnotifier.cpp178 Get<BorderRouter::RoutingManager>().HandleNotifierEvents(events); in EmitEvents()
Dinstance.hpp615 BorderRouter::RoutingManager mRoutingManager;
952 template <> inline BorderRouter::RoutingManager &Instance::Get(void) { return mRoutingManager; } in Get()
/openthread-3.4.0/src/core/net/
Dsrp_server.hpp98 class RoutingManager;
116 friend class BorderRouter::RoutingManager;
Dsrp_server.cpp190 Get<BorderRouter::RoutingManager>().HandleSrpServerAutoEnableMode(); in SetAutoEnableMode()
/openthread-3.4.0/src/core/thread/
Dnetwork_data_publisher.hpp453 …static constexpr uint16_t kMaxRoutingManagerPrefixEntries = BorderRouter::RoutingManager::kMaxPubl…
Dnetwork_data_leader_ftd.cpp1283 VerifyOrExit(BorderRouter::RoutingManager::IsValidOmrPrefix(aPrefix)); in ContainsOmrPrefix()
1304 if (BorderRouter::RoutingManager::IsValidOmrPrefix(config)) in ContainsOmrPrefix()
Dmle.cpp4356 Get<BorderRouter::RoutingManager>().RequestStop(); in DetachGracefully()