[ARM] 3373/1: move uengine loader to arch/arm/common
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / linux / if_tunnel.h
blobbef9f8fd93b3ed08d0b5a723df4d0e153413c3af
1 #ifndef _IF_TUNNEL_H_
2 #define _IF_TUNNEL_H_
4 #define SIOCGETTUNNEL (SIOCDEVPRIVATE + 0)
5 #define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1)
6 #define SIOCDELTUNNEL (SIOCDEVPRIVATE + 2)
7 #define SIOCCHGTUNNEL (SIOCDEVPRIVATE + 3)
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)
18 struct ip_tunnel_parm
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;
29 #endif /* _IF_TUNNEL_H_ */