Go to the documentation of this file.
60 #ifndef HEADER_DTLS1_H
61 #define HEADER_DTLS1_H
65 #ifdef OPENSSL_SYS_VMS
67 #include <sys/timeb.h>
69 #ifdef OPENSSL_SYS_WIN32
72 #elif defined(OPENSSL_SYS_NETWARE) && !defined(_WINSOCK2API_)
73 #include <sys/timeval.h>
82 #define DTLS1_VERSION 0xFEFF
83 #define DTLS1_BAD_VER 0x0100
87 #define DTLS1_AD_MISSING_HANDSHAKE_MESSAGE 110
91 #define DTLS1_COOKIE_LENGTH 256
93 #define DTLS1_RT_HEADER_LENGTH 13
95 #define DTLS1_HM_HEADER_LENGTH 12
97 #define DTLS1_HM_BAD_FRAGMENT -2
98 #define DTLS1_HM_FRAGMENT_RETRY -3
100 #define DTLS1_CCS_HEADER_LENGTH 1
102 #ifdef DTLS1_AD_MISSING_HANDSHAKE_MESSAGE
103 #define DTLS1_AL_HEADER_LENGTH 7
105 #define DTLS1_AL_HEADER_LENGTH 2
108 #ifndef OPENSSL_NO_SSL_INTERN
110 #ifndef OPENSSL_NO_SCTP
111 #define DTLS1_SCTP_AUTH_LABEL "EXPORTER_DTLS_OVER_SCTP"
127 #ifndef OPENSSL_NO_COMP
133 unsigned short epoch;
167 unsigned short epoch;
251 #ifndef OPENSSL_NO_SCTP
266 #ifndef OPENSSL_NO_SCTP
274 #define DTLS1_TMO_READ_COUNT 2
275 #define DTLS1_TMO_WRITE_COUNT 2
277 #define DTLS1_TMO_ALERT_COUNT 12