diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-05-13 12:50:29 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-07-06 09:43:45 +0200 |
commit | 328f22e1d3a38aa087399899794ebb60f1f5610e (patch) | |
tree | b29d4b374bce20d1bef58ad5b2ab5d1dfe98c30a /src/libhydra/kernel/kernel_interface.h | |
parent | 0b6ff2a9fe52ebcbfab7d72b60a9af5d8712f4f5 (diff) | |
download | strongswan-328f22e1d3a38aa087399899794ebb60f1f5610e.tar.bz2 strongswan-328f22e1d3a38aa087399899794ebb60f1f5610e.tar.xz |
Add the reqid to kernel_ipsec_t.del_policy.
Diffstat (limited to 'src/libhydra/kernel/kernel_interface.h')
-rw-r--r-- | src/libhydra/kernel/kernel_interface.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libhydra/kernel/kernel_interface.h b/src/libhydra/kernel/kernel_interface.h index 471a1d5d3..a7f8e26a8 100644 --- a/src/libhydra/kernel/kernel_interface.h +++ b/src/libhydra/kernel/kernel_interface.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2010 Tobias Brunner + * Copyright (C) 2006-2011 Tobias Brunner * Copyright (C) 2006 Daniel Roethlisberger * Copyright (C) 2005-2006 Martin Willi * Copyright (C) 2005 Jan Hutter @@ -228,6 +228,7 @@ struct kernel_interface_t { * @param src_ts traffic selector to match traffic source * @param dst_ts traffic selector to match traffic dest * @param direction direction of traffic, POLICY_(IN|OUT|FWD) + * @param reqid unique ID of the associated SA * @param mark optional mark * @param unrouted TRUE, if this policy is unrouted from the kernel * @return SUCCESS if operation completed @@ -235,8 +236,8 @@ struct kernel_interface_t { status_t (*del_policy) (kernel_interface_t *this, traffic_selector_t *src_ts, traffic_selector_t *dst_ts, - policy_dir_t direction, mark_t mark, - bool unrouted); + policy_dir_t direction, u_int32_t reqid, + mark_t mark, bool unrouted); /** * Get our outgoing source address for a destination. |