Information about DTLS sock. More...
Information about DTLS sock.
Definition at line 40 of file sock_dtls_types.h.
#include <sock_dtls_types.h>
Data Fields | |
| dtls_context_t * | dtls_ctx | 
| TinyDTLS context for sock.  | |
| sock_udp_t * | udp_sock | 
| Underlying UDP sock to use.  | |
| void * | buf_ctx | 
| Network stack internal buffer context.  | |
| sock_dtls_cb_t | async_cb | 
| Asynchronous event callback.  More... | |
| void * | async_cb_arg | 
| asynchronous callback arg  | |
| session_t | async_cb_session | 
| asynchronous callback session  | |
| sock_async_ctx_t | async_ctx | 
| Asynchronous event context.  More... | |
| mbox_t | mbox | 
| Mailbox for internal event handling.  | |
| msg_t | mbox_queue [SOCK_DTLS_MBOX_SIZE] | 
| Queue for struct sock_dtls::mbox.  | |
| struct { | |
| uint8_t * data | |
| Pointer to the decrypted data.  | |
| size_t datalen | |
| data length  | |
| session_t * session | |
| Session information.  | |
| } | buffer | 
| Buffer used to pass decrypted data and its session information.  | |
| char | psk_hint [CONFIG_DTLS_PSK_ID_HINT_MAX_SIZE] | 
| PSK Identity hint.  | |
| credman_tag_t | tags [CONFIG_DTLS_CREDENTIALS_MAX] | 
| Tags of the available credentials.  | |
| unsigned | tags_len | 
| Number of tags in the list 'tags'.  | |
| dtls_peer_type | role | 
| DTLS role of the socket.  | |
| sock_dtls_client_psk_cb_t | client_psk_cb | 
| Callback to determine PSK credential for session.  | |
| sock_dtls_rpk_cb_t | rpk_cb | 
| Callback to determine RPK credential for session.  | |
| sock_dtls_cb_t sock_dtls::async_cb | 
Asynchronous event callback.
Definition at line 53 of file sock_dtls_types.h.
| sock_async_ctx_t sock_dtls::async_ctx | 
Asynchronous event context.
Definition at line 62 of file sock_dtls_types.h.