Lines Matching refs:dtls_event
1213 c_session->dtls_event = COAP_EVENT_DTLS_CLOSED; in do_mbedtls_handshake()
1231 c_session->dtls_event = COAP_EVENT_DTLS_ERROR; in do_mbedtls_handshake()
1595 c_session->dtls_event = -1; in coap_dtls_send()
1605 c_session->dtls_event = COAP_EVENT_DTLS_CLOSED; in coap_dtls_send()
1629 if (c_session->dtls_event >= 0) { in coap_dtls_send()
1631 if (c_session->dtls_event != COAP_EVENT_DTLS_CLOSED) in coap_dtls_send()
1632 coap_handle_event(c_session->context, c_session->dtls_event, c_session); in coap_dtls_send()
1633 if (c_session->dtls_event == COAP_EVENT_DTLS_ERROR || in coap_dtls_send()
1634 c_session->dtls_event == COAP_EVENT_DTLS_CLOSED) { in coap_dtls_send()
1716 c_session->dtls_event = -1; in coap_dtls_receive()
1760 c_session->dtls_event = COAP_EVENT_DTLS_CLOSED; in coap_dtls_receive()
1795 if (c_session->dtls_event >= 0) { in coap_dtls_receive()
1797 if (c_session->dtls_event != COAP_EVENT_DTLS_CLOSED) in coap_dtls_receive()
1798 coap_handle_event(c_session->context, c_session->dtls_event, c_session); in coap_dtls_receive()
1799 if (c_session->dtls_event == COAP_EVENT_DTLS_ERROR || in coap_dtls_receive()
1800 c_session->dtls_event == COAP_EVENT_DTLS_CLOSED) { in coap_dtls_receive()