Update from 1.0.0-stable.
[openssl.git] / ssl / dtls1.h
index 2066638f9425aab45f27d7857da573fd36dc16f6..884bbd34f1358974a2840408559438f0bf29caf1 100644 (file)
@@ -204,13 +204,19 @@ typedef struct dtls1_state_st
         */
        record_pqueue buffered_app_data;
 
-       unsigned int mtu; /* max wire packet size */
+       unsigned int mtu; /* max DTLS packet size */
 
        struct hm_header_st w_msg_hdr;
        struct hm_header_st r_msg_hdr;
 
        struct dtls1_timeout_st timeout;
-       
+
+       /* Indicates when the last handshake msg sent will timeout */
+       struct timeval next_timeout;
+
+       /* Timeout duration */
+       unsigned short timeout_duration;
+
        /* storage for Alert/Handshake protocol data received but not
         * yet processed by ssl3_read_bytes: */
        unsigned char alert_fragment[DTLS1_AL_HEADER_LENGTH];