Wireshark-commits: [Wireshark-commits] master 9e1232e: Convert IEEE802.11 tagged fields into a diss

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 17 Feb 2017 21:55:22 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9e1232ee9e7ac3e7a7cb38a099dae66a7b425b4e
Submitter: Alexis La Goutte (alexis.lagoutte@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

9e1232e by Michael Mann (mmann78@xxxxxxxxxxxx):

    Convert IEEE802.11 tagged fields into a dissector table
    
    One GIANT switch statement is a little difficult to maintain, so convert each
    case into its own function and add them to a dissector table.  Many of the
    case statements were already their own function, but signatures needed to
    be converted into dissector_handle_t
    -1 was uses as the protocol for the dissector handles because there isn't
    a need to be associated with a protocol.  This also allows third-parties
    and plugins to add tagged fields outside of Wireshark using the new
    dissector table.
    
    Change-Id: I5e4c705dd6a7d99549a27ae684dbde4c47774123
    Reviewed-on: https://code.wireshark.org/review/19670
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    

Actions performed:

    from  b59c87f   CMake: Move the search for libgcc_s to GLib.
    adds  9e1232e   Convert IEEE802.11 tagged fields into a dissector table


Summary of changes:
 epan/dissectors/packet-ieee80211.c | 4991 +++++++++++++++++++-----------------
 epan/dissectors/packet-ieee80211.h |    9 +
 2 files changed, 2582 insertions(+), 2418 deletions(-)