Home
last modified time | relevance | path

Searched refs:preference (Results 1 – 16 of 16) sorted by relevance

/openthread-latest/src/core/thread/
Dradio_selector.cpp84 int16_t preference = static_cast<int16_t>(old); in UpdatePreference() local
86 preference += aDifference; in UpdatePreference()
88 if (preference > kMaxPreference) in UpdatePreference()
90 preference = kMaxPreference; in UpdatePreference()
93 if (preference < kMinPreference) in UpdatePreference()
95 preference = kMinPreference; in UpdatePreference()
98 aNeighbor.SetRadioPreference(aRadioType, static_cast<uint8_t>(preference)); in UpdatePreference()
105 …return ((old >= kHighPreference) != (preference >= kHighPreference)) ? kLogLevelInfo : kLogLevelDe… in UpdatePreference()
234 uint8_t preference = aNeighbor.GetRadioPreference(radio); in Select() local
236 if (preference >= kHighPreference) in Select()
[all …]
Dnetwork_data_publisher.cpp964 int8_t preference = BorderRouterEntry::PreferenceFromFlags(mFlags); in CountOnMeshPrefixEntries() local
988 (entryPreference >= preference)) in CountOnMeshPrefixEntries()
996 if ((entryPreference > preference) || IsPreferred(entry->GetRloc())) in CountOnMeshPrefixEntries()
1011 …int8_t preference = HasRouteEntry::PreferenceFromFlags(static_cast<uint8_t… in CountExternalRouteEntries() local
1035 (entryPreference >= preference)) in CountExternalRouteEntries()
1043 if ((entryPreference > preference) || IsPreferred(entry->GetRloc())) in CountExternalRouteEntries()
/openthread-latest/src/cli/
Dcli_br.cpp230 otRoutePreference preference; in Process() local
232 …SuccessOrExit(error = otBorderRoutingGetFavoredOmrPrefix(GetInstancePtr(), &favored, &preference)); in Process()
236 OutputLine(" prf:%s", PreferenceToString(preference)); in Process()
375 otRoutePreference preference; in Process() local
377 …ccessOrExit(error = otBorderRoutingGetFavoredNat64Prefix(GetInstancePtr(), &favored, &preference)); in Process()
381 OutputLine(" prf:%s", PreferenceToString(preference)); in Process()
769 otRoutePreference preference; in Process() local
771 SuccessOrExit(error = Interpreter::ParsePreference(aArgs[0], preference)); in Process()
772 otBorderRoutingSetRouteInfoOptionPreference(GetInstancePtr(), preference); in Process()
822 otRoutePreference preference; in Process() local
[all …]
DREADME_BR.md281 - Route preference (low, med, high) only if prefix is route (not on-link)
321 Get the preference used when advertising Route Info Options (e.g., for discovered OMR prefixes) in …
333 Set the preference (which may be 'high', 'med', or 'low') to use when advertising Route Info Option…
344preference value for advertising Route Info Options (e.g., for discovered OMR prefixes) in emitted…
355preference used for publishing routes in Thread Network Data. This may be the automatically determ…
367preference (which may be 'high', 'med', or 'low') to use publishing routes in Thread Network Data.…
378 …viously set preference value for publishing routes in Thread Network Data. When cleared BR will au…
Dcli_utils.cpp625 otRoutePreference preference; in ParsePrefix() local
627 if (ParsePreference(*aArgs, preference) == OT_ERROR_NONE) in ParsePrefix()
629 aConfig.mPreference = preference; in ParsePrefix()
699 otRoutePreference preference; in ParseRoute() local
701 if (ParsePreference(*aArgs, preference) == OT_ERROR_NONE) in ParseRoute()
703 aConfig.mPreference = preference; in ParseRoute()
DREADME.md2529 Get the list of neighbors and their supported radios and their preference.
3175 - prf: Default router preference, which may be 'high', 'med', or 'low'.
/openthread-latest/src/core/api/
Dborder_routing_api.cpp120 BorderRouter::RoutingManager::RoutePreference preference; in otBorderRoutingGetFavoredOmrPrefix() local
125 AsCoreType(aPrefix), preference)); in otBorderRoutingGetFavoredOmrPrefix()
126 *aPreference = static_cast<otRoutePreference>(preference); in otBorderRoutingGetFavoredOmrPrefix()
153 BorderRouter::RoutingManager::RoutePreference preference; in otBorderRoutingGetFavoredNat64Prefix() local
158 AsCoreType(aPrefix), preference)); in otBorderRoutingGetFavoredNat64Prefix()
159 *aPreference = static_cast<otRoutePreference>(preference); in otBorderRoutingGetFavoredNat64Prefix()
/openthread-latest/tests/toranj/ncp/
Dtest-701-multi-radio-probe.py136 verify(r2_radio_info.preference(wpan.RADIO_LINK_TREL_UDP6) >= HIGH_PREFERENCE_THRESHOLD)
155 verify(r2_radio_info.preference(wpan.RADIO_LINK_TREL_UDP6) <= MIN_PREFERENCE_THRESHOLD)
172 verify(r2_radio_info.preference(wpan.RADIO_LINK_TREL_UDP6) <= MIN_PREFERENCE_THRESHOLD)
174 verify(r2_radio_info.preference(wpan.RADIO_LINK_IEEE_802_15_4) >= HIGH_PREFERENCE_THRESHOLD)
195 verify(r2_radio_info.preference(wpan.RADIO_LINK_TREL_UDP6) >= HIGH_PREFERENCE_THRESHOLD)
Dtest-702-multi-radio-discovery-by-rx.py136 verify(r2_radio_info.preference(wpan.RADIO_LINK_TREL_UDP6) >= HIGH_PREFERENCE_THRESHOLD)
155 verify(r2_radio_info.preference(wpan.RADIO_LINK_TREL_UDP6) <= MIN_PREFERENCE_THRESHOLD)
172 verify(r2_radio_info.preference(wpan.RADIO_LINK_TREL_UDP6) <= MIN_PREFERENCE_THRESHOLD)
174 verify(r2_radio_info.preference(wpan.RADIO_LINK_IEEE_802_15_4) >= HIGH_PREFERENCE_THRESHOLD)
196 verify(r2_radio_info.preference(wpan.RADIO_LINK_TREL_UDP6) >= HIGH_PREFERENCE_THRESHOLD)
Dwpan.py1580 def preference(self, radio_type): member in MultiRadioEntry
/openthread-latest/src/core/border_router/
Drouting_manager.cpp3093 …RoutePreference preference = prefix.mIsDeprecating ? NetworkData::kRoutePreferenceLow : mPreferenc… in InvalidatPrevRios() local
3095 … SuccessOrExit(error = AppendRio(prefix.mPrefix, /* aRouteLifetime */ 0, preference, aRaMessage)); in InvalidatPrevRios()
3223 RoutePreference preference = mPreference; in AppendRios() local
3228 preference = NetworkData::kRoutePreferenceLow; in AppendRios()
3231 SuccessOrExit(error = AppendRio(prefix.mPrefix, lifetime, preference, aRaMessage)); in AppendRios()
3441 RoutePreference preference = NetworkData::kRoutePreferenceMedium; in SetPreferenceBasedOnRole() local
3445 preference = NetworkData::kRoutePreferenceLow; in SetPreferenceBasedOnRole()
3448 UpdatePreference(preference); in SetPreferenceBasedOnRole()
3609 RoutePreference preference; in Evaluate() local
3617 prefix = GetFavoredPrefix(preference); in Evaluate()
[all …]
/openthread-latest/src/core/
DBUILD.gn436 "common/preference.cpp",
437 "common/preference.hpp",
DCMakeLists.txt116 common/preference.cpp
/openthread-latest/third_party/mbedtls/repo/docs/
D3.0-migration-guide.md749 The default preference order for curves in TLS now favors resource usage (performance and memory co…
/openthread-latest/third_party/mbedtls/repo/
DChangeLog1356 * The GNU makefiles invoke python3 in preference to python except on Windows.
4915 * Option to set the Curve preference order (disabled by default)
4995 * Support for adhering to client ciphersuite order preference
/openthread-latest/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-interface.md1359 The current choice is that the first one is used, which allows having a preference order on drivers…