Re: [Wireshark-dev] Highlight fields

2016-02-23 Thread Juan Jose Martin Carrascosa
Shoot an email in this thread if you do so. I am highly interested on this feature. Thanks! Juanjo On Tuesday, February 23, 2016, Stig Bjørlykke wrote: > On Tue, Feb 23, 2016 at 9:11 PM, Jeff Morriss > wrote: > >> (A first--and useful--step would be to highlight the tree item when >> searching

Re: [Wireshark-dev] Highlight fields

2016-02-23 Thread Stig Bjørlykke
On Tue, Feb 23, 2016 at 9:11 PM, Jeff Morriss wrote: > (A first--and useful--step would be to highlight the tree item when > searching with a display filter. Or maybe that's the whole solution?) > I'm already thinking about doing this in Find Packet with a display filter, so this could be commo

Re: [Wireshark-dev] Highlight fields

2016-02-23 Thread Jeff Morriss
Hmm, this might be easier than described below. It turns out there's already some similar functionality when doing a "Find packet" when searching for a string or hex value. See: https://code.wireshark.org/review/#/c/14086/ as well as the bug that links to and the original change that added the

Re: [Wireshark-dev] Highlight fields

2016-02-12 Thread Jeff Morriss
I think you can discover this via hfinfo->ref_type . On Fri, Feb 12, 2016 at 9:25 AM, Juan Jose Martin Carrascosa wrote: > That idea sounds awesome and enough for me. > > Can you tell me how to detect if a proto_item is passing a filter? > > Thanks, > Juanjo > > On Fri, Feb 12, 2016 at 3:22 PM,

Re: [Wireshark-dev] Highlight fields

2016-02-12 Thread Juan Jose Martin Carrascosa
That idea sounds awesome and enough for me. Can you tell me how to detect if a proto_item is passing a filter? Thanks, Juanjo On Fri, Feb 12, 2016 at 3:22 PM, Jeff Morriss wrote: > I'm not sure this would require changes to the dissectors. > > I would /think/ that this could be done similar to

Re: [Wireshark-dev] Highlight fields

2016-02-12 Thread Jeff Morriss
I'm not sure this would require changes to the dissectors. I would /think/ that this could be done similar to how the Expert Info system highlights the (tree) path down to the item to which the expert info is attached. That is, it could be done in the proto_tree_add*() calls by, for example:

Re: [Wireshark-dev] Highlight fields

2016-02-10 Thread Juan Jose Martin Carrascosa
Do you know which would be the approach? I am willing to implement it. Any idea is very much appreciated! Thanks, Juanjo On Wed, Feb 10, 2016 at 1:45 PM, Roland Knall wrote: > Hi > > No, currently there is no direct way to do this. And any new way would > require a change to the dissectors hand

Re: [Wireshark-dev] Highlight fields

2016-02-10 Thread Roland Knall
Hi No, currently there is no direct way to do this. And any new way would require a change to the dissectors handling the messages regards On Wed, Feb 10, 2016 at 11:44 AM, Juan Jose Martin Carrascosa < jua...@rti.com> wrote: > Hi all, > > Let's say I have several submessages in a packet (RTPS)

[Wireshark-dev] Highlight fields

2016-02-10 Thread Juan Jose Martin Carrascosa
Hi all, Let's say I have several submessages in a packet (RTPS). When I filter, one of them matches so the whole RTPS (UDP datagram) matches and thus, it is shown in the display. However, if the amount of submessages is large (200?), it is quite tedious to find the matching submessage. Is there a