Wireshark-commits: [Wireshark-commits] master 26a3573: Add support for IPv6 heuristic dissectors.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 3 May 2015 18:30:36 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=26a3573f90291975d54e61a04f12b46fcc3931db
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

26a3573 by Jesse Gross (jesse@xxxxxxxxxx):

    Add support for IPv6 heuristic dissectors.
    
    This adds limited support for heuristic subdissectors with IPv6.
    The initial motivation is STT but it should transparently work
    for other protocols using IP heuristic dissectors in a manner
    similar to the non-heuristic dissectors.
    
    The limitation is in regards to IPv6 extension headers. IPv6 has
    multiple checks against the next protocol table when determining
    when the protocol is an unknown extension header or not. This
    assumes that the check is cheap and has no side effects, neither
    of which is true for heuristic dissectors. As a compromise, this
    assumes that the next protocol is registered as protocol, even
    if is not the one that is ultimately dissected. Although not
    strictly correct, in practice this is true for existing protocols
    and likely future ones because the heuristic dissectors are
    overriding non-heuristic ones.
    
    Change-Id: Iff8cfc148ced5ca16191cc2b1879ad87e38d23cd
    Reviewed-on: https://code.wireshark.org/review/8197
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    

Actions performed:

    from  812d311   ext_menubar: Change action name to remove warning
    adds  26a3573   Add support for IPv6 heuristic dissectors.


Summary of changes:
 epan/dissectors/packet-ip.c   |   43 ++++++++++++++++++++++++++++-------------
 epan/dissectors/packet-ip.h   |    2 ++
 epan/dissectors/packet-ipv6.c |   12 +++++++++++-
 3 files changed, 43 insertions(+), 14 deletions(-)