Home
last modified time | relevance | path

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

/third_party/libcoap/src/
Dcoap_net.c1881 if (session->partial_pdu) { in coap_read_session()
1882 size_t len = session->partial_pdu->used_size in coap_read_session()
1883 + session->partial_pdu->hdr_size in coap_read_session()
1886 memcpy(session->partial_pdu->token - session->partial_pdu->hdr_size in coap_read_session()
1891 if (coap_pdu_parse_header(session->partial_pdu, session->proto) in coap_read_session()
1892 && coap_pdu_parse_opt(session->partial_pdu)) { in coap_read_session()
1896 coap_dispatch(ctx, session, session->partial_pdu); in coap_read_session()
1901 coap_delete_pdu(session->partial_pdu); in coap_read_session()
1902 session->partial_pdu = NULL; in coap_read_session()
1929 session->partial_pdu = coap_pdu_init(0, 0, 0, in coap_read_session()
[all …]
Dcoap_session.c624 if (session->partial_pdu) in coap_session_mfree()
625 coap_delete_pdu(session->partial_pdu); in coap_session_mfree()
1038 if (session->partial_pdu) { in coap_session_disconnected()
1039 coap_delete_pdu(session->partial_pdu); in coap_session_disconnected()
1040 session->partial_pdu = NULL; in coap_session_disconnected()
/third_party/libcoap/include/coap3/
Dcoap_session_internal.h110 coap_pdu_t *partial_pdu; /**< incomplete incoming pdu */ member