On Feb 12, 2007, at 11:59 AM, Filonenko Alexander-AAF013 wrote:
Looking for an advice on how to add UI to a dissector plugin for
proprietary protocol .
Dissectors themselves can't have UI, but..
Ideally, if the plugin is present then the "Statistics" menu would
have another menu item to open the UI.
...that'd be implemented via a tap, which is a separate piece of code
from a dissector, although the dissector does queue up work for a tap.
Are there any suggestions/existing examples of such plugins?
See, for example, the epan/dissectors/packet-afp.c dissector, the gtk/
afp_stat.c tap (for providing GUI statistics for AFP in Wireshark),
and the tap-afpstat.c tap (for providing command-line statistics for
AFP in TShark).
Dissectors and taps can both be plugins. See, for example, plugins/
stats_tree for a plugin tap.