Searched refs:kOptionLengthOffset (Results 1 – 2 of 2) sorted by relevance
864 static constexpr uint8_t kOptionLengthOffset = 0; member in ot::Coap::Message865 static constexpr uint8_t kOptionLengthMask = 0xf << kOptionLengthOffset;
163 … header[0] |= static_cast<uint8_t>(WriteExtendedOptionField(aLength, cur) << kOptionLengthOffset); in AppendOption()511 optionLength = (headerByte & Message::kOptionLengthMask) >> Message::kOptionLengthOffset; in Advance()