diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-03-15 13:30:43 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-03-21 12:36:49 +0300 |
| commit | eb2953d26971f3083bbf95de4bc997b5bedf0b6e (patch) | |
| tree | 1d8d1cf69caec6c5ff02f12c52a4925291b30fcb /include/net | |
| parent | 8a6771cda3f48a4d954647d69ff0094346db6191 (diff) | |
| download | linux-eb2953d26971f3083bbf95de4bc997b5bedf0b6e.tar.xz | |
xfrm: ipcomp: Use crypto_acomp interface
Replace the legacy comperssion interface with the new acomp
interface. This is the first user to make full user of the
asynchronous nature of acomp by plugging into the existing xfrm
resume interface.
As a result of SG support by acomp, the linear scratch buffer
in ipcomp can be removed.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/ipcomp.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/include/net/ipcomp.h b/include/net/ipcomp.h index 8660a2a6d1fc..51401f01e2a5 100644 --- a/include/net/ipcomp.h +++ b/include/net/ipcomp.h @@ -3,20 +3,9 @@ #define _NET_IPCOMP_H #include <linux/skbuff.h> -#include <linux/types.h> - -#define IPCOMP_SCRATCH_SIZE 65400 - -struct crypto_comp; -struct ip_comp_hdr; - -struct ipcomp_data { - u16 threshold; - struct crypto_comp * __percpu *tfms; -}; struct ip_comp_hdr; -struct sk_buff; +struct netlink_ext_ack; struct xfrm_state; int ipcomp_input(struct xfrm_state *x, struct sk_buff *skb); |
