aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dsr.c
AgeCommit message (Collapse)AuthorFilesLines
2016-03-20Create call_data_dissector() to call data dissector.Michael Mann1-4/+1
This saves many dissectors the need to find the data dissector and store a handle to it. There were also some that were finding it, but not using it. For others this was the only reason for their handoff function, so it could be eliminated. Change-Id: I5d3f951ee1daa3d30c060d21bd12bbc881a8027b Reviewed-on: https://code.wireshark.org/review/14530 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-12-09new_create_dissector_handle -> create_dissector_handle for dissector directory.Michael Mann1-1/+1
Some of the ASN.1 dissectors still generate a new_create_dissector_handle from the tool itself, so leave those for now. Change-Id: Ic6e5803b1444d7ac24070949f5fd557909a5641f Reviewed-on: https://code.wireshark.org/review/12484 Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-2/+0
Specifically: - Set packet.h to be the first wireshark #include after config.h and "system" #includes. packet.h added as an #include in some cases when missing. - Remove some #includes included (directly/indirectly) in packet.h. E.g., glib.h. (Done only for those files including packet.h). - As needed, move "system" #includes to be after config.h and before wireshark #includes. - Rework various #include file specifications for consistency. - Misc. Change-Id: Ifaa1a14b50b69fbad38ea4838a49dfe595c54c95 Reviewed-on: https://code.wireshark.org/review/5923 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-10-04DSR: Fix Dead Store (Dead assignement/Dead increment) warning found by ClangAlexis La Goutte1-11/+11
Change-Id: Ifd694dc9a72cde787c00820ec5a02cc33d5157e0 Reviewed-on: https://code.wireshark.org/review/4466 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-09-24Added a new DSR dissectorGilles Roudiere1-0/+776
Added a new dissector for the Dynamic Source Routing (DSR) protocol (RFC 4728) It should correctly dissect all DSR packets, including the "Flow State Extension" DSR packets. See Bug #10499 for capture file Change-Id: Ie33a1a2fe095cab19d5abfbfa8e1c79fec664a35 Reviewed-on: https://code.wireshark.org/review/4251 Reviewed-by: Bill Meier <wmeier@newsguy.com>