Searched refs:COAP_OPT_LENGTH (Results 1 – 13 of 13) sorted by relevance
/net-tools-latest/libcoap/include/coap/ |
D | block.h | 45 (COAP_OPT_LENGTH(opt) ? (COAP_OPT_VALUE(opt) + (COAP_OPT_LENGTH(opt)-1)) : 0) 49 (COAP_OPT_LENGTH(opt) ? (*COAP_OPT_BLOCK_LAST(opt) & 0x08) : 0) 53 (COAP_OPT_LENGTH(opt) ? (*COAP_OPT_BLOCK_LAST(opt) & 0x07) : 0) 73 *(COAP_OPT_VALUE(block_opt) + (COAP_OPT_LENGTH(block_opt) - 1)) |= 0x08; in coap_opt_block_set_m() 75 *(COAP_OPT_VALUE(block_opt) + (COAP_OPT_LENGTH(block_opt) - 1)) &= ~0x08; in coap_opt_block_set_m()
|
D | option.h | 392 #define COAP_OPT_LENGTH(opt) coap_opt_length(opt) macro
|
/net-tools-latest/libcoap/examples/ |
D | coap-rd.c | 149 if (!etag || (COAP_OPT_LENGTH(etag) != rd->etag_len) in hnd_put_resource() 169 rd->etag_len = min(COAP_OPT_LENGTH(etag), sizeof(rd->etag)); in hnd_put_resource() 380 rd->etag_len = min(COAP_OPT_LENGTH(etag), sizeof(rd->etag)); in make_rd() 418 COAP_OPT_VALUE(query), COAP_OPT_LENGTH(query), &h); in hnd_post_rd() 420 COAP_OPT_VALUE(query), COAP_OPT_LENGTH(query), &ins); in hnd_post_rd() 422 COAP_OPT_VALUE(query), COAP_OPT_LENGTH(query), <); in hnd_post_rd() 424 COAP_OPT_VALUE(query), COAP_OPT_LENGTH(query), &rt); in hnd_post_rd() 532 COAP_OPT_LENGTH(b), in hnd_post_rd()
|
D | etsi_iot_01.c | 283 coap_decode_var_bytes(COAP_OPT_VALUE(option), COAP_OPT_LENGTH(option)); in hnd_post_test() 294 COAP_OPT_LENGTH(buf), COAP_OPT_VALUE(buf)); in hnd_post_test() 340 coap_decode_var_bytes(COAP_OPT_VALUE(option), COAP_OPT_LENGTH(option)); in hnd_put_test() 397 L = min(sizeof(buf) - len, COAP_OPT_LENGTH(q)); in hnd_get_query() 438 for (i = 6; i < COAP_OPT_LENGTH(option); ++i) in hnd_get_separate()
|
D | coap-server.c | 138 min(5, COAP_OPT_LENGTH(option))) == 0) { in hnd_get_time() 236 for (size = COAP_OPT_LENGTH(option); size; --size, ++p) in hnd_get_async()
|
D | client.c | 705 COAP_OPT_LENGTH(buf), in cmdline_uri() 720 COAP_OPT_LENGTH(buf), in cmdline_uri()
|
/net-tools-latest/libcoap/src/ |
D | resource.c | 193 while (resource_param.length < COAP_OPT_LENGTH(query_filter) 197 if (resource_param.length < COAP_OPT_LENGTH(query_filter)) { 215 assert((resource_param.length + 1) <= COAP_OPT_LENGTH(query_filter)); 217 COAP_OPT_LENGTH(query_filter) - (resource_param.length + 1); 395 coap_hash(COAP_OPT_VALUE(option), COAP_OPT_LENGTH(option), key);
|
D | debug.c | 408 COAP_OPT_LENGTH(option)); in coap_show_pdu() 431 COAP_OPT_LENGTH(option))); in coap_show_pdu() 448 COAP_OPT_LENGTH(option), in coap_show_pdu()
|
D | block.c | 38 COAP_OPT_LENGTH(block_opt) - 1); in coap_opt_block_num()
|
D | net.c | 1111 COAP_OPT_LENGTH(option), in coap_new_error_response()
|
/net-tools-latest/libcoap/examples/contiki/ |
D | coap-observer.c | 159 COAP_OPT_LENGTH(buf), COAP_OPT_VALUE(buf)); in PROCESS_THREAD()
|
D | server.c | 132 min(5, COAP_OPT_LENGTH(option))) == 0) { in hnd_get_time()
|
/net-tools-latest/ |
D | coap-client.c | 688 COAP_OPT_LENGTH(buf), in parse_uri() 704 COAP_OPT_LENGTH(buf), in parse_uri()
|