Wireshark-dev: Re: [Wireshark-dev] query regarding register of protocol
From: Evan Huus <eapache@xxxxxxxxx>
Date: Wed, 19 Feb 2014 10:20:10 -0500
On Wed, Feb 19, 2014 at 9:37 AM, Rahul Rohit <rahul.rohit@xxxxxxxxxxx> wrote:
> Hi,
>
> If I have two protocols A and B, is it possible to register the handle of
> protocol B in the protocol table of A and to register the handle of protocol
> A in the
>
> Protocol table of  B at the same time.

Absolutely. Just create the tables in the proto_register_NAME
functions, and register in them in the proto_reg_handoff_NAME
functions.

Evan