Searched refs:mOption (Results 1 – 5 of 5) sorted by relevance
48 : 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()
151 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
468 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()
1103 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()
170 otCoapOption mOption; ///< CoAP message option member