mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
net: tap: using bool instead of bitfield
Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
350ed2fcd9
commit
ec45f08313
4 changed files with 24 additions and 26 deletions
|
@ -29,10 +29,10 @@
|
|||
#include "qemu-common.h"
|
||||
#include "qapi-types.h"
|
||||
|
||||
int tap_has_ufo(NetClientState *nc);
|
||||
bool tap_has_ufo(NetClientState *nc);
|
||||
int tap_has_vnet_hdr(NetClientState *nc);
|
||||
int tap_has_vnet_hdr_len(NetClientState *nc, int len);
|
||||
void tap_using_vnet_hdr(NetClientState *nc, int using_vnet_hdr);
|
||||
void tap_using_vnet_hdr(NetClientState *nc, bool using_vnet_hdr);
|
||||
void tap_set_offload(NetClientState *nc, int csum, int tso4, int tso6, int ecn, int ufo);
|
||||
void tap_set_vnet_hdr_len(NetClientState *nc, int len);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue