diff options
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r-- | sys/netinet/in_pcb.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 9ad3607..8411fe8 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -72,6 +72,16 @@ #include <netkey/key.h> #endif /* IPSEC */ +#ifdef FAST_IPSEC +#if defined(IPSEC) || defined(IPSEC_ESP) +#error "Bad idea: don't compile with both IPSEC and FAST_IPSEC!" +#endif + +#include <netipsec/ipsec.h> +#include <netipsec/key.h> +#define IPSEC +#endif /* FAST_IPSEC */ + struct in_addr zeroin_addr; /* |