Home
last modified time | relevance | path

Searched refs:rec_blocks (Results 1 – 2 of 2) sorted by relevance

/third_party/libcoap/src/
Dblock.c757 check_if_received_block(coap_rblock_t *rec_blocks, uint32_t block_num) { in check_if_received_block() argument
760 for (i = 0; i < rec_blocks->used; i++) { in check_if_received_block()
761 if (block_num < rec_blocks->range[i].begin) in check_if_received_block()
763 if (block_num <= rec_blocks->range[i].end) in check_if_received_block()
770 check_all_blocks_in(coap_rblock_t *rec_blocks, size_t total_blocks) { in check_all_blocks_in() argument
774 for (i = 0; i < rec_blocks->used; i++) { in check_all_blocks_in()
775 if (block < rec_blocks->range[i].begin) in check_all_blocks_in()
777 if (block < rec_blocks->range[i].end) in check_all_blocks_in()
778 block = rec_blocks->range[i].end; in check_all_blocks_in()
1159 update_received_blocks(coap_rblock_t *rec_blocks, uint32_t block_num) { in update_received_blocks() argument
[all …]
/third_party/libcoap/include/coap3/
Dcoap_block_internal.h119 coap_rblock_t rec_blocks; /** < list of received blocks */ member
143 coap_rblock_t rec_blocks; /** < list of received blocks */ member