SKE: support for simplified key exchange
[silc.git] / lib / silcske / silcske_i.h
index 7edfa04a9d65cc1aef4f474370b072a3ddcdef45..3467bc9392567e075595e9dacaab45b35342d291 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 2005 - 2006 Pekka Riikonen
+  Copyright (C) 2005 - 2014 Pekka Riikonen
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -87,11 +87,16 @@ struct SilcSKEStruct {
     SilcUInt32 data_len;
   } retrans;
 
-  unsigned int aborted    : 1;        /* Set when SKE aborted */
-  unsigned int freed      : 1;       /* Set when freed during session */
-  unsigned int responder  : 1;       /* Set when we are responder side */
-  unsigned int running    : 1;       /* Set when SKE is running */
-  unsigned int rekeying   : 1;       /* Set when rekeying */
+  SilcUInt16 timeout;                /* SKE timeout */
+  SilcUInt16 probe_timeout;          /* First packet timeout */
+  SilcUInt16 refcnt;                 /* Reference counter */
+
+  unsigned int aborted          : 1;  /* Set when SKE aborted */
+  unsigned int responder        : 1;  /* Set when we are responder side */
+  unsigned int rekeying         : 1;  /* Set when rekeying */
+  unsigned int failure_notified : 1;  /* Set to indicate that we already called
+                                        the failure notify routine */
+  unsigned int no_acks          : 1;  /* No SUCCESS acks */
 };
 
 #endif /* SILCSKE_I_H */