Go to the documentation of this file.
19 #ifndef SOCK_DTLS_TYPES_H
20 #define SOCK_DTLS_TYPES_H
33 #ifndef SOCK_DTLS_MBOX_SIZE
34 #define SOCK_DTLS_MBOX_SIZE (4)
43 #if defined(SOCK_HAS_ASYNC) || defined(DOXYGEN)
55 #if defined(SOCK_HAS_ASYNC_CTX) || defined(DOXYGEN)
(D)TLS credentials management module definitions
session_t dtls_session
TinyDTLS session.
msg_t mbox_queue[SOCK_DTLS_MBOX_SIZE]
Queue for struct sock_dtls::mbox.
#define SOCK_DTLS_MBOX_SIZE
Size of DTLS sock mailbox.
sock_dtls_cb_t async_cb
Asynchronous event callback.
dtls_peer_type role
DTLS role of the socket.
uint8_t * data
Pointer to the decrypted data.
mbox_t mbox
Mailbox for internal event handling.
sock_udp_ep_t ep
Remote endpoint the session is connected to.
session_t * session
Session information.
Asynchronous context for Asynchronous sock with event API.
Definitions for sock extension for asynchronous access.
Mailbox struct definition.
Information about DTLS sock.
credman_tag_t tag
Credential tag of a registered (D)TLS credential.
void * buf_ctx
Network stack internal buffer context.
Common IP-based transport layer end point.
void(* sock_dtls_cb_t)(sock_dtls_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_dtls_t.
Information about remote client connected to the server.
sock_udp_t * udp_sock
Underlying UDP sock to use.
dtls_context_t * dtls_ctx
TinyDTLS context for sock.
void * async_cb_arg
asynchronous callback arg
uint16_t credman_tag_t
Tag of the credential.
sock_async_ctx_t async_ctx
Asynchronous event context.
Describes a message object which can be sent between threads.
struct sock_dtls::@244 buffer
Buffer used to pass decrypted data and its session information.
size_t datalen
data length