Wireshark mailing list archives
Re: Structure of protocol tree
From: Jaap Keuter <jaap.keuter () xs4all nl>
Date: Wed, 15 Dec 2010 15:28:43 +0100
Hi, This 'colorize' is mainly intended to mark changeover into another protocol. Usually you see this at the top level (from the root), but occasionally when a protocol is encapsulated (some ITU protocols show this). As long as your 'structures' are at the top level, these could be considered valid use if they are truly independant, otherwise it's just poor style. Thanks, Jaap If you refer to nested structures On Wed, 15 Dec 2010 14:59:35 +0100, "news.gmane.com" <AndreasSander1 () gmx net> wrote:
When I look at other dissector's output they use the proto_tree_add_protocol_format only for indicating that a new protocol is engaged. These protocol lines in the tree are also displayed in other colors. That makes it easy to navigate by eyes. I have a protocol with a lot of structures inside. What is a good way to colorize theses structure. It would be good to indicate where a new item in sequence begins. I think the abuse of the ..._add_protocol would a bad style or probably a bug. What do you advice?
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Structure of protocol tree news.gmane.com (Dec 15)
- Re: Structure of protocol tree Jaap Keuter (Dec 15)
- Re: Structure of protocol tree news.gmane.com (Dec 15)
- Re: Structure of protocol tree Jaap Keuter (Dec 15)
- Re: Structure of protocol tree Gerald Combs (Dec 15)
- Re: Structure of protocol tree news.gmane.com (Dec 15)
- Re: Structure of protocol tree Jaap Keuter (Dec 15)