Home
last modified time | relevance | path

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

/openthread-latest/src/core/coap/
Dcoap_message.cpp512 mNextOptionOffset = static_cast<uint16_t>(offset); in Init()
543 VerifyOrExit(mNextOptionOffset < GetMessage().GetLength(), error = kErrorParse); in Advance()
555 VerifyOrExit(optionLength <= GetMessage().GetLength() - mNextOptionOffset, error = kErrorParse); in Advance()
556 mNextOptionOffset += optionLength; in Advance()
575 GetMessage().ReadBytes(mNextOptionOffset - mOption.mLength, aValue, mOption.mLength); in ReadOptionValue()
611 SuccessOrExit(error = GetMessage().Read(mNextOptionOffset, aBuffer, aLength)); in Read()
612 mNextOptionOffset += aLength; in Read()
Dcoap_message.hpp1059 … bool HasParseErrored(void) const { return mNextOptionOffset == kNextOptionOffsetParseError; } in HasParseErrored()
1128 uint16_t GetPayloadMessageOffset(void) const { return mNextOptionOffset; } in GetPayloadMessageOffset()
1137 … uint16_t GetOptionValueMessageOffset(void) const { return mNextOptionOffset - mOption.mLength; } in GetOptionValueMessageOffset()
1147 … void MarkAsParseErrored(void) { MarkAsDone(), mNextOptionOffset = kNextOptionOffsetParseError; } in MarkAsParseErrored()
/openthread-latest/include/openthread/
Dcoap.h165 uint16_t mNextOptionOffset; ///< Byte offset of next option member