1/** 2 * DTLS session declared in `dunnel.c`. 3 */ 4extern session_t dsess; 5 6/** 7 * session_t for the socket client, defined in `dunnel.c`. 8 */ 9extern session_t csess;1011/**12 * DTLS callback declared in `dtls.c`.13 */14extern dtls_handler_t dtlscb;1516/**17 * Command line argument from `dunnel.c`.18 */19extern int smode;2021/**22 * Struct use for the application data in the dtls_context_t.23 */24struct dctx {25 int ufd; /* FD of the UDP socket. */26 int dfd; /* FD of the DTLS socket. */2728 unsigned char *id, *key;29};3031/**32 * Enum used to specify which operation should be performed on the usock.33 */34typedef enum {35 SOCK_CONN,36 SOCK_BIND,37} sockop;