Home
last modified time | relevance | path

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

/openthread-3.6.0/src/core/radio/
Dtrel_packet.hpp101 bool IsVersionValid(void) const { return (mControl & kVersionMask) == kVersion; } in IsVersionValid()
240 static constexpr uint8_t kVersionMask = (7 << 5); // Bits 5-7 specify the version. member in ot::Trel::Header
/openthread-3.6.0/src/core/meshcop/
Dmeshcop_tlvs.hpp1057 mFlags = (mFlags & ~kVersionMask) | ((aVersion << kVersionOffset) & kVersionMask); in SetVersion()
1089 static constexpr uint8_t kVersionMask = 0xf << kVersionOffset; member in ot::MeshCoP::DiscoveryRequestTlv
1142 mFlags = (mFlags & ~kVersionMask) | ((aVersion << kVersionOffset) & kVersionMask); in SetVersion()
1201 static constexpr uint8_t kVersionMask = 0xf << kVersionOffset; member in ot::MeshCoP::DiscoveryResponseTlv
/openthread-3.6.0/src/core/net/
Dip4_types.hpp338 bool IsVersion4(void) const { return (mVersIhl & kVersionMask) == kVersion4; } in IsVersion4()
559 static constexpr uint8_t kVersionMask = 0xf0; // Use with `mVersIhl` member in ot::Ip4::Header
Dip6_headers.hpp125 bool IsVersion6(void) const { return (mVerTcFlow.m8[0] & kVersionMask) == kVersion6; } in IsVersion6()
349 static constexpr uint8_t kVersionMask = 0xf0; // Use with `mVerTcFlow.m8[0]` member in ot::Ip6::Header
Dsntp_client.hpp224 static constexpr uint8_t kVersionMask = 0x07 << kVersionOffset; // Version field mask. member in ot::Sntp::Client::Header
/openthread-3.6.0/src/core/coap/
Dcoap_message.hpp249 return (GetHelpData().mHeader.mVersionTypeToken & kVersionMask) >> kVersionOffset; in GetVersion()
260 GetHelpData().mHeader.mVersionTypeToken &= ~kVersionMask; in SetVersion()
834 static constexpr uint8_t kVersionMask = 0x3 << kVersionOffset; member in ot::Coap::Message
/openthread-3.6.0/src/core/mac/
Dmac_frame.hpp1607 static constexpr uint8_t kVersionMask = 0xf << kVersionOffset; ///< Version field mask. member in ot::Mac::BeaconPayload
1691 mFlags &= ~kVersionMask; in SetJoiningPermitted()