diff options
author | Jamal Hadi Salim <hadi@cyberus.ca> | 2006-08-31 20:42:59 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 18:18:48 -0400 |
commit | eb878e84575fbce21d2edb079eada78bfa27023d (patch) | |
tree | f47eb18d4539015596de96ccb9ac3fd20584cbe5 /include/net | |
parent | fda9ef5d679b07c9d9097aaf6ef7f069d794a8f9 (diff) |
[IPSEC]: output mode to take an xfrm state as input param
Expose IPSEC modes output path to take an xfrm state as input param.
This makes it consistent with the input mode processing (which already
takes the xfrm state as a param).
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/xfrm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 0acabf2a0a8f..4d6dc627df9b 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -285,7 +285,7 @@ extern void xfrm_put_type(struct xfrm_type *type); | |||
285 | 285 | ||
286 | struct xfrm_mode { | 286 | struct xfrm_mode { |
287 | int (*input)(struct xfrm_state *x, struct sk_buff *skb); | 287 | int (*input)(struct xfrm_state *x, struct sk_buff *skb); |
288 | int (*output)(struct sk_buff *skb); | 288 | int (*output)(struct xfrm_state *x,struct sk_buff *skb); |
289 | 289 | ||
290 | struct module *owner; | 290 | struct module *owner; |
291 | unsigned int encap; | 291 | unsigned int encap; |