tmpfs: move swap_state stats update
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / net / ipcomp.h
blob330b74e813a9b834d2cb8b7e155fac7e02e8685b
1 #ifndef _NET_IPCOMP_H
2 #define _NET_IPCOMP_H
4 #include <linux/types.h>
6 #define IPCOMP_SCRATCH_SIZE 65400
8 struct crypto_comp;
10 struct ipcomp_data {
11 u16 threshold;
12 struct crypto_comp **tfms;
15 struct ip_comp_hdr;
16 struct sk_buff;
18 static inline struct ip_comp_hdr *ip_comp_hdr(const struct sk_buff *skb)
20 return (struct ip_comp_hdr *)skb_transport_header(skb);
23 #endif