Home
last modified time | relevance | path

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

/third_party/libcoap/src/
Dcoap_block.c506 coap_pdu_t *resend_pdu; in coap_retransmit_oscore_pdu() local
523 resend_pdu = coap_pdu_duplicate(pdu, session, ltoken_len, in coap_retransmit_oscore_pdu()
525 if (!resend_pdu) in coap_retransmit_oscore_pdu()
528 coap_insert_option(resend_pdu, COAP_OPTION_ECHO, coap_opt_length(echo), in coap_retransmit_oscore_pdu()
532 if (coap_get_block_b(session, resend_pdu, COAP_OPTION_BLOCK1, &block)) { in coap_retransmit_oscore_pdu()
537 coap_add_data(resend_pdu, data_len, data); in coap_retransmit_oscore_pdu()
540 return coap_send_internal(session, resend_pdu); in coap_retransmit_oscore_pdu()