Home
last modified time | relevance | path

Searched refs:RoutePreference (Results 1 – 7 of 7) sorted by relevance

/openthread-3.6.0/src/core/border_router/
Drouting_manager.hpp87 …typedef NetworkData::RoutePreference RoutePreference; ///< Route preference (high, mediu… typedef in ot::BorderRouter::RoutingManager
212RoutePreference GetRouteInfoOptionPreference(void) const { return mRioAdvertiser.GetPreference(); } in GetRouteInfoOptionPreference()
224 …void SetRouteInfoOptionPreference(RoutePreference aPreference) { mRioAdvertiser.SetPreference(aPre… in SetRouteInfoOptionPreference()
246 RoutePreference GetRoutePreference(void) const { return mRoutePublisher.GetPreference(); } in GetRoutePreference()
257 …void SetRoutePreference(RoutePreference aPreference) { mRoutePublisher.SetPreference(aPreference);… in SetRoutePreference()
325 Error GetFavoredOmrPrefix(Ip6::Prefix &aPrefix, RoutePreference &aPreference) const;
400 Error GetFavoredNat64Prefix(Ip6::Prefix &aPrefix, RoutePreference &aRoutePreference);
739 RoutePreference GetPreference(void) const;
752 RoutePreference GetRoutePreference(void) const { return mShared.mRoutePreference; } in GetRoutePreference()
765 RoutePreference mRoutePreference; // Applicable when prefix is not on-link
[all …]
Drouting_manager.cpp190 Error RoutingManager::GetFavoredOmrPrefix(Ip6::Prefix &aPrefix, RoutePreference &aPreference) const in GetFavoredOmrPrefix()
247 Error RoutingManager::GetFavoredNat64Prefix(Ip6::Prefix &aPrefix, RoutePreference &aRoutePreference) in GetFavoredNat64Prefix()
1039 …er::LogRouteInfoOption(const Ip6::Prefix &aPrefix, uint32_t aLifetime, RoutePreference aPreference) in LogRouteInfoOption()
1046 void RoutingManager::LogRouteInfoOption(const Ip6::Prefix &, uint32_t, RoutePreference) {} in LogRouteInfoOption() argument
1844 RoutingManager::RoutePreference RoutingManager::DiscoveredPrefixTable::Entry::GetPreference(void) c… in GetPreference()
2037 mLocalPrefix.mPreference = RoutePreference::kRoutePreferenceMedium; in Evaluate()
2048 mLocalPrefix.mPreference = RoutePreference::kRoutePreferenceLow; in Evaluate()
2777 void RoutingManager::RioAdvertiser::SetPreference(RoutePreference aPreference) in SetPreference()
2810 void RoutingManager::RioAdvertiser::UpdatePreference(RoutePreference aPreference) in UpdatePreference()
3140 void RoutingManager::RoutePublisher::SetPreference(RoutePreference aPreference) in SetPreference()
[all …]
/openthread-3.6.0/src/core/thread/
Dnetwork_data_types.hpp87 enum RoutePreference : int8_t enum
143 inline RoutePreference RoutePreferenceFromValue(uint8_t aValue) in RoutePreferenceFromValue()
145 return static_cast<RoutePreference>(Preference::From2BitUint(aValue)); in RoutePreferenceFromValue()
156 inline const char *RoutePreferenceToString(RoutePreference aPreference) { return Preference::ToStri… in RoutePreferenceToString()
194RoutePreference GetPreference(void) const { return RoutePreferenceFromValue(RoutePreferenceToValue… in GetPreference()
/openthread-3.6.0/src/core/net/
Dnd6.hpp58 typedef NetworkData::RoutePreference RoutePreference; ///< Route Preference typedef
354 void SetPreference(RoutePreference aPreference);
362 RoutePreference GetPreference(void) const;
591 void SetDefaultRouterPreference(RoutePreference aPreference);
599 RoutePreference GetDefaultRouterPreference(void) const;
770 …Error AppendRouteInfoOption(const Prefix &aPrefix, uint32_t aRouteLifetime, RoutePreference aPrefe…
Dnd6.cpp116 void RouteInfoOption::SetPreference(RoutePreference aPreference) in SetPreference()
122 RoutePreference RouteInfoOption::GetPreference(void) const in GetPreference()
197 RoutePreference RouterAdvertMessage::Header::GetDefaultRouterPreference(void) const in GetDefaultRouterPreference()
202 void RouterAdvertMessage::Header::SetDefaultRouterPreference(RoutePreference aPreference) in SetDefaultRouterPreference()
255 RoutePreference aPreference) in AppendRouteInfoOption()
/openthread-3.6.0/src/core/api/
Dborder_routing_api.cpp70 static_cast<NetworkData::RoutePreference>(aPreference)); in otBorderRoutingSetRouteInfoOptionPreference()
87 static_cast<NetworkData::RoutePreference>(aPreference)); in otBorderRoutingSetRoutePreference()
119 BorderRouter::RoutingManager::RoutePreference preference; in otBorderRoutingGetFavoredOmrPrefix()
152 BorderRouter::RoutingManager::RoutePreference preference; in otBorderRoutingGetFavoredNat64Prefix()
/openthread-3.6.0/tests/unit/
Dtest_routing_manager.cpp726 using NetworkData::RoutePreference;
817 Rio(const Ip6::Prefix &aPrefix, uint32_t aValidLifetime, RoutePreference aPreference) in Rio()
826 RoutePreference mPreference;
831 DefaultRoute(uint32_t aLifetime, RoutePreference aPreference) in DefaultRoute()
838 RoutePreference mPreference;
991 RoutePreference aPreference, in RoutePrefix()