230 #include <wolfssl/ssl.h>
299 void sock_dtls_set_endpoint(sock_tls_t *sk,
const sock_udp_ep_t *addr);
336 #ifdef MODULE_SOCK_TCP
337 # error Only support for UDP/IP provided via GNRC stack.
static int sock_dtls_session_create(sock_dtls_t *sock, const sock_udp_ep_t *ep, sock_dtls_session_t *remote, unsigned timeout)
Creates a new DTLS session.
void sock_dtls_session_destroy(sock_dtls_t *sock, sock_dtls_session_t *remote)
Destroys an existing DTLS session.
void sock_dtls_close(sock_dtls_t *sock)
Closes a DTLS sock.
Common IP-based transport layer end point.
int sock_dtls_create(sock_dtls_t *sock, sock_udp_t *udp_sock, credman_tag_t tag, unsigned version, unsigned role)
Creates a new DTLS sock object.
Common sock API definitions.