4 #include <linux/types.h>
6 #define SIOCGETTUNNEL (SIOCDEVPRIVATE + 0)
7 #define SIOCADDTUNNEL (SIOCDEVPRIVATE + 1)
8 #define SIOCDELTUNNEL (SIOCDEVPRIVATE + 2)
9 #define SIOCCHGTUNNEL (SIOCDEVPRIVATE + 3)
10 #define SIOCGETPRL (SIOCDEVPRIVATE + 4)
11 #define SIOCADDPRL (SIOCDEVPRIVATE + 5)
12 #define SIOCDELPRL (SIOCDEVPRIVATE + 6)
13 #define SIOCCHGPRL (SIOCDEVPRIVATE + 7)
15 #define GRE_CSUM __constant_htons(0x8000)
16 #define GRE_ROUTING __constant_htons(0x4000)
17 #define GRE_KEY __constant_htons(0x2000)
18 #define GRE_SEQ __constant_htons(0x1000)
19 #define GRE_STRICT __constant_htons(0x0800)
20 #define GRE_REC __constant_htons(0x0700)
21 #define GRE_FLAGS __constant_htons(0x00F8)
22 #define GRE_VERSION __constant_htons(0x0007)
35 /* SIT-mode i_flags */
36 #define SIT_ISATAP 0x0001
38 struct ip_tunnel_prl
{
48 #define PRL_DEFAULT 0x0001
50 #endif /* _IF_TUNNEL_H_ */