aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2004-08-02 03:04:02 -0700
committerDavid S. Miller <davem@nuts.davemloft.net>2004-08-02 03:04:02 -0700
commit7ce6d8befd73acdafe6ccfd0a2c7fe3d0db7dc8a (patch)
tree6809be5904f4673a93b69f6ae5376599f284f1a0 /include
parentd8fd3ac0db6c120373c6842dd9fb7f864dc5bbfb (diff)
downloadhistory-7ce6d8befd73acdafe6ccfd0a2c7fe3d0db7dc8a.tar.gz
[IPSEC]: Move xfrm[46]_tunnel_check_size into xfrm[46]_output.c
This patch moves xfrm[46]_tunnel_check_size() into xfrm[46]_output.c where it can be made static since it's only used there. While moving the icmp.h inclusions over I also discovered that the tunnel files are missing an inclusion of net/protocol.h. So I've added them as well. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/xfrm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 493b7237f68d4c..aaf74999a1f3ff 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -821,11 +821,9 @@ extern int xfrm4_rcv(struct sk_buff *skb);
extern int xfrm4_output(struct sk_buff **pskb);
extern int xfrm4_tunnel_register(struct xfrm_tunnel *handler);
extern int xfrm4_tunnel_deregister(struct xfrm_tunnel *handler);
-extern int xfrm4_tunnel_check_size(struct sk_buff *skb);
extern int xfrm6_rcv(struct sk_buff **pskb, unsigned int *nhoffp);
extern int xfrm6_tunnel_register(struct xfrm6_tunnel *handler);
extern int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler);
-extern int xfrm6_tunnel_check_size(struct sk_buff *skb);
extern u32 xfrm6_tunnel_alloc_spi(xfrm_address_t *saddr);
extern void xfrm6_tunnel_free_spi(xfrm_address_t *saddr);
extern u32 xfrm6_tunnel_spi_lookup(xfrm_address_t *saddr);