summaryrefslogtreecommitdiffstats
path: root/net/tap.h
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-10-22 17:49:09 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-30 08:39:27 -0500
commit966ea5ec4fb14d4b420715e7aadc5dfd3ea5add2 (patch)
tree86989beac1be57a9acc71ede7d2e2a75b806c128 /net/tap.h
parente7e92325d92843aaa022000aacb9602d3a6ad986 (diff)
downloadhqemu-966ea5ec4fb14d4b420715e7aadc5dfd3ea5add2.zip
hqemu-966ea5ec4fb14d4b420715e7aadc5dfd3ea5add2.tar.gz
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 5d32de5..5648ddd 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);
OpenPOWER on IntegriCloud