Searched refs:block_number (Results 1 – 3 of 3) sorted by relevance
591 uint16_t block_number, chunk_size; in handle_block_start() local594 block_number = net_buf_simple_pull_le16(buf); in handle_block_start()606 if (block_number != srv->block.number || in handle_block_start()616 if (block_number >= block_count_get(srv)) { in handle_block_start()633 srv->state.xfer.size, srv->state.xfer.block_size_log, block_number); in handle_block_start()634 srv->block.number = block_number; in handle_block_start()637 srv->block.offset = block_number * (1UL << srv->state.xfer.block_size_log); in handle_block_start()640 !atomic_test_bit(srv->state.blocks, block_number)) { in handle_block_start()
666 int coap_get_block1_option(const struct coap_packet *cpkt, bool *has_more, uint8_t *block_number);
1063 int coap_get_block1_option(const struct coap_packet *cpkt, bool *has_more, uint8_t *block_number) in coap_get_block1_option() argument1072 *block_number = GET_NUM(ret); in coap_get_block1_option()