summaryrefslogtreecommitdiffstats
path: root/tap-linux.h
diff options
context:
space:
mode:
authorSridhar Samudrala2009-10-22 18:43:49 +0200
committerAnthony Liguori2009-10-27 18:29:04 +0100
commit6c9f58ba3b79202655e6156eb1dab3a2d2e0b51e (patch)
tree02fb37853acae12f80ea22239d9d12e94d1c04f8 /tap-linux.h
parentWork around dhclient brokenness (diff)
downloadqemu-6c9f58ba3b79202655e6156eb1dab3a2d2e0b51e.tar.gz
qemu-6c9f58ba3b79202655e6156eb1dab3a2d2e0b51e.tar.xz
qemu-6c9f58ba3b79202655e6156eb1dab3a2d2e0b51e.zip
Enable UFO on virtio-net and tap devices
Enable UFO on the host tap device if supported and allow setting UFO on virtio-net in the guest. Signed-off-by: Sridhar Samudrala <sri@us.ibm.com> Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'tap-linux.h')
-rw-r--r--tap-linux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tap-linux.h b/tap-linux.h
index 241cf836a4..d81c65081f 100644
--- a/tap-linux.h
+++ b/tap-linux.h
@@ -36,6 +36,7 @@
#define TUN_F_TSO4 0x02 /* I can handle TSO for IPv4 packets */
#define TUN_F_TSO6 0x04 /* I can handle TSO for IPv6 packets */
#define TUN_F_TSO_ECN 0x08 /* I can handle TSO with ECN bits. */
+#define TUN_F_UFO 0x10 /* I can handle UFO packets */
struct virtio_net_hdr
{