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] Specify filter using API

From: Juan Jose Martin Carrascosa <juanjo@xxxxxxx>
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 <guy@xxxxxxxxxxxx> wrote:
On Feb 8, 2016, at 8:27 AM, Juan Jose Martin Carrascosa <juanjo@xxxxxxx> 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 <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe



--

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