mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
tap: add API to retrieve vhost net header
will be used by virtio-net for vhost net support Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
82b0d80ef6
commit
b202554cf7
2 changed files with 10 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue