Home
last modified time | relevance | path

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

/third_party/libcoap/src/
Dcoap_block.c2229 coap_opt_t *etag_opt = NULL; in coap_handle_request_send_block() local
2273 etag_opt = coap_check_option(pdu, COAP_OPTION_ETAG, &opt_iter); in coap_handle_request_send_block()
2274 if (etag_opt) { in coap_handle_request_send_block()
2275 uint64_t etag = coap_decode_var_bytes8(coap_opt_value(etag_opt), in coap_handle_request_send_block()
2276 coap_opt_length(etag_opt)); in coap_handle_request_send_block()
2478 if (!etag_opt && !coap_add_block_b_data(out_pdu, in coap_handle_request_send_block()
3410 coap_opt_t *etag_opt = coap_check_option(rcvd, in coap_handle_response_get_block() local
3441 if (etag_opt) { in coap_handle_response_get_block()
3442 p->etag_length = coap_opt_length(etag_opt); in coap_handle_response_get_block()
3443 memcpy(p->etag, coap_opt_value(etag_opt), p->etag_length); in coap_handle_response_get_block()
[all …]