aboutsummaryrefslogtreecommitdiff
path: root/net/tap.h
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-10-22 17:49:13 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-30 08:39:28 -0500
commit15ac913bfe10abe142334a8b432c1f4c410fb04b (patch)
treea273c3b9b4f6cf5671c6e2980337b9feae979058 /net/tap.h
parentc28b1c1007883baea05bff4bc7b20d354c4b47a1 (diff)
net: move tap_set_sndbuf() to tap-linux.c
TUNSETSNDBUF is only available on linux Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net/tap.h')
-rw-r--r--net/tap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tap.h b/net/tap.h
index 5648ddd6b3..0d67c249cf 100644
--- a/net/tap.h
+++ b/net/tap.h
@@ -43,4 +43,6 @@ int tap_has_vnet_hdr(VLANClientState *vc);
void tap_using_vnet_hdr(VLANClientState *vc, int using_vnet_hdr);
void tap_set_offload(VLANClientState *vc, int csum, int tso4, int tso6, int ecn, int ufo);
+int tap_set_sndbuf(int fd, QemuOpts *opts);
+
#endif /* QEMU_NET_TAP_H */