I would like to add the following nodes to the tree structure in Wireshark in my dissectors code:
I know this would be accomplished through the dissect proto function, but I cannot figure out how to add nodes and set the text arbitrarily (totally independent of the data getting handed into my dissector).
I realize this is not quite how this is supposed to be used, but due to the nature of what I am doing, the actual conversion function (raw data to XML) is already done inside a DLL file. It works, we use it for other things, and I don't really want to attempt to incorporate that mess into my dissector. I wrote a C XML parser already since the DLL outputs an XML c string, so all i want to do at this point is take that XML file (which is inherently a tree structure already) and display it in wireshark.
If you could provide a small example to add the tree structure I gave above that would be amazing.
Thank you for your time, Brandon
You may even be able to skip creating a new
answered 25 Jul '11, 06:40
You add a subtree by using
See README.developer in the doc directory of the source.
answered 25 Jul '11, 06:28