diff options
Diffstat (limited to 'src/stroke/stroke.h')
-rw-r--r-- | src/stroke/stroke.h | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/src/stroke/stroke.h b/src/stroke/stroke.h index 94e07d465..18db5a894 100644 --- a/src/stroke/stroke.h +++ b/src/stroke/stroke.h @@ -18,6 +18,8 @@ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. + * + * RCSID $Id: stroke.h 3271 2007-10-08 20:12:25Z andreas $ */ #ifndef STROKE_H_ @@ -72,18 +74,20 @@ typedef enum reread_flag_t reread_flag_t; enum reread_flag_t { /** don't reread anything */ REREAD_NONE = 0x0000, + /** reread all secret keys */ + REREAD_SECRETS = 0x0001, /** reread all ca certs */ - REREAD_CACERTS = 0x0001, + REREAD_CACERTS = 0x0002, /** reread all ocsp signer certs */ - REREAD_OCSPCERTS = 0x0002, + REREAD_OCSPCERTS = 0x0004, /** reread all aa certs */ - REREAD_AACERTS = 0x0004, + REREAD_AACERTS = 0x0008, /** reread all attribute certs */ - REREAD_ACERTS = 0x0008, + REREAD_ACERTS = 0x0010, /** reread all crls */ - REREAD_CRLS = 0x0010, + REREAD_CRLS = 0x0020, /** all reread options */ - REREAD_ALL = 0x001F, + REREAD_ALL = 0x003F, }; typedef enum purge_flag_t purge_flag_t; @@ -180,6 +184,8 @@ struct stroke_msg_t { int auth_method; int eap_type; int mode; + int mobike; + int force_encap; struct { char *ike; char *esp; @@ -196,6 +202,11 @@ struct stroke_msg_t { time_t delay; int action; } dpd; + struct { + int mediation; + char *mediated_by; + char *peerid; + } p2p; stroke_end_t me, other; } add_conn; |