I have defined a global data structure inside epan/dissector/packet-radius, which I am using to store some radius state handling information. I would like to display the information stored in this data structure inside the Statistics->Summary dialogue window.
I am not sure how to export the data structure defined in epan/dissector/packet-radius.c to make it available to ui/gtk/summary_dlg.c
I did this long back in Wireshark-1.0.1 using the following steps:
But, it seems that "WS_VAR_IMPORT" and "epan/libwireshark.def" are not being used in the latest Wireshark version (1.10.1).
Any help on this is appreciated.
asked 23 Aug '13, 06:47
edited 23 Aug '13, 06:57
I'd suggest doing this with a tap, instead, rather than by exporting a global data structure.
I'd make all protocol-specific statistics taps rather than putting them into the summary dialog.
answered 24 Aug '13, 11:58
Guy Harris ♦♦