]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/if_tun.h
tun: Allow GSO using virtio_net_hdr
[linux-2.6-omap-h63xx.git] / include / linux / if_tun.h
index 3f0a0995d4493e4f2f7aacf274374e8866e7cab6..563fae542da621c90017f623af2da3478030e2b5 100644 (file)
@@ -31,6 +31,7 @@
 #define TUN_NO_PI      0x0040
 #define TUN_ONE_QUEUE  0x0080
 #define TUN_PERSIST    0x0100  
+#define TUN_VNET_HDR   0x0200
 
 /* Ioctl defines */
 #define TUNSETNOCSUM  _IOW('T', 200, int) 
@@ -48,6 +49,7 @@
 #define IFF_TAP                0x0002
 #define IFF_NO_PI      0x1000
 #define IFF_ONE_QUEUE  0x2000
+#define IFF_VNET_HDR   0x4000
 
 /* Features for GSO (TUNSETOFFLOAD). */
 #define TUN_F_CSUM     0x01    /* You can hand me unchecksummed packets. */