Home
last modified time | relevance | path

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

/openthread-3.5.0/src/core/coap/
Dcoap_message.cpp471 mNextOptionOffset = static_cast<uint16_t>(offset); in Init()
502 VerifyOrExit(mNextOptionOffset < GetMessage().GetLength(), error = kErrorParse); in Advance()
514 VerifyOrExit(optionLength <= GetMessage().GetLength() - mNextOptionOffset, error = kErrorParse); in Advance()
515 mNextOptionOffset += optionLength; in Advance()
534 GetMessage().ReadBytes(mNextOptionOffset - mOption.mLength, aValue, mOption.mLength); in ReadOptionValue()
570 SuccessOrExit(error = GetMessage().Read(mNextOptionOffset, aBuffer, aLength)); in Read()
571 mNextOptionOffset += aLength; in Read()
Dcoap_message.hpp1114 … bool HasParseErrored(void) const { return mNextOptionOffset == kNextOptionOffsetParseError; } in HasParseErrored()
1190 uint16_t GetPayloadMessageOffset(void) const { return mNextOptionOffset; } in GetPayloadMessageOffset()
1200 … void MarkAsParseErrored(void) { MarkAsDone(), mNextOptionOffset = kNextOptionOffsetParseError; } in MarkAsParseErrored()
/openthread-3.5.0/include/openthread/
Dcoap.h171 uint16_t mNextOptionOffset; ///< Byte offset of next option member