Home
last modified time | relevance | path

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

/openthread-3.4.0/src/core/coap/
Dcoap_message.hpp251 return (GetHelpData().mHeader.mVersionTypeToken & kVersionMask) >> kVersionOffset; in GetVersion()
262 GetHelpData().mHeader.mVersionTypeToken &= ~kVersionMask; in SetVersion()
263 GetHelpData().mHeader.mVersionTypeToken |= aVersion << kVersionOffset; in SetVersion()
272 …uint8_t GetType(void) const { return (GetHelpData().mHeader.mVersionTypeToken & kTypeMask) >> kTyp… in GetType()
282 GetHelpData().mHeader.mVersionTypeToken &= ~kTypeMask; in SetType()
283 GetHelpData().mHeader.mVersionTypeToken |= (static_cast<uint8_t>(aType) << kTypeOffset); in SetType()
336 return (GetHelpData().mHeader.mVersionTypeToken & kTokenLengthMask) >> kTokenLengthOffset; in GetTokenLength()
905 uint8_t mVersionTypeToken; ///< The CoAP Version, Type, and Token Length member
966 GetHelpData().mHeader.mVersionTypeToken &= ~kTokenLengthMask; in SetTokenLength()
967 …GetHelpData().mHeader.mVersionTypeToken |= ((aTokenLength << kTokenLengthOffset) & kTokenLengthMas… in SetTokenLength()