From 4ee9b43be9a6e4ae161a1e6322bfef90818589f6 Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Thu, 18 Jun 2015 16:52:23 +0200 Subject: 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 Reviewed-by: Thomas Huth Reviewed-by: Greg Kurz --- net/tap-solaris.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'net/tap-solaris.c') diff --git a/net/tap-solaris.c b/net/tap-solaris.c index 90b2fd12f1..0f60f78dd0 100644 --- a/net/tap-solaris.c +++ b/net/tap-solaris.c @@ -223,6 +223,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; +} + void tap_fd_set_offload(int fd, int csum, int tso4, int tso6, int ecn, int ufo) { -- cgit v1.2.3