]> git.proxmox.com Git - qemu.git/blobdiff - net/tap.h
tap: add API to retrieve vhost net header
[qemu.git] / net / tap.h
index a244b28f822afbf0dfa652d9bdce9ef4ebeb9935..b8cec8320c551132a5ae24eab2459532a71f4f12 100644 (file)
--- a/net/tap.h
+++ b/net/tap.h
@@ -50,4 +50,7 @@ void tap_fd_set_offload(int fd, int csum, int tso4, int tso6, int ecn, int ufo);
 
 int tap_get_fd(VLANClientState *vc);
 
+struct vhost_net;
+struct vhost_net *tap_get_vhost_net(VLANClientState *vc);
+
 #endif /* QEMU_NET_TAP_H */