Lines Matching refs:szx
56 coap_block_t block = { .num = 0, .m = 0, .szx = 6 };
171 coap_add_block(pdu, length, data, block.num, block.szx); in coap_new_request()
429 block.szx = COAP_OPT_BLOCK_SZX(block_opt); in message_handler()
433 block.szx, block.num); in message_handler()
435 if (payload.length <= (block.num+1) * (1 << (block.szx + 4))) { in message_handler()
467 block.m = ((block.num+1) * (1 << (block.szx + 4)) < payload.length); in message_handler()
473 (block.num << 4) | (block.m << 3) | block.szx), buf); in message_handler()
479 block.szx); in message_handler()
745 block.szx = (coap_fls(size >> 4) - 1) & 0x07; in cmdline_blocksize()
763 ((1u << (block.szx + 4)) < payload.length); in set_blocksize()
766 (block.num << 4 | block.m << 3 | block.szx)); in set_blocksize()