diff options
author | Jason Wang | 2013-01-30 12:12:20 +0100 |
---|---|---|
committer | Anthony Liguori | 2013-02-01 17:50:59 +0100 |
commit | ec45f08313ce92039d52ea0338db4a0c862fef6a (patch) | |
tree | 074165ae03ea5555b52f3fed6f112a580b17c00b /include/net/tap.h | |
parent | target-ppc: Fix target_ulong vs. hwaddr format mismatches (diff) | |
download | qemu-ec45f08313ce92039d52ea0338db4a0c862fef6a.tar.gz qemu-ec45f08313ce92039d52ea0338db4a0c862fef6a.tar.xz qemu-ec45f08313ce92039d52ea0338db4a0c862fef6a.zip |
net: tap: using bool instead of bitfield
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include/net/tap.h')
-rw-r--r-- | include/net/tap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/tap.h b/include/net/tap.h index bb7efb5439..883cebff07 100644 --- a/include/net/tap.h +++ b/include/net/tap.h @@ -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); |