aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-hiqnet.c
AgeCommit message (Collapse)AuthorFilesLines
2016-02-02HiQnet parameters and Wireshark fields have data types; use them.Guy Harris1-49/+186
Don't just display every field that's not a STRING as a lump of hex bytes; display them (and make them filterable) according to their data type. Change-Id: I5717c45bc970616ba9438277e1bcaae46c3cbdf8 Reviewed-on: https://code.wireshark.org/review/13669 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-01-17Prevent out-of-bounds read in hiqnet_display_data.Michael Mann1-14/+25
Bug: 11983 Change-Id: If8b0c4ff45014c0d7480e43afaaf12747590a56f Reviewed-on: https://code.wireshark.org/review/13370 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-12-09new_create_dissector_handle -> create_dissector_handle for dissector directory.Michael Mann1-2/+2
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>
2015-01-27Lua: Expose tcp_dissect_pdus() to LuaHadriel Kaplan1-2/+2
Provide a way for Lua-based dissectors to invoke tcp_dissect_pdus() to make TCP-based dissection easier. Bug: 9851 Change-Id: I91630ebf1f1fc1964118b6750cc34238e18a8ad3 Reviewed-on: https://code.wireshark.org/review/6778 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Hadriel Kaplan <hadrielk@yahoo.com> Tested-by: Hadriel Kaplan <hadrielk@yahoo.com>
2014-11-14hiqnet: Improve dissection for hiqnet over TCP or UDPBill Meier1-6/+60
-- Use tcp_dissect_pdus() for hiqnet over tcp so as to properly handle hiqnet PDUS is a TCP stream of data; -- Handle possible multiple hiqnet PDUs in a UDP payload. -- Add Fixme: re multiple hiqnet PDUs in a frame. Change-Id: I3527c6ea13571d16bcf23dd3771d0a89734a7c5a Reviewed-on: https://code.wireshark.org/review/5267 Reviewed-by: Raphaël Doursenaud <rdoursenaud@free.fr> Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-11-14hiqnet: Simplify code somewhat; Adjust the "names" and display of certain ↵Bill Meier1-184/+75
fields. Specifically: Use proto_tree_add_bitmask() to show the "flags" and "categories" bitfields (instead of building the fields display "by hand"). The bitfield display changed as follows: - A bitfield with all bits=0 will have a detailed dissection tree; (for both 'flags' & 'categories'); - The 'categories' individual bitfields are now displayed as FT_BOOLEAN (not FT_UINT32). Change-Id: Icd35698aae492b81b340d08030e6a1563f1640ae Reviewed-on: https://code.wireshark.org/review/5266 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-11-11hiqnet: Use correct filter names; Fix specification of hf_dhcpBill Meier1-8/+8
"foo.flags..." --> "hiqnet.flags..."; Use BASE_NONE for hf_dchp. Change-Id: Ic3ca4754a1daeefc831dbfcd6a280fe19f8efbf3 Reviewed-on: https://code.wireshark.org/review/5240 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-11-11Hiqnet: fix warning found by fix-encoding-args toolsAlexis La Goutte1-7/+7
Change-Id: I7e513ec5b617217cd238861f5f02d44edce0bedd Reviewed-on: https://code.wireshark.org/review/5239 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-11-11Hiqnet: fix Mac OS X buildbotAlexis La Goutte1-26/+26
Change-Id: Ia4fec86ed389ccb558fe9e1acfb6e87b7012bb75 warning: declaration of 'strlen' shadows a global declaration Reviewed-on: https://code.wireshark.org/review/5237 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-11-11Hiqnet: fix typo lenght => lengthAlexis La Goutte1-2/+2
Change-Id: I104d8bb0c56899faef6f4d608859e7b1a34e45a4 Reviewed-on: https://code.wireshark.org/review/5238 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-11-11Initial Harman HiQnet dissectorRaphaël Doursenaud1-0/+1742
Change-Id: I43042edde09395e328d84bf4b172465829915a98 Reviewed-on: https://code.wireshark.org/review/5014 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>