ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] how to add a variable in protocol tree

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Oct 2009 11:03:08 -0600

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.


Steve