aboutsummaryrefslogtreecommitdiff
path: root/net/tap-linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/tap-linux.h')
-rw-r--r--net/tap-linux.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/tap-linux.h b/net/tap-linux.h
index 9a58cec..8cd6b58 100644
--- a/net/tap-linux.h
+++ b/net/tap-linux.h
@@ -53,4 +53,13 @@
#define TUN_F_USO4 0x20 /* I can handle USO for IPv4 packets */
#define TUN_F_USO6 0x40 /* I can handle USO for IPv6 packets */
+/* I can handle TSO/USO for UDP tunneled packets */
+#define TUN_F_UDP_TUNNEL_GSO 0x080
+
+/*
+ * I can handle TSO/USO for UDP tunneled packets requiring csum offload for
+ * the outer header
+ */
+#define TUN_F_UDP_TUNNEL_GSO_CSUM 0x100
+
#endif /* QEMU_TAP_LINUX_H */