We're now a non-profit! Support open source packet analysis by making a donation.

Wireshark-dev: Re: [Wireshark-dev] Specify filter using API

From: Juan Jose Martin Carrascosa <[email protected]>
Date: Mon, 8 Feb 2016 18:22:53 +0100
Thanks for the info Guy. 

I am not willing to hack the core, so I will go ahead with the multiple fields.

Thanks,
Juanjo Martin

On Mon, Feb 8, 2016 at 6:21 PM, Guy Harris <[email protected]> wrote:
On Feb 8, 2016, at 8:27 AM, Juan Jose Martin Carrascosa <[email protected]> wrote:

> Is there any way to specify the filter name using an API? Like, I use this generic hf_field for my plugin and I specify the filter name in the code paths.

No.

You'll either have to create multiple fields (the preferred solution) or use a hacked version of the Wireshark core.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe



--

Juanjo Martin
Applications Engineer
Professional Services Group
Office: +34 958 27 88 62
Mobile: +34 622 73 29 03