Make boolean bitmask type 64-bit wide
authorDaniel Mack <daniel@zonque.org>
Wed, 17 Sep 2014 16:39:22 +0000 (18:39 +0200)
committerMichael Mann <mmann78@netscape.net>
Sun, 12 Oct 2014 14:15:12 +0000 (14:15 +0000)
commited0b19b94bf07056b5e0cfe64d4d05c3ebae801a
tree4c4dd80aa856bf0a4c55704c88761a2d2ab2199a
parent29afac24a579b01c029b2b5404bda7a102fe2232
Make boolean bitmask type 64-bit wide

There are protocols out there that have 64-bit wide bit mask fields, so
make the internal representation and bitfield decoders 64-bit aware.

For this, the ws_ctz() fallback and bits_count_ones() have to be tweaked
slightly.

Change-Id: I19237b954a69c9e6c55864f281993c1e8731a233
Reviewed-on: https://code.wireshark.org/review/4158
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
12 files changed:
doc/README.dissector
epan/ftypes/ftype-integer.c
epan/proto.c
epan/proto.h
epan/to_str.c
epan/to_str.h
ui/gtk/bytes_view.c
ui/gtk/bytes_view.h
ui/gtk/packet_panes.c
ui/gtk/packet_win.c
wsutil/bits_count_ones.h
wsutil/bits_ctz.h