aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2014-09-17 18:39:22 +0200
committerMichael Mann <mmann78@netscape.net>2014-10-12 14:15:12 +0000
commited0b19b94bf07056b5e0cfe64d4d05c3ebae801a (patch)
tree4c4dd80aa856bf0a4c55704c88761a2d2ab2199a /doc
parent29afac24a579b01c029b2b5404bda7a102fe2232 (diff)
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/README.dissector4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/README.dissector b/doc/README.dissector
index 2495c918de..af9a15e781 100644
--- a/doc/README.dissector
+++ b/doc/README.dissector
@@ -639,7 +639,7 @@ struct header_field_info {
enum ftenum type;
int display;
const void *strings;
- guint32 bitmask;
+ guint64 bitmask;
const char *blurb;
.....
};
@@ -1774,7 +1774,7 @@ proto_tree_add_bitmask() et al.
These functions provide easy to use and convenient dissection of many types of common
bitmasks into individual fields.
-header is an integer type and must be of type FT_[U]INT{8|16|24|32} and
+header is an integer type and must be of type FT_[U]INT{8|16|24|32|64} and
represents the entire dissectable width of the bitmask.
'header' and 'ett' are the hf fields and ett field respectively to create an