diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-06-18 16:52:23 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-06-19 12:17:25 +0200 |
commit | 4ee9b43be9a6e4ae161a1e6322bfef90818589f6 (patch) | |
tree | 10556759b0102533ba0a70b5263a9341e70fe91b /net/tap-win32.c | |
parent | c80cd6bb9c20ef518c56319ce44d2971171e677d (diff) | |
download | qemu-4ee9b43be9a6e4ae161a1e6322bfef90818589f6.tar.gz qemu-4ee9b43be9a6e4ae161a1e6322bfef90818589f6.tar.bz2 qemu-4ee9b43be9a6e4ae161a1e6322bfef90818589f6.zip |
tap: fix non-linux build
tap_fd_set_vnet_le/tap_fd_set_vnet_be was missing,
fix it up.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Diffstat (limited to 'net/tap-win32.c')
-rw-r--r-- | net/tap-win32.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/tap-win32.c b/net/tap-win32.c index f6fc9610a7..625d53c64b 100644 --- a/net/tap-win32.c +++ b/net/tap-win32.c @@ -688,6 +688,16 @@ void tap_fd_set_vnet_hdr_len(int fd, int len) { } +int tap_fd_set_vnet_le(int fd, int is_le) +{ + return -EINVAL; +} + +int tap_fd_set_vnet_be(int fd, int is_be) +{ + return -EINVAL; +} + static void tap_using_vnet_hdr(NetClientState *nc, bool using_vnet_hdr) { } |