Wireshark-commits: [Wireshark-commits] master-2.2 179d2a5: zvt: use a hash table for the bitmaps

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 24 Jul 2016 19:06:16 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=179d2a5d675ef2cd40c407e73337d7be0fb706ab
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

179d2a5 by Martin Kaiser (wireshark@xxxxxxxxx):

    zvt: use a hash table for the bitmaps
    
    table entries contain the length (if known and constant) and a function
    to dissect the payload
    
    this should clean up the code for bitmap dissection and make it easier
    to add new entries
    
    Change-Id: Id0ef5ff9e53c82171789c8a3352e56d3997d82b9
    Reviewed-on: https://code.wireshark.org/review/16632
    Petri-Dish: Martin Kaiser <wireshark@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    (cherry picked from commit 688d055acd523e645c1e87267dcf4a0a9867adbd)
    Reviewed-on: https://code.wireshark.org/review/16638
    

Actions performed:

    from  26f8389   zvt: rename dissect_zvt_bitmap_apdu() to dissect_zvt_bitmap_seq()
    adds  179d2a5   zvt: use a hash table for the bitmaps


Summary of changes:
 epan/dissectors/packet-zvt.c |  149 +++++++++++++++++++++++-------------------
 1 file changed, 81 insertions(+), 68 deletions(-)