Wireshark-commits: [Wireshark-commits] master bbdd34a: Add a tvbuff version of crc6_compute().

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 8 Aug 2014 20:03:31 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bbdd34a06b4ca9b4c8fea413ffb283f305881025
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

bbdd34a by Guy Harris (guy@xxxxxxxxxxxx):

    Add a tvbuff version of crc6_compute().
    
    Use it in the MBMS synchronisation protocol dissector, rather than
    calling tvb_get_ptr() there.
    
    Change-Id: I7ddb3c6b30547826cb5372352c7c483d8a24dc8e
    Reviewed-on: https://code.wireshark.org/review/3514
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  479e288   The "MPEG-2" CRC-32 is also the ATM CRC-32.
    adds  bbdd34a   Add a tvbuff version of crc6_compute().


Summary of changes:
 epan/CMakeLists.txt                 |    1 +
 epan/Makefile.common                |    2 ++
 epan/{crc10-tvb.c => crc6-tvb.c}    |   17 ++++++++---------
 wsutil/bitswap.h => epan/crc6-tvb.h |   12 ++++++------
 epan/dissectors/packet-sync.c       |    4 ++--
 5 files changed, 19 insertions(+), 17 deletions(-)
 copy epan/{crc10-tvb.c => crc6-tvb.c} (70%)
 copy wsutil/bitswap.h => epan/crc6-tvb.h (83%)