Lines Matching refs:block_opt
323 coap_opt_t *block_opt; in message_handler() local
364 block_opt = coap_check_option(received, COAP_OPTION_BLOCK2, &opt_iter); in message_handler()
365 if (block_opt) { /* handle Block2 */ in message_handler()
372 if(COAP_OPT_BLOCK_MORE(block_opt)) { in message_handler()
375 COAP_OPT_BLOCK_SZX(block_opt), in message_handler()
376 coap_opt_block_num(block_opt)); in message_handler()
401 debug("query block %d\n", (coap_opt_block_num(block_opt) + 1)); in message_handler()
405 ((coap_opt_block_num(block_opt) + 1) << 4) | in message_handler()
406 COAP_OPT_BLOCK_SZX(block_opt)), buf); in message_handler()
426 block_opt = coap_check_option(received, COAP_OPTION_BLOCK1, &opt_iter); in message_handler()
428 if (block_opt) { /* handle Block1 */ in message_handler()
429 block.szx = COAP_OPT_BLOCK_SZX(block_opt); in message_handler()
430 block.num = coap_opt_block_num(block_opt); in message_handler()