ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master 2d78287: Add a dissector table for EAPOL Key Descript

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 23 Mar 2014 19:18:54 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2d7828794c0c79a3238ce71ec6f7f013245e9a88
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

2d78287 by Guy Harris (guy@xxxxxxxxxxxx):

    Add a dissector table for EAPOL Key Descriptor types.
    
    Instead of having a switch statement in the EAPOL dissector for Key
    Descriptor types, have a dissector table, and:
    
    	have the EAPOL dissector register with a dissector for the RC4
    	type;
    
    	have the 802.11 dissector register with dissectors for WPA and
    	RSN types.
    
    This means that ieee_80211_add_tagged_parameters() no longer needs to be
    public; make it static.
    
    Change-Id: I68e0592c3ea055c693d6d5d5a9eb88634ea37a95
    Reviewed-on: https://code.wireshark.org/review/800
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  2a6e50c   Clean up white space.
    adds  2d78287   Add a dissector table for EAPOL Key Descriptor types.


Summary of changes:
 epan/Makefile.common                               |    1 +
 epan/dissectors/packet-eapol.c                     |  379 +++++---------------
 epan/dissectors/packet-ieee80211.c                 |  335 ++++++++++++++++-
 epan/dissectors/packet-ieee80211.h                 |    3 -
 .../eapol_keydes_types.h                           |   19 +-
 5 files changed, 426 insertions(+), 311 deletions(-)
 copy asn1/cdt/packet-cdt-template.h => epan/eapol_keydes_types.h (71%)