Don't include linux/config.h from anywhere else in include/
[linux-2.6.git] / include / linux / if_tunnel.h
1 #ifndef _IF_TUNNEL_H_
2 #define _IF_TUNNEL_H_
3
4 #define SIOCGETTUNNEL   (SIOCDEVPRIVATE + 0)
5 #define SIOCADDTUNNEL   (SIOCDEVPRIVATE + 1)
6 #define SIOCDELTUNNEL   (SIOCDEVPRIVATE + 2)
7 #define SIOCCHGTUNNEL   (SIOCDEVPRIVATE + 3)
8
9 #define GRE_CSUM        __constant_htons(0x8000)
10 #define GRE_ROUTING     __constant_htons(0x4000)
11 #define GRE_KEY         __constant_htons(0x2000)
12 #define GRE_SEQ         __constant_htons(0x1000)
13 #define GRE_STRICT      __constant_htons(0x0800)
14 #define GRE_REC         __constant_htons(0x0700)
15 #define GRE_FLAGS       __constant_htons(0x00F8)
16 #define GRE_VERSION     __constant_htons(0x0007)
17
18 struct ip_tunnel_parm
19 {
20         char                    name[IFNAMSIZ];
21         int                     link;
22         __u16                   i_flags;
23         __u16                   o_flags;
24         __u32                   i_key;
25         __u32                   o_key;
26         struct iphdr            iph;
27 };
28
29 #endif /* _IF_TUNNEL_H_ */