summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorSaurabh <saurabh.mohan@vyatta.com>2012-07-17 09:44:49 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-18 09:36:12 -0700
commiteb8637cd4a0d651cf4fcc1559231facee829a0ac (patch)
treeb9e8259314c4967b9b89930fdb00186ab401444e /include/net
parentfcc24db5e8a75ed3ce2238f4ad1b3bef8634f7e1 (diff)
downloadblackbird-op-linux-eb8637cd4a0d651cf4fcc1559231facee829a0ac.tar.gz
blackbird-op-linux-eb8637cd4a0d651cf4fcc1559231facee829a0ac.zip
net/ipv4: VTI support rx-path hook in xfrm4_mode_tunnel.
Incorporated David and Steffen's comments. Add hook for rx-path xfmr4_mode_tunnel for VTI tunnel module. Signed-off-by: Saurabh Mohan <saurabh.mohan@vyatta.com> Reviewed-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/xfrm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 17acbc92476d..d9509eb29b80 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -1475,6 +1475,8 @@ extern int xfrm4_output(struct sk_buff *skb);
extern int xfrm4_output_finish(struct sk_buff *skb);
extern int xfrm4_tunnel_register(struct xfrm_tunnel *handler, unsigned short family);
extern int xfrm4_tunnel_deregister(struct xfrm_tunnel *handler, unsigned short family);
+extern int xfrm4_mode_tunnel_input_register(struct xfrm_tunnel *handler);
+extern int xfrm4_mode_tunnel_input_deregister(struct xfrm_tunnel *handler);
extern int xfrm6_extract_header(struct sk_buff *skb);
extern int xfrm6_extract_input(struct xfrm_state *x, struct sk_buff *skb);
extern int xfrm6_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi);
OpenPOWER on IntegriCloud