]>
git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - include/linux/if_tunnel.h
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 SIOCADDPRL (SIOCDEVPRIVATE + 5)
11 #define SIOCDELPRL (SIOCDEVPRIVATE + 6)
12 #define SIOCCHGPRL (SIOCDEVPRIVATE + 7)
14 #define GRE_CSUM __constant_htons(0x8000)
15 #define GRE_ROUTING __constant_htons(0x4000)
16 #define GRE_KEY __constant_htons(0x2000)
17 #define GRE_SEQ __constant_htons(0x1000)
18 #define GRE_STRICT __constant_htons(0x0800)
19 #define GRE_REC __constant_htons(0x0700)
20 #define GRE_FLAGS __constant_htons(0x00F8)
21 #define GRE_VERSION __constant_htons(0x0007)
34 /* SIT-mode i_flags */
35 #define SIT_ISATAP 0x0001
37 struct ip_tunnel_prl
{
44 #define PRL_DEFAULT 0x0001
46 #endif /* _IF_TUNNEL_H_ */