4 #include <linux/types.h>
6 #define IPCOMP_SCRATCH_SIZE 65400
12 struct crypto_comp **tfms;
19 int ipcomp_input(struct xfrm_state *x, struct sk_buff *skb);
20 int ipcomp_output(struct xfrm_state *x, struct sk_buff *skb);
21 void ipcomp_destroy(struct xfrm_state *x);
22 int ipcomp_init_state(struct xfrm_state *x);
24 static inline struct ip_comp_hdr *ip_comp_hdr(const struct sk_buff *skb)
26 return (struct ip_comp_hdr *)skb_transport_header(skb);