diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-07-09 12:19:39 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-07-09 12:19:39 +0200 |
commit | db4ad736becd342c9b9b926801324f5ea5ab20df (patch) | |
tree | 37516765a999f808531045eb8f67d9d4dc6a96ed /src/whack/whack.h | |
parent | f65e0dc80f1033c233f8a0b9e28debee7305e45d (diff) | |
download | strongswan-db4ad736becd342c9b9b926801324f5ea5ab20df.tar.bz2 strongswan-db4ad736becd342c9b9b926801324f5ea5ab20df.tar.xz |
transport reqid, mark_in and mark_out in whack message
Diffstat (limited to 'src/whack/whack.h')
-rw-r--r-- | src/whack/whack.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/whack/whack.h b/src/whack/whack.h index 4a2189d9f..f8e6a9a88 100644 --- a/src/whack/whack.h +++ b/src/whack/whack.h @@ -48,7 +48,7 @@ typedef enum { */ #define WHACK_BASIC_MAGIC (((((('w' << 8) + 'h') << 8) + 'k') << 8) + 24) -#define WHACK_MAGIC (((((('w' << 8) + 'h') << 8) + 'k') << 8) + 29) +#define WHACK_MAGIC (((((('w' << 8) + 'h') << 8) + 'k') << 8) + 30) typedef struct whack_end whack_end_t; @@ -129,6 +129,14 @@ struct whack_message { time_t dpd_timeout; dpd_action_t dpd_action; + + /* Assign optional fixed reqid and xfrm marks to IPsec SA */ + u_int32_t reqid; + struct { + u_int32_t value; + u_int32_t mask; + } mark_in, mark_out; + /* note that each end contains string 2/5.id, string 3/6 cert, * and string 4/7 updown */ |