Lines Matching refs:block_opt
1209 coap_opt_t *block_opt) in read_blocks() argument
1221 if (COAP_OPT_BLOCK_MORE(block_opt)) { in read_blocks()
1223 COAP_OPT_BLOCK_SZX(block_opt), in read_blocks()
1224 coap_opt_block_num(block_opt)); in read_blocks()
1232 (coap_opt_block_num(block_opt) + 1)); in read_blocks()
1236 ((coap_opt_block_num(block_opt) + 1) << 4) | in read_blocks()
1237 COAP_OPT_BLOCK_SZX(block_opt)), buf); in read_blocks()
1343 coap_opt_t *block_opt; in coap_message_handler() local
1377 block_opt = get_block(received, &opt_iter); in coap_message_handler()
1378 if (block_opt) in coap_message_handler()
1384 block_opt); in coap_message_handler()
1386 block_opt = coap_check_option(received, in coap_message_handler()
1389 if (block_opt) { /* handle Block1 */ in coap_message_handler()
1393 block.szx = COAP_OPT_BLOCK_SZX(block_opt); in coap_message_handler()
1394 block.num = coap_opt_block_num(block_opt); in coap_message_handler()