Home
last modified time | relevance | path

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

/external/openthread/src/core/coap/
Dcoap_message.hpp250 return (GetHelpData().mHeader.mVersionTypeToken & kVersionMask) >> kVersionOffset; in GetVersion()
261 GetHelpData().mHeader.mVersionTypeToken &= ~kVersionMask; in SetVersion()
262 GetHelpData().mHeader.mVersionTypeToken |= aVersion << kVersionOffset; in SetVersion()
271 …uint8_t GetType(void) const { return (GetHelpData().mHeader.mVersionTypeToken & kTypeMask) >> kTyp… in GetType()
281 GetHelpData().mHeader.mVersionTypeToken &= ~kTypeMask; in SetType()
282 GetHelpData().mHeader.mVersionTypeToken |= (static_cast<uint8_t>(aType) << kTypeOffset); in SetType()
335 return (GetHelpData().mHeader.mVersionTypeToken & kTokenLengthMask) >> kTokenLengthOffset; in GetTokenLength()
904 uint8_t mVersionTypeToken; ///< The CoAP Version, Type, and Token Length member
965 GetHelpData().mHeader.mVersionTypeToken &= ~kTokenLengthMask; in SetTokenLength()
966 …GetHelpData().mHeader.mVersionTypeToken |= ((aTokenLength << kTokenLengthOffset) & kTokenLengthMas… in SetTokenLength()