summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2017-02-15 09:39:49 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2017-02-15 09:39:49 +0100
commit1e29537034e388c7e72eac43cfcda1d23131623b (patch)
tree2f786ef4c95e60d45ea5ea72cdf4c28be57fafb6 /include/net
parent25393d3fc055b76587fcc91627aee8c345400c3a (diff)
downloadop-kernel-dev-1e29537034e388c7e72eac43cfcda1d23131623b.zip
op-kernel-dev-1e29537034e388c7e72eac43cfcda1d23131623b.tar.gz
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')
-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 287635d..fe8db3d 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)
{
OpenPOWER on IntegriCloud