diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-11-14 00:43:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:53:49 -0500 |
commit | c6581a457e661b7070e484ad723bbf555b17aca2 (patch) | |
tree | 8562bded99fdee996e6b147d938057caf154f25b /include | |
parent | 862b82c6f960cc61274d370aa78ce1112f92a83e (diff) |
[IPSEC]: Add async resume support on output
This patch adds support for async resumptions on output. To do so,
the transform would return -EINPROGRESS and subsequently invoke the
function xfrm_output_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')
-rw-r--r-- | include/net/xfrm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index ab9e747340b4..99677207a4ce 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -1119,6 +1119,7 @@ extern void xfrm_replay_notify(struct xfrm_state *x, int event); | |||
1119 | extern int xfrm_state_mtu(struct xfrm_state *x, int mtu); | 1119 | extern int xfrm_state_mtu(struct xfrm_state *x, int mtu); |
1120 | extern int xfrm_init_state(struct xfrm_state *x); | 1120 | extern int xfrm_init_state(struct xfrm_state *x); |
1121 | extern int xfrm_prepare_input(struct xfrm_state *x, struct sk_buff *skb); | 1121 | extern int xfrm_prepare_input(struct xfrm_state *x, struct sk_buff *skb); |
1122 | extern int xfrm_output_resume(struct sk_buff *skb, int err); | ||
1122 | extern int xfrm_output(struct sk_buff *skb); | 1123 | extern int xfrm_output(struct sk_buff *skb); |
1123 | extern int xfrm4_extract_header(struct sk_buff *skb); | 1124 | extern int xfrm4_extract_header(struct sk_buff *skb); |
1124 | extern int xfrm4_extract_input(struct xfrm_state *x, struct sk_buff *skb); | 1125 | extern int xfrm4_extract_input(struct xfrm_state *x, struct sk_buff *skb); |