aboutsummaryrefslogtreecommitdiff
path: root/net/tap.h
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-10-22 17:49:08 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-30 08:39:27 -0500
commite7e92325d92843aaa022000aacb9602d3a6ad986 (patch)
treec09fa5c69648dc1e7ed6f1dfe12871aeb3b08659 /net/tap.h
parent5281d757efa6e40d74ce124be048b08d43887555 (diff)
downloadqemu-e7e92325d92843aaa022000aacb9602d3a6ad986.zip
qemu-e7e92325d92843aaa022000aacb9602d3a6ad986.tar.gz
qemu-e7e92325d92843aaa022000aacb9602d3a6ad986.tar.bz2
net: split BSD tap_open() out into net/tap-bsd.c
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 53952a1..5d32de5 100644
--- a/net/tap.h
+++ b/net/tap.h
@@ -34,6 +34,8 @@
int net_init_tap(QemuOpts *opts, Monitor *mon, const char *name, VLANState *vlan);
+int tap_open(char *ifname, int ifname_size, int *vnet_hdr, int vnet_hdr_required);
+
int tap_has_ufo(VLANClientState *vc);
int tap_has_vnet_hdr(VLANClientState *vc);
void tap_using_vnet_hdr(VLANClientState *vc, int using_vnet_hdr);