diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/if_tun.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/if_tun.h b/include/linux/if_tun.h index 3f0a0995d44..563fae542da 100644 --- a/include/linux/if_tun.h +++ b/include/linux/if_tun.h | |||
@@ -31,6 +31,7 @@ | |||
31 | #define TUN_NO_PI 0x0040 | 31 | #define TUN_NO_PI 0x0040 |
32 | #define TUN_ONE_QUEUE 0x0080 | 32 | #define TUN_ONE_QUEUE 0x0080 |
33 | #define TUN_PERSIST 0x0100 | 33 | #define TUN_PERSIST 0x0100 |
34 | #define TUN_VNET_HDR 0x0200 | ||
34 | 35 | ||
35 | /* Ioctl defines */ | 36 | /* Ioctl defines */ |
36 | #define TUNSETNOCSUM _IOW('T', 200, int) | 37 | #define TUNSETNOCSUM _IOW('T', 200, int) |
@@ -48,6 +49,7 @@ | |||
48 | #define IFF_TAP 0x0002 | 49 | #define IFF_TAP 0x0002 |
49 | #define IFF_NO_PI 0x1000 | 50 | #define IFF_NO_PI 0x1000 |
50 | #define IFF_ONE_QUEUE 0x2000 | 51 | #define IFF_ONE_QUEUE 0x2000 |
52 | #define IFF_VNET_HDR 0x4000 | ||
51 | 53 | ||
52 | /* Features for GSO (TUNSETOFFLOAD). */ | 54 | /* Features for GSO (TUNSETOFFLOAD). */ |
53 | #define TUN_F_CSUM 0x01 /* You can hand me unchecksummed packets. */ | 55 | #define TUN_F_CSUM 0x01 /* You can hand me unchecksummed packets. */ |