aboutsummaryrefslogtreecommitdiff
path: root/net/tap.h
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-10-22 17:49:15 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-30 08:39:28 -0500
commit1faac1f7d48d3f7bfa2d168b1ad5680d3288f585 (patch)
tree0b22b4e1f779608f3917bea94a3a09d5a38096ef /net/tap.h
parentdc69004c7d89afb6ede02ca9379075c062c0c091 (diff)
downloadqemu-1faac1f7d48d3f7bfa2d168b1ad5680d3288f585.zip
qemu-1faac1f7d48d3f7bfa2d168b1ad5680d3288f585.tar.gz
qemu-1faac1f7d48d3f7bfa2d168b1ad5680d3288f585.tar.bz2
net: move tap_set_offload() code into tap-linux.c
TUNSETOFFLOAD 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tap.h b/net/tap.h
index de729a7..16398b5 100644
--- a/net/tap.h
+++ b/net/tap.h
@@ -45,5 +45,6 @@ void tap_set_offload(VLANClientState *vc, int csum, int tso4, int tso6, int ecn,
int tap_set_sndbuf(int fd, QemuOpts *opts);
int tap_probe_vnet_hdr(int fd);
+void tap_fd_set_offload(int fd, int csum, int tso4, int tso6, int ecn, int ufo);
#endif /* QEMU_NET_TAP_H */