wireshark/epan
Daniel Mack ed0b19b94b 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>
2014-10-12 14:15:12 +00:00
..
crypt
dfilter when we check the parameter for upper(), lower() or len(), 2014-09-13 07:44:26 +00:00
dissectors Add support for NTTIME_hyper and NTTIME_1sec 2014-10-12 14:08:44 +00:00
ftypes Make boolean bitmask type 64-bit wide 2014-10-12 14:15:12 +00:00
nghttp2 Fix the patch-bzip2 target. 2014-09-16 20:16:26 +00:00
wmem Adjust some whitespace to match editor modelines. 2014-10-06 03:42:51 +00:00
wslua Fix some more int-to-enum conversion complaint. 2014-10-10 08:14:38 +00:00
CMakeLists.txt CMake: Bundle our libraries. 2014-10-10 01:45:55 +00:00
CMakeListsCustom.txt.example Having CmakeListsCustom.txt in git defeats the purpose of its existence: 2014-09-18 07:02:00 +00:00
Makefile.am
Makefile.common
Makefile.nmake Fix the patch-bzip2 target. 2014-09-16 20:16:26 +00:00
addr_and_mask.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
addr_and_mask.h
addr_resolv.c Get rid of g_hash_table_lookup asserts when loading an external host file 2014-09-27 15:55:07 +00:00
addr_resolv.h
address.h
address_to_str.c Don't print non-printable characters in AX.25 addresses. 2014-09-04 12:46:06 +00:00
afn.c
afn.h
aftypes.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
aftypes.h
app_mem_usage.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
app_mem_usage.h
arcnet_pids.h
arptypes.h
asm_utils.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
asm_utils.h
asm_utils_win32_x86.asm
asn1.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
asn1.h
atalk-utils.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
atalk-utils.h
ax25_pids.h
bridged_pids.h
charsets.c Fix dissection of 7 bits ASCII/GSM strings when the bit offset is not byte aligned 2014-09-21 20:51:08 +00:00
charsets.h
chdlctypes.h
circuit.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
circuit.h
column-info.h
column-utils.c Make the time stamp resolution per-packet. 2014-09-28 18:38:18 +00:00
column-utils.h
column.c Make the time stamp resolution per-packet. 2014-09-28 18:38:18 +00:00
column.h Make get_column_longest_string() static. 2014-09-27 18:29:31 +00:00
conv_id.h
conversation.c
conversation.h
conversation_debug.h
conversation_table.c Fix spelling: cant-->can't, wont-->won't, etc 2014-09-16 15:31:58 +00:00
conversation_table.h Qt: Refactor ConversationDialog for endpoints. 2014-09-05 01:06:53 +00:00
crc6-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc6-tvb.h
crc8-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc8-tvb.h
crc10-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc10-tvb.h
crc16-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc16-tvb.h
crc32-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc32-tvb.h
decode_as.c
decode_as.h
diam_dict.h
diam_dict.l
disabled_protos.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
disabled_protos.h
dissector_filters.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
dissector_filters.h
doxygen.cfg.in
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l Make some variables size_t, as values of that width are assigned to it. 2014-09-06 18:45:53 +00:00
dtd_preparse.l
dvb_chartbl.c
dvb_chartbl.h
dwarf.c
dwarf.h
eap.h
eapol_keydes_types.h
emem.c Fix spelling: cant-->can't, wont-->won't, etc 2014-09-16 15:31:58 +00:00
emem.h
enterprise-numbers [Automatic manuf, services and enterprise-numbers update for 2014-10-05] 2014-10-05 15:06:11 +00:00
epan-int.h
epan.c
epan.h
epan_dissect.h
etypes.h
ex-opt.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
ex-opt.h
except.c
except.h
exceptions.h
exntest.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
expert.c expert.[hc] Minor changes: 2014-09-15 23:49:12 +00:00
expert.h expert.[hc] Minor changes: 2014-09-15 23:49:12 +00:00
exported_pdu.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
exported_pdu.h
filter_expressions.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
filter_expressions.h
follow.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
follow.h
frame_data.c Make the time stamp resolution per-packet. 2014-09-28 18:38:18 +00:00
frame_data.h Qt: Packet list column sorting. 2014-10-06 21:10:11 +00:00
frame_data_sequence.c
frame_data_sequence.h
frequency-utils.c
frequency-utils.h
funnel.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
funnel.h
garrayfix.h
gcp.c Various minor changes: 2014-09-10 16:17:29 +00:00
gcp.h Various minor changes: 2014-09-10 16:17:29 +00:00
geoip_db.c Qt: Add the "Map" button to the Endpoints dialog. 2014-09-17 20:04:28 +00:00
geoip_db.h Qt: Refactor ConversationDialog for endpoints. 2014-09-05 01:06:53 +00:00
golay.c
golay.h
greproto.h
guid-utils.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
guid-utils.h
h225-persistentdata.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
h225-persistentdata.h
iana_snap_pid.h
iax2_codec_type.h
in_cksum.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
in_cksum.h
ip_opts.h
ipproto.c
ipproto.h
ipv4.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
ipv4.h
ipv6-utils.h
lapd_sapi.h
llcsaps.h
next_tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
next_tvb.h
nlpid.h
oids.c
oids.h
oids_test.c
osi-utils.c OSI util: Add modelines info 2014-08-28 11:34:19 +00:00
osi-utils.h OSI util: Add modelines info 2014-08-28 11:34:19 +00:00
oui.c
oui.h
packet-range.c
packet-range.h
packet.c Use variable name 'len' when handling length. 2014-10-11 20:41:58 +00:00
packet.h ASN1: Added support for using #.REGISTER_NEW 2014-10-07 20:27:35 +00:00
packet_info.h
params.h
ppptypes.h
prefs-int.h
prefs.c Qt: Fix preference bugs. 2014-09-24 16:25:40 +00:00
prefs.h
print.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
print.h
print.ps
proto.c Make boolean bitmask type 64-bit wide 2014-10-12 14:15:12 +00:00
proto.h Make boolean bitmask type 64-bit wide 2014-10-12 14:15:12 +00:00
ps.h
ptvcursor.h
radius_dict.l
range.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
range.h
reassemble.c reassembly: fix when fragment cut off by snapshot 2014-09-25 12:41:36 +00:00
reassemble.h
reassemble_test.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
reedsolomon.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
reedsolomon.h
req_resp_hdrs.c Fix spelling: cant-->can't, wont-->won't, etc 2014-09-16 15:31:58 +00:00
req_resp_hdrs.h
rtp_pt.h
sctpppids.h Update the SCTP PPIDs. 2014-08-23 12:09:56 +00:00
show_exception.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
show_exception.h
sigcomp-udvm.c
sigcomp-udvm.h
sigcomp_state_hdlr.c
sigcomp_state_hdlr.h
slow_protocol_subtypes.h
sminmpec.c [Automatic manuf, services and enterprise-numbers update for 2014-10-05] 2014-10-05 15:06:11 +00:00
sminmpec.h
sna-utils.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
sna-utils.h
stat_cmd_args.c
stat_cmd_args.h
stat_groups.h
stats_tree.c Convert "4 space tabs" to spaces; Adjust editor modelines. 2014-10-06 18:29:40 +00:00
stats_tree.h Convert "4 space tabs" to spaces; Adjust editor modelines. 2014-10-06 18:29:40 +00:00
stats_tree_priv.h
stream.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
stream.h
strutil.c Revert "Qt: Try to fix a Visual C++ encoding warning." 2014-10-06 23:34:56 +00:00
strutil.h
t35.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
t35.h
tap-voip.h
tap.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tap.h
tfs.c Overhaul the filterability of packet-ansi_683.c 2014-10-07 21:14:28 +00:00
tfs.h Overhaul the filterability of packet-ansi_683.c 2014-10-07 21:14:28 +00:00
time_fmt.h
timestamp.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
timestamp.h Make the time stamp resolution per-packet. 2014-09-28 18:38:18 +00:00
timestats.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
timestats.h
to_str-int.h
to_str.c Make boolean bitmask type 64-bit wide 2014-10-12 14:15:12 +00:00
to_str.h Make boolean bitmask type 64-bit wide 2014-10-12 14:15:12 +00:00
tpg.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tpg.h
tvbparse.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tvbparse.h
tvbtest.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tvbuff-int.h
tvbuff.c reassembly: fix when fragment cut off by snapshot 2014-09-25 12:41:36 +00:00
tvbuff.h Fix a comment typo: tvb_bcd_dig_to_wmem_packet_str() returns a WMEM-allocated 2014-08-22 18:40:50 +00:00
tvbuff_base64.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tvbuff_composite.c tvbuff composite: add modelines infos (tabs) 2014-09-04 19:31:57 +00:00
tvbuff_real.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tvbuff_subset.c
tvbuff_zlib.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
uat-int.h
uat.c
uat.h Convert all the other function-defining macros. 2014-09-06 22:37:50 +00:00
uat_load.l uat_load.l: Fix "unreachable code" warning (Windows 4702) 2014-08-21 17:19:14 +00:00
value_string.c
value_string.h
x264_prt_id.h
xdlc.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
xdlc.h