diff options
author | Jason Wang <jasowang@redhat.com> | 2013-01-30 19:12:20 +0800 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-02-01 10:50:59 -0600 |
commit | ec45f08313ce92039d52ea0338db4a0c862fef6a (patch) | |
tree | 074165ae03ea5555b52f3fed6f112a580b17c00b /include/net | |
parent | 350ed2fcd95d30b02609e8783f33735f356ad7ce (diff) |
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')
-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); |