mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
tap: add interface to get device fd
Will be used by vhost to attach/detach to backend. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
087431d1d1
commit
95d528a2fe
2 changed files with 9 additions and 0 deletions
|
@ -48,4 +48,6 @@ int tap_probe_vnet_hdr(int fd);
|
|||
int tap_probe_has_ufo(int fd);
|
||||
void tap_fd_set_offload(int fd, int csum, int tso4, int tso6, int ecn, int ufo);
|
||||
|
||||
int tap_get_fd(VLANClientState *vc);
|
||||
|
||||
#endif /* QEMU_NET_TAP_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue