ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 8 Feb 2016 09:21:33 -0800
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.


You'll either have to create multiple fields (the preferred solution) or use a hacked version of the Wireshark core.