rtcp_new: return failure if allocation of bi->ptr failed
[openssl.git] / ssl / dtls1.h
index b5042ea5fd22fc703867e022233de5e4f2c5bf39..c6edbe39f9cc1e666db453ebfb67c086c2987dfb 100644 (file)
@@ -85,6 +85,9 @@ extern "C" {
 
 #define DTLS1_VERSION                  0xFEFF
 #define DTLS1_BAD_VER                  0x0100
+#define DTLS1_2_VERSION                        0xFEFD
+/* Special value for method supporting multiple versions */
+#define DTLS_ANY_VERSION               0x1FFFF
 
 #if 0
 /* this alert description is not specified anywhere... */
@@ -236,7 +239,7 @@ typedef struct dtls1_state_st
 
        struct dtls1_timeout_st timeout;
 
-       /* Indicates when the last handshake msg sent will timeout */
+       /* Indicates when the last handshake msg or heartbeat sent will timeout */
        struct timeval next_timeout;
 
        /* Timeout duration */