Searched refs:kOptionLengthOffset (Results 1 – 2 of 2) sorted by relevance
862 static constexpr uint8_t kOptionLengthOffset = 0; member in ot::Coap::Message863 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()