Stephen Fisher wrote: > On Oct 15, 2009, at 1:07 AM, Devlina wrote: > >> Is there any way to display an independent variable which itself is >> not a part of any tvb in the protocol tree? > > Look in doc/README.developer for the functions that start with > proto_tree_add_ other than proto_tree_add_item(). If you don't need > it to be filterable, you can use proto_tree_add_text() to add any text > you wish.
It's also good practice to mark the variable as "generated" (meaning: not from the TVB) using PROTO_ITEM_SET_GENERATED() ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
