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.

No.

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