From 15ac913bfe10abe142334a8b432c1f4c410fb04b Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Thu, 22 Oct 2009 17:49:13 +0100 Subject: net: move tap_set_sndbuf() to tap-linux.c TUNSETSNDBUF is only available on linux Signed-off-by: Mark McLoughlin Signed-off-by: Anthony Liguori --- net/tap-solaris.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'net/tap-solaris.c') diff --git a/net/tap-solaris.c b/net/tap-solaris.c index 0dd5b68476..de5855aa06 100644 --- a/net/tap-solaris.c +++ b/net/tap-solaris.c @@ -183,3 +183,8 @@ int tap_open(char *ifname, int ifname_size, int *vnet_hdr, int vnet_hdr_required fcntl(fd, F_SETFL, O_NONBLOCK); return fd; } + +int tap_set_sndbuf(int fd, QemuOpts *opts) +{ + return 0; +} -- cgit v1.2.1