Searched refs:kModeOffset (Results 1 – 2 of 2) sorted by relevance
102 Mode GetMode(void) const { return static_cast<Mode>((mFlags & kModeMask) >> kModeOffset); } in GetMode()366 static constexpr uint8_t kModeOffset = 0; // Mode field offset. member in ot::Sntp::Header367 static constexpr uint8_t kModeMask = 0x07 << kModeOffset; // Mode filed mask.
51 : mFlags(kNtpVersion << kVersionOffset | kModeClient << kModeOffset) in Header()