]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef _NET_IPCOMP_H |
2 | #define _NET_IPCOMP_H | |
3 | ||
9409f38a HX |
4 | #include <linux/types.h> |
5 | ||
1da177e4 LT |
6 | #define IPCOMP_SCRATCH_SIZE 65400 |
7 | ||
87bdc48d HX |
8 | struct crypto_comp; |
9 | ||
1da177e4 LT |
10 | struct ipcomp_data { |
11 | u16 threshold; | |
e4d5b79c | 12 | struct crypto_comp **tfms; |
1da177e4 LT |
13 | }; |
14 | ||
87bdc48d HX |
15 | struct ip_comp_hdr; |
16 | struct sk_buff; | |
17 | ||
18 | static inline struct ip_comp_hdr *ip_comp_hdr(const struct sk_buff *skb) | |
19 | { | |
20 | return (struct ip_comp_hdr *)skb_transport_header(skb); | |
21 | } | |
22 | ||
1da177e4 | 23 | #endif |