Searched refs:pdu_len (Results 1 – 3 of 3) sorted by relevance
83 unsigned pdu_len; member152 if (data->pdu_len > 0) { in coap_dgram_read()153 if (outl < data->pdu_len) { in coap_dgram_read()157 data->pdu_len -= outl; in coap_dgram_read()160 memcpy(out, data->pdu, data->pdu_len); in coap_dgram_read()161 ret = data->pdu_len; in coap_dgram_read()163 data->pdu_len = 0; in coap_dgram_read()1723 if (ssl_data->pdu_len) { in coap_dtls_receive()1725 coap_session_str(c_session), ssl_data->pdu_len); in coap_dtls_receive()1728 ssl_data->pdu_len = (unsigned)data_len; in coap_dtls_receive()[all …]
77 unsigned pdu_len; member1931 if (data != NULL && data->pdu_len > 0) { in coap_dgram_read()1932 if (outl < data->pdu_len) { in coap_dgram_read()1937 data->pdu_len -= outl; in coap_dgram_read()1940 memcpy(out, data->pdu, data->pdu_len); in coap_dgram_read()1941 ret = data->pdu_len; in coap_dgram_read()1943 data->pdu_len = 0; in coap_dgram_read()1997 g_env->coap_ssl_data.pdu_len > 0) { in receive_timeout()2413 if (ssl_data->pdu_len) in coap_dtls_receive()2415 coap_session_str(c_session), ssl_data->pdu_len); in coap_dtls_receive()[all …]
244 unsigned pdu_len; member275 if (data != NULL && data->pdu_len > 0) { in coap_dgram_read()276 if (outl < (int)data->pdu_len) { in coap_dgram_read()280 memcpy(out, data->pdu, data->pdu_len); in coap_dgram_read()281 ret = (int)data->pdu_len; in coap_dgram_read()284 data->pdu_len = 0; in coap_dgram_read()3019 if (ssl_data->pdu_len) { in coap_dtls_hello()3021 coap_session_str(session), ssl_data->pdu_len); in coap_dtls_hello()3025 ssl_data->pdu_len = (unsigned)data_len; in coap_dtls_hello()3059 if (ssl_data->pdu_len) { in coap_dtls_receive()[all …]