Wireshark mailing list archives
Re: Is it still ok to create hidden items ?
From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Thu, 27 Oct 2011 09:34:42 -0400
Teto wrote:
Hi, Just had a question about what's the best practice. I have a packet with a field contianing several keywords. I intend to split those keywords so that one can filter display based upon a keyword. My problem is am compelled to display each keyword separately (one itemp per kewyord and group them in a subtree) or could I display all of them in one item in the main tree (my preference) and then create several hidden fields (one per keyword). I wonder if that last
Why not combine the two? Put one item (or maybe even just a text entry--from proto_tree_add_text()) with all the keywords (possibly added with proto_tree_append_text()) and then create a subtree below that with each keyword individually?
This is how we get, for example, nice summary lines for the TCP protocol (including port numbers, etc.) while keeping the port numbers themselves as separate filterable items in the TCP subtree.
___________________________________________________________________________ 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:
- Is it still ok to create hidden items ? Teto (Oct 27)
- Re: Is it still ok to create hidden items ? ronnie sahlberg (Oct 27)
- Re: Is it still ok to create hidden items ? Teto (Oct 27)
- Re: Is it still ok to create hidden items ? Speck Michael EHWG AVL/GAE (Oct 27)
- Re: Is it still ok to create hidden items ? Jeff Morriss (Oct 27)
- Re: Is it still ok to create hidden items ? Teto (Oct 27)
- Re: Is it still ok to create hidden items ? Roland Knall (Oct 31)
- Re: Is it still ok to create hidden items ? Anders Broman (Oct 31)
- Re: Is it still ok to create hidden items ? Roland Knall (Oct 31)
- Re: Is it still ok to create hidden items ? ronnie sahlberg (Oct 31)
- Re: Is it still ok to create hidden items ? Teto (Oct 27)
- Re: Is it still ok to create hidden items ? ronnie sahlberg (Oct 27)