Wireshark-commits: [Wireshark-commits] master 65700bd: Make a dissector table out of IPv6 Next head

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 28 Apr 2014 23:50:16 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=65700bd2e0f57855866846e30ec5361434af8e3f
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

65700bd by Michael Mann (mmann78@xxxxxxxxxxxx):

    Make a dissector table out of IPv6 Next header.
    
    This cleans up the implementation of the extension header, but also allows Decode As functionality for Next Header fields. This allows "old" SHIM6 IP protocol number (not IANA registered) to still be dissected.
    
    bug:9995
    Change-Id: I6f29a1f7db144478c5b6416d27da2c9c5a7a1de1
    Reviewed-on: https://code.wireshark.org/review/1378
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  ec20545   Fix checkAPIs warnings in packet-lldp.c. repoted_length() used instead of captured_length() as is seems more logical
    adds  65700bd   Make a dissector table out of IPv6 Next header.


Summary of changes:
 epan/dissectors/packet-ip.c    |    1 -
 epan/dissectors/packet-ipsec.c |   97 ++++++++-------
 epan/dissectors/packet-ipsec.h |    6 +-
 epan/dissectors/packet-ipv6.c  |  257 ++++++++++++++++++++--------------------
 epan/ipproto.c                 |    2 +-
 epan/ipproto.h                 |    2 -
 6 files changed, 188 insertions(+), 177 deletions(-)