44#ifndef CONFIG_DSM_PEER_MAX 
   45#define CONFIG_DSM_PEER_MAX   (CONFIG_DTLS_PEER_MAX) 
   53    SESSION_STATE_NONE = 0,
 
   54    SESSION_STATE_HANDSHAKE,
 
   55    SESSION_STATE_ESTABLISHED
 
 
void dsm_remove(sock_dtls_t *sock, sock_dtls_session_t *session)
Removes a session.
 
dsm_state_t dsm_store(sock_dtls_t *sock, sock_dtls_session_t *session, dsm_state_t new_state, bool restore)
Stores a session.
 
uint8_t dsm_get_num_maximum_slots(void)
Returns the maximum number of sessions slots.
 
uint8_t dsm_get_num_available_slots(void)
Returns the number of available session slots.
 
ssize_t dsm_get_least_recently_used_session(sock_dtls_t *sock, sock_dtls_session_t *session)
Returns the least recently used session.
 
void dsm_init(void)
Initialize the DTLS session management.
 
dsm_state_t
Session management states.
 
struct sock_dtls sock_dtls_t
forward declare for async
 
struct sock_dtls_session sock_dtls_session_t
Information about a created session.