diff options
author | Jamal Hadi Salim <hadi@cyberus.ca> | 2006-03-20 22:17:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-20 22:17:03 -0500 |
commit | 53bc6b4d29c07664f3abe029b7e6878a1067899a (patch) | |
tree | d97fc26acc763dde9d1dc15573a51253180b617f /include | |
parent | 980ebd25794f0f87ac32844e2c73e9e81f0a72ba (diff) |
[IPSEC]: Sync series - SA expires
This patch allows a user to insert SA expires. This is useful to
do on an HA backup for the case of byte counts but may not be very
useful for the case of time based expiry.
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/xfrm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 30a940b147b0..d409c9d5e293 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -218,6 +218,9 @@ extern void km_state_notify(struct xfrm_state *x, struct km_event *c); | |||
218 | 218 | ||
219 | struct xfrm_tmpl; | 219 | struct xfrm_tmpl; |
220 | extern int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol); | 220 | extern int km_query(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *pol); |
221 | extern void km_state_expired(struct xfrm_state *x, int hard, u32 pid); | ||
222 | extern int __xfrm_state_delete(struct xfrm_state *x); | ||
223 | |||
221 | struct xfrm_state_afinfo { | 224 | struct xfrm_state_afinfo { |
222 | unsigned short family; | 225 | unsigned short family; |
223 | rwlock_t lock; | 226 | rwlock_t lock; |