Home
last modified time | relevance | path

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

/openthread-3.5.0/src/core/net/
Dnd6.cpp48 : mOption(nullptr) in Iterator()
55 : mOption(nullptr) in Iterator()
61 mOption = Validate(reinterpret_cast<const Option *>(aStart)); in Iterator()
69 void Option::Iterator::Advance(void) { mOption = (mOption != nullptr) ? Validate(Next(mOption)) : n… in Advance()
Dnd6.hpp151 const Option &operator*(void) { return *mOption; } in operator *()
154 bool operator==(const Iterator &aOther) const { return mOption == aOther.mOption; } in operator ==()
161 const Option *mOption; member in ot::Ip6::Nd::Option::Iterator
/openthread-3.5.0/src/core/coap/
Dcoap_message.cpp468 mOption.mNumber = 0; in Init()
469 mOption.mLength = 0; in Init()
517 mOption.mNumber += optionDelta; in Advance()
518 mOption.mLength = optionLength; in Advance()
534 GetMessage().ReadBytes(mNextOptionOffset - mOption.mLength, aValue, mOption.mLength); in ReadOptionValue()
547 VerifyOrExit(mOption.mLength <= sizeof(uint64_t), error = kErrorNoBufs); in ReadOptionValue()
552 for (uint16_t pos = 0; pos < mOption.mLength; pos++) in ReadOptionValue()
Dcoap_message.hpp1103 bool IsDone(void) const { return mOption.mLength == kIteratorDoneLength; } in IsDone()
1156 …ption *GetOption(void) const { return IsDone() ? nullptr : static_cast<const Option *>(&mOption); } in GetOption()
1199 void MarkAsDone(void) { mOption.mLength = kIteratorDoneLength; } in MarkAsDone()
/openthread-3.5.0/include/openthread/
Dcoap.h170 otCoapOption mOption; ///< CoAP message option member