Home
last modified time | relevance | path

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

/external/openthread/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
/external/openthread/src/core/meshcop/
Dmeshcop_tlvs.hpp2156 mFlags = (mFlags & ~kVersionMask) | ((aVersion << kVersionOffset) & kVersionMask); in SetVersion()
2188 static constexpr uint8_t kVersionMask = 0xf << kVersionOffset; member in ot::MeshCoP::DiscoveryRequestTlv
2241 mFlags = (mFlags & ~kVersionMask) | ((aVersion << kVersionOffset) & kVersionMask); in SetVersion()
2300 static constexpr uint8_t kVersionMask = 0xf << kVersionOffset; member in ot::MeshCoP::DiscoveryResponseTlv
/external/openthread/src/core/net/
Dip4_types.hpp293 bool IsVersion4(void) const { return (mVersIhl & kVersionMask) == kVersion4; } in IsVersion4()
514 static constexpr uint8_t kVersionMask = 0xf0; // Use with `mVersIhl` member in ot::Ip4::Header
Dip6_headers.hpp128 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.hpp365 static constexpr uint8_t kVersionMask = 0x07 << kVersionOffset; // Version field mask. member in ot::Sntp::Header
/external/openthread/src/core/coap/
Dcoap_message.hpp250 return (GetHelpData().mHeader.mVersionTypeToken & kVersionMask) >> kVersionOffset; in GetVersion()
261 GetHelpData().mHeader.mVersionTypeToken &= ~kVersionMask; in SetVersion()
835 static constexpr uint8_t kVersionMask = 0x3 << kVersionOffset; member in ot::Coap::Message
/external/openscreen/discovery/mdns/public/
Dmdns_constants.h459 constexpr uint32_t kVersionMask = 0x00FF0000; variable
/external/openthread/src/core/mac/
Dmac_frame.hpp1497 static constexpr uint8_t kVersionMask = 0xf << kVersionOffset; ///< Version field mask. member in ot::Mac::BeaconPayload
1581 mFlags &= ~kVersionMask; in SetJoiningPermitted()