aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-11-19 21:50:17 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:53:54 -0500
commit1bf06cd2e338fd6fc29169d30eaf0df982338285 (patch)
tree351bf1c8e5063fdfb8c820470972169d398729fe /include/net/xfrm.h
parent60d5fcfb19d8a958fc563e52240cd05ec23f36c9 (diff)
[IPSEC]: Add async resume support on input
This patch adds support for async resumptions on input. To do so, the transform would return -EINPROGRESS and subsequently invoke the function xfrm_input_resume to resume processing. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
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 cf85dc9dc420..37a086d71baf 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -1138,6 +1138,7 @@ extern int xfrm_init_state(struct xfrm_state *x);
1138extern int xfrm_prepare_input(struct xfrm_state *x, struct sk_buff *skb); 1138extern int xfrm_prepare_input(struct xfrm_state *x, struct sk_buff *skb);
1139extern int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, 1139extern int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi,
1140 int encap_type); 1140 int encap_type);
1141extern int xfrm_input_resume(struct sk_buff *skb, int nexthdr);
1141extern int xfrm_output_resume(struct sk_buff *skb, int err); 1142extern int xfrm_output_resume(struct sk_buff *skb, int err);
1142extern int xfrm_output(struct sk_buff *skb); 1143extern int xfrm_output(struct sk_buff *skb);
1143extern int xfrm4_extract_header(struct sk_buff *skb); 1144extern int xfrm4_extract_header(struct sk_buff *skb);