From 445d892f43e6a6031cd1aac292df433f821aa830 Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Fri, 16 Jul 2010 11:16:06 +0300 Subject: tap: add APIs for vnet header length Add APIs to control host header length. First user will be vhost-net. Signed-off-by: Michael S. Tsirkin --- net/tap-linux.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net/tap-linux.h') diff --git a/net/tap-linux.h b/net/tap-linux.h index 727fcf5010..659e98122b 100644 --- a/net/tap-linux.h +++ b/net/tap-linux.h @@ -27,6 +27,8 @@ #define TUNSETOFFLOAD _IOW('T', 208, unsigned int) #define TUNGETIFF _IOR('T', 210, unsigned int) #define TUNSETSNDBUF _IOW('T', 212, int) +#define TUNGETVNETHDRSZ _IOR('T', 215, int) +#define TUNSETVNETHDRSZ _IOW('T', 216, int) #endif -- cgit v1.2.1