summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJamal Hadi Salim <hadi@cyberus.ca>2006-09-01 02:42:59 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-23 00:18:48 +0200
commiteb878e84575fbce21d2edb079eada78bfa27023d (patch)
treef47eb18d4539015596de96ccb9ac3fd20584cbe5 /include/net
parent[NET]: Fix sk->sk_filter field access (diff)
downloadlinux-eb878e84575fbce21d2edb079eada78bfa27023d.tar.xz
linux-eb878e84575fbce21d2edb079eada78bfa27023d.zip
[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.h2
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);
struct xfrm_mode {
int (*input)(struct xfrm_state *x, struct sk_buff *skb);
- int (*output)(struct sk_buff *skb);
+ int (*output)(struct xfrm_state *x,struct sk_buff *skb);
struct module *owner;
unsigned int encap;