The following functions are provided by the Prosody DTLS processing API:
API call | W | Description |
---|---|---|
sm_dtlsrx_create() | Create a DTLS[rx] endpoint | |
sm_dtlsrx_destroy() | Destroy a previously allocated DTLS[rx] | |
sm_dtlsrx_get_event() | Obtain an event for a DTLS[rx] | |
sm_dtlsrx_get_packet() | Read a packet from a DTLS[rx] | |
sm_dtlsrx_status() | Determine DTLS[rx] status | |
sm_dtlsrx_stop() | Instructs a DTLS[rx] to stop processing DTLS | |
sm_dtlstx_config() | Configure the basic options for DTLS[tx] to use IPv4 | |
sm_dtlstx_config_ipv6() | Configure the basic options for a DTLS[tx] to use IPv6 | |
sm_dtlstx_config_notify() | Configure the packet cpapcity notifications for a DTLS[tx] | |
sm_dtlstx_create() | Create a DTLS[tx] endpoint | |
sm_dtlstx_destroy() | Destroy a previously allocated DTLS[tx] | |
sm_dtlstx_get_event() | Obtain an event for a DTLS[tx] | |
sm_dtlstx_send_packet() | Pass a packet to a DTLS[tx] for sending | |
sm_dtlstx_status() | Determine DTLS[tx] status | |
sm_dtlstx_stop() | Instructs a DTLS[tx] to stop sending DTLS | |
sm_vmprx_config_dtls() | Configure a VMP[rx] to pass DTLS packets to a DTLS[rx] |
This document is also available as a single file.