Commit f614ba1b authored by David S. Miller's avatar David S. Miller

[IPV6]: Export necessary xfrm6_tunnel functions.

parent c3b2adbf
......@@ -215,6 +215,8 @@ u32 xfrm6_tunnel_spi_lookup(xfrm_address_t *saddr)
return spi;
}
EXPORT_SYMBOL(xfrm6_tunnel_spi_lookup);
static u32 __xfrm6_tunnel_alloc_spi(xfrm_address_t *saddr)
{
u32 spi;
......@@ -305,6 +307,8 @@ u32 xfrm6_tunnel_alloc_spi(xfrm_address_t *saddr)
return spi;
}
EXPORT_SYMBOL(xfrm6_tunnel_alloc_spi);
void xfrm6_tunnel_free_spi(xfrm_address_t *saddr)
{
struct xfrm6_tunnel_spi *x6spi;
......@@ -337,6 +341,7 @@ void xfrm6_tunnel_free_spi(xfrm_address_t *saddr)
write_unlock_bh(&xfrm6_tunnel_spi_lock);
}
EXPORT_SYMBOL(xfrm6_tunnel_free_spi);
int xfrm6_tunnel_check_size(struct sk_buff *skb)
{
......@@ -355,6 +360,8 @@ int xfrm6_tunnel_check_size(struct sk_buff *skb)
return ret;
}
EXPORT_SYMBOL(xfrm6_tunnel_check_size);
static int xfrm6_tunnel_output(struct sk_buff **pskb)
{
struct sk_buff *skb = *pskb;
......@@ -434,6 +441,8 @@ int xfrm6_tunnel_register(struct xfrm6_tunnel *handler)
return ret;
}
EXPORT_SYMBOL(xfrm6_tunnel_register);
int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler)
{
int ret;
......@@ -451,6 +460,8 @@ int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler)
return ret;
}
EXPORT_SYMBOL(xfrm6_tunnel_deregister);
static int xfrm6_tunnel_rcv(struct sk_buff **pskb, unsigned int *nhoffp)
{
struct sk_buff *skb = *pskb;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment