URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=22ad90cdc8c4487072e2152cbca8112afaeaa59f
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
22ad90c by Guy Harris (guy@xxxxxxxxxxxx):
Add routines for CRC-16 with a polynomial of 0x3D65.
There are routines that take a buffer and a length and that take a
tvbuff, offset, and length; use those routines in the DNP dissector
(which no longer needs its own table and loop), and use the tvbuff
routine instead of calling tvb_get_ptr().
Change-Id: Ic67b0f3b65b94ea47c0fdc2f3d3b6f88df77f9c6
Reviewed-on: https://code.wireshark.org/review/3505
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 8da72cd Fix support for decrypting 802.11 broadcast messages.
adds 22ad90c Add routines for CRC-16 with a polynomial of 0x3D65.
Summary of changes:
epan/crc16-tvb.c | 10 ++++++
epan/crc16-tvb.h | 12 +++++++
epan/dissectors/packet-dnp.c | 78 +++++++-----------------------------------
wsutil/crc16.c | 42 +++++++++++++++++++++++
wsutil/crc16.h | 9 +++++
5 files changed, 85 insertions(+), 66 deletions(-)