diff options
Diffstat (limited to 'src/starter/confread.h')
-rw-r--r-- | src/starter/confread.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/starter/confread.h b/src/starter/confread.h index 5064f6cd8..9763bf7b8 100644 --- a/src/starter/confread.h +++ b/src/starter/confread.h @@ -16,8 +16,6 @@ #ifndef _IPSEC_CONFREAD_H_ #define _IPSEC_CONFREAD_H_ -#include <freeswan.h> -#include "../pluto/constants.h" #include <kernel/kernel_ipsec.h> #include "ipsec-parser.h" @@ -56,6 +54,22 @@ typedef enum { } strict_t; typedef enum { + CERT_ALWAYS_SEND, + CERT_SEND_IF_ASKED, + CERT_NEVER_SEND, + CERT_YES_SEND, /* synonym for CERT_ALWAYS_SEND */ + CERT_NO_SEND, /* synonym for CERT_NEVER_SEND */ +} certpolicy_t; + +typedef enum { + DPD_ACTION_NONE, + DPD_ACTION_CLEAR, + DPD_ACTION_HOLD, + DPD_ACTION_RESTART, + DPD_ACTION_UNKNOW, +} dpd_action_t; + +typedef enum { /* IPsec options */ SA_OPTION_AUTHENTICATE = 1 << 0, /* use AH instead of ESP? */ SA_OPTION_COMPRESS = 1 << 1, /* use IPComp */ |