]> git.proxmox.com Git - mirror_qemu.git/blobdiff - net/tap-linux.h
vdpa: Add SetSteeringEBPF method for NetClientState
[mirror_qemu.git] / net / tap-linux.h
index 01dc6f8a2db9a7252beb134735d0eaef62ead9dc..9a58cecb7f47933a919d3345af0451e88c9a3f9c 100644 (file)
@@ -16,7 +16,6 @@
 #ifndef QEMU_TAP_LINUX_H
 #define QEMU_TAP_LINUX_H
 
-#include <stdint.h>
 #ifdef __linux__
 
 #include <linux/ioctl.h>
@@ -32,6 +31,7 @@
 #define TUNSETQUEUE  _IOW('T', 217, int)
 #define TUNSETVNETLE _IOW('T', 220, int)
 #define TUNSETVNETBE _IOW('T', 222, int)
+#define TUNSETSTEERINGEBPF _IOR('T', 224, int)
 
 #endif
 
 #define IFF_DETACH_QUEUE 0x0400
 
 /* Features for GSO (TUNSETOFFLOAD). */
-#define TUN_F_CSUM     0x01    /* You can hand me unchecksummed packets. */
-#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 */
-
-#endif /* QEMU_TAP_H */
+#define TUN_F_CSUM    0x01    /* You can hand me unchecksummed packets. */
+#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 */
+#define TUN_F_USO4    0x20    /* I can handle USO for IPv4 packets */
+#define TUN_F_USO6    0x40    /* I can handle USO for IPv6 packets */
+
+#endif /* QEMU_TAP_LINUX_H */