Wireshark-commits: [Wireshark-commits] master cfb1bc3: Put the 64-bit hash routines into a common f
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cfb1bc3bb44d6b5a12eac28905b02e6a3a60d17b
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
cfb1bc3 by Guy Harris (guy@xxxxxxxxxxxx):
Put the 64-bit hash routines into a common file.
Some or all are used by the Infiniband, MBIM, and RSVD dissectors; put
them into a common source file, with a header for them, and just include
the header in the dissectors.
Change-Id: I724f0c2232ba751ccbd491222af6f03bafd6d63c
Reviewed-on: https://code.wireshark.org/review/7182
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 4765bbc RSVD: fix compilation with GLib < 2.22.0
adds cfb1bc3 Put the 64-bit hash routines into a common file.
Summary of changes:
epan/CMakeLists.txt | 1 +
epan/Makefile.common | 2 +
epan/dissectors/packet-infiniband.c | 19 +-----
epan/dissectors/packet-mbim.c | 9 +--
epan/dissectors/packet-rsvd.c | 1 +
epan/g_int64_hash_routines.c | 77 ++++++++++++++++++++++
wsutil/bitswap.h => epan/g_int64_hash_routines.h | 29 ++++----
7 files changed, 100 insertions(+), 38 deletions(-)
create mode 100644 epan/g_int64_hash_routines.c
copy wsutil/bitswap.h => epan/g_int64_hash_routines.h (61%)