summaryrefslogtreecommitdiffstats
path: root/net/tap.h
diff options
context:
space:
mode:
authorMark McLoughlin2009-10-22 18:49:09 +0200
committerAnthony Liguori2009-10-30 14:39:27 +0100
commit966ea5ec4fb14d4b420715e7aadc5dfd3ea5add2 (patch)
tree86989beac1be57a9acc71ede7d2e2a75b806c128 /net/tap.h
parentnet: split BSD tap_open() out into net/tap-bsd.c (diff)
downloadqemu-966ea5ec4fb14d4b420715e7aadc5dfd3ea5add2.tar.gz
qemu-966ea5ec4fb14d4b420715e7aadc5dfd3ea5add2.tar.xz
qemu-966ea5ec4fb14d4b420715e7aadc5dfd3ea5add2.zip
net: move solaris code to net/tap-solaris.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 5d32de59b4..5648ddd6b3 100644
--- a/net/tap.h
+++ b/net/tap.h
@@ -36,6 +36,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);
+ssize_t tap_read_packet(int tapfd, uint8_t *buf, int maxlen);
+
int tap_has_ufo(VLANClientState *vc);
int tap_has_vnet_hdr(VLANClientState *vc);
void tap_using_vnet_hdr(VLANClientState *vc, int using_vnet_hdr);