starter: Remove all ties to pluto/libfreeswan.

Moved some types/constants in the process.
This commit is contained in:
Tobias Brunner
2012-06-11 17:33:32 +02:00
parent 5b09310e67
commit ee3026a1e2
10 changed files with 25 additions and 46 deletions
+16 -2
View File
@@ -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"
@@ -55,6 +53,22 @@ typedef enum {
STRICT_IFURI
} 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? */