Searched refs:kOptionBlock2 (Results 1 – 3 of 3) sorted by relevance
190 … if ((aTransmitHook != nullptr) && (aMessage.ReadBlockOptionValues(kOptionBlock2) == kErrorNone) && in SendMessage()584 blockOption = (aType == Message::kBlockType1) ? kOptionBlock1 : kOptionBlock2; in PrepareNextBlockRequest()609 if (optionNumber == kOptionBlock1 || optionNumber == kOptionBlock2) in PrepareNextBlockRequest()705 SuccessOrExit(error = aMessage.ReadBlockOptionValues(kOptionBlock2)); in SendNextBlock2Request()829 SuccessOrExit(error = aMessage.ReadBlockOptionValues(kOptionBlock2)); in ProcessBlock2Request()903 if (optionNumber == kOptionBlock2) in ProcessBlock2Request()1135 case kOptionBlock2: in ProcessReceivedResponse()1304 case kOptionBlock2: in ProcessReceivedRequest()
288 error = AppendUintOption((aType == kBlockType1) ? kOptionBlock1 : kOptionBlock2, encoded); in AppendBlockOption()301 …VerifyOrExit((aBlockType == kOptionBlock1) || (aBlockType == kOptionBlock2), error = kErrorInvalid… in ReadBlockOptionValues()
152 kOptionBlock2 = OT_COAP_OPTION_BLOCK2, ///< Block2 (RFC7959) enumerator