Searched refs:kPreferenceMask (Results 1 – 3 of 3) sorted by relevance
124 mResvdPrf &= ~kPreferenceMask; in SetPreference()125 …vdPrf |= (NetworkData::RoutePreferenceToValue(aPreference) << kPreferenceOffset) & kPreferenceMask; in SetPreference()130 … return NetworkData::RoutePreferenceFromValue((mResvdPrf & kPreferenceMask) >> kPreferenceOffset); in GetPreference()198 return NetworkData::RoutePreferenceFromValue((mFlags & kPreferenceMask) >> kPreferenceOffset); in GetDefaultRouterPreference()203 mFlags &= ~kPreferenceMask; in SetDefaultRouterPreference()204 …Flags |= (NetworkData::RoutePreferenceToValue(aPreference) << kPreferenceOffset) & kPreferenceMask; in SetDefaultRouterPreference()
443 static constexpr uint8_t kPreferenceMask = 3 << kPreferenceOffset; member in ot::Ip6::Nd::RouteInfoOption547 static constexpr uint8_t kPreferenceMask = 3 << kPreferenceOffset; member in ot::Ip6::Nd::RouterAdvertMessage::Header
507 static uint8_t FlagsWithoutPreference(uint8_t aFlags) { return (aFlags & ~kPreferenceMask); } in FlagsWithoutPreference()521 static constexpr uint8_t kPreferenceMask = 3 << kPreferenceOffset; member in ot::NetworkData::HasRouteEntry1071 static uint16_t FlagsWithoutPreference(uint16_t aFlags) { return (aFlags & ~kPreferenceMask); } in FlagsWithoutPreference()1088 static constexpr uint16_t kPreferenceMask = 3 << kPreferenceOffset; member in ot::NetworkData::BorderRouterEntry