aboutsummaryrefslogtreecommitdiff
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorGravatar Steffen Klassert <steffen.klassert@secunet.com> 2017-02-15 09:39:49 +0100
committerGravatar Steffen Klassert <steffen.klassert@secunet.com> 2017-02-15 09:39:49 +0100
commit1e29537034e388c7e72eac43cfcda1d23131623b (patch)
tree2f786ef4c95e60d45ea5ea72cdf4c28be57fafb6 /include/net/xfrm.h
parentnet: Prepare gro for packet consuming gro callbacks (diff)
downloadlinux-1e29537034e388c7e72eac43cfcda1d23131623b.tar.gz
linux-1e29537034e388c7e72eac43cfcda1d23131623b.tar.bz2
linux-1e29537034e388c7e72eac43cfcda1d23131623b.zip
xfrm: Export xfrm_parse_spi.
We need it in the ESP offload handlers, so export it. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r--include/net/xfrm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 287635df4eef..fe8db3d87e4f 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -1520,6 +1520,7 @@ int xfrm4_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi,
int encap_type);
int xfrm4_transport_finish(struct sk_buff *skb, int async);
int xfrm4_rcv(struct sk_buff *skb);
+int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq);
static inline int xfrm4_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi)
{