diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-08-08 11:08:35 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-08-08 18:09:02 +0000 |
commit | 6f104a0ffbfe2f01bb2b002aea91ea336daf8bf6 (patch) | |
tree | 9753037cdcff766f412af2800f4ad3ed4c7b5db1 /wsutil/crc10.h | |
parent | 9b9005eb94d9c89a02d93e8dda0c19b8e2d1a6d7 (diff) |
Clean up the CRC-10 code.
Have the wsutil routine just accumulate the stuff from the buffer handed
to us. Have the IUUP dissector deal with the extra stuff. Add a
update_crc10_by_bytes_tvb() routine, which is passed a tvbuff, offset,
and length, and use that rather than using tvb_get_ptr() in dissectors.
Change-Id: Iadd0823c764080e60d1339abb94d2e19150eabfe
Reviewed-on: https://code.wireshark.org/review/3509
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil/crc10.h')
-rw-r--r-- | wsutil/crc10.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wsutil/crc10.h b/wsutil/crc10.h index 41b631962b..f881f3bda9 100644 --- a/wsutil/crc10.h +++ b/wsutil/crc10.h @@ -26,7 +26,7 @@ #include "ws_symbol_export.h" -/* update the data block's CRC-10 remainder one byte at a time */ +/* Update the data block's CRC-10 remainder one byte at a time */ WS_DLL_PUBLIC guint16 update_crc10_by_bytes(guint16 crc10, const guint8 *data_blk_ptr, int data_blk_size); #endif /* __CRC10_H__ */ |