Wireshark-commits: [Wireshark-commits] master 688d055: zvt: use a hash table for the bitmaps
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 24 Jul 2016 19:05:34 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=688d055acd523e645c1e87267dcf4a0a9867adbd
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

688d055 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>
    

Actions performed:

    from  363617f   Use 'nxt' argument in ipv6_dissect_next()
    adds  688d055   zvt: use a hash table for the bitmaps


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