summaryrefslogtreecommitdiff
path: root/src/whack/whack.h
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2010-02-23 10:34:14 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2010-02-23 10:34:14 +0000
commited7d79f96177044949744da10f4431c1d6242241 (patch)
tree3aabaa55ed3b5291daef891cfee9befb5235e2b8 /src/whack/whack.h
parent7410d3c6d6a9a1cd7aa55083c938946af6ff9498 (diff)
downloadvyos-strongswan-ed7d79f96177044949744da10f4431c1d6242241.tar.gz
vyos-strongswan-ed7d79f96177044949744da10f4431c1d6242241.zip
[svn-upgrade] Integrating new upstream version, strongswan (4.3.6)
Diffstat (limited to 'src/whack/whack.h')
-rw-r--r--src/whack/whack.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/whack/whack.h b/src/whack/whack.h
index 79d115262..3f66a7b4f 100644
--- a/src/whack/whack.h
+++ b/src/whack/whack.h
@@ -17,6 +17,9 @@
#include <freeswan.h>
+#include <defs.h>
+#include <constants.h>
+
/* copy of smartcard operations, defined in smartcard.h */
#ifndef SC_OP_T
#define SC_OP_T
@@ -58,12 +61,12 @@ struct whack_end {
char *cert; /* path string (if any) -- loaded by pluto */
char *ca; /* distinguished name string (if any) -- parsed by pluto */
char *groups; /* access control groups (if any) -- parsed by pluto */
- ip_address
- host_addr,
- host_nexthop,
- host_srcip;
+ char *sourceip; /* source IP address or pool identifier -- parsed by pluto */
+ int sourceip_mask;
+ ip_address host_addr;
+ ip_address host_nexthop;
+ ip_address host_srcip;
ip_subnet client;
-
bool key_from_DNS_on_demand;
bool has_client;
bool has_client_wildcard;
@@ -280,7 +283,7 @@ enum rc_type {
/* entry of secrets */
RC_ENTERSECRET = 40,
-
+
/* progress: start of range for successful state transition.
* Actual value is RC_NEW_STATE plus the new state code.
*/