Searched refs:RoutePreferenceFromValue (Results 1 – 4 of 4) sorted by relevance
143 inline RoutePreference RoutePreferenceFromValue(uint8_t aValue) in RoutePreferenceFromValue() function194 …RoutePreference GetPreference(void) const { return RoutePreferenceFromValue(RoutePreferenceToValue… in GetPreference()
156 …mPreference = RoutePreferenceFromValue(static_cast<uint8_t>(aFlags >> BorderRouterEntry::kPrefer… in SetFromTlvFlags()211 mPreference = RoutePreferenceFromValue(aFlags >> HasRouteEntry::kPreferenceOffset); in SetFromTlvFlags()
505 …static int8_t PreferenceFromFlags(uint8_t aFlags) { return RoutePreferenceFromValue(aFlags >> kPre… in PreferenceFromFlags()1071 return RoutePreferenceFromValue(static_cast<uint8_t>(aFlags >> kPreferenceOffset)); in PreferenceFromFlags()
124 … return NetworkData::RoutePreferenceFromValue((mResvdPrf & kPreferenceMask) >> kPreferenceOffset); in GetPreference()189 return NetworkData::RoutePreferenceFromValue((mFlags & kPreferenceMask) >> kPreferenceOffset); in GetDefaultRouterPreference()