aboutsummaryrefslogtreecommitdiffstats
path: root/extcap_parser.c
diff options
context:
space:
mode:
authorWasim Abu Moch <wasim@mellanox.com>2014-08-17 15:24:14 +0300
committerMichael Mann <mmann78@netscape.net>2014-08-21 02:20:17 +0000
commit401469880b8b98a4d42011bdf9af7fbb67c6f057 (patch)
tree9f3fe0d4054a72c436a6c39ddace3c6522afa99b /extcap_parser.c
parentca5fa539f5c8cf9e96ee2e1d8ddb19969bd52524 (diff)
packet-erf: added dissector table for "erf.types.type" type field.
1- removed unnecessary include <wiretap/erf.h> 2- used fall through in protocol switch case instead of calling same function with same params. fixes/changes after review with Evan Huus, changes ETH/IPv4/IPv6/Infiniband/InfinibandLink to use dissector table instead of direct function calls. other protocols should be called in the same way, we'll do it when have the time. instead of calling subdissector directly from packet-erf.c code it's easier to declare this and each time we need to register a new protocol over erf format we sould easily extend it from the protcol module instead using "dissector_add_uint()" function. the change is still backward compatible, if no upper protocol is registered for the specifc type an old fasion direct function call is performed. Change-Id: I3ae1ccfdd49ab8f90667185296cc950dc2184475 Reviewed-on: https://code.wireshark.org/review/3670 Petri-Dish: Evan Huus <eapache@gmail.com> Reviewed-by: Evan Huus <eapache@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'extcap_parser.c')
0 files changed, 0 insertions, 0 deletions