Wireshark-dev: Re: [Wireshark-dev] Retrieving dissection result from another dissector

From: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
Date: Tue, 3 Jul 2018 08:00:30 -0700
On Tue, Jul 3, 2018 at 7:55 AM, Dario Lombardo <lomato@xxxxxxxxx> wrote:
> Hi
> In my dissector I need to call another dissector, and I'm using
> call_dissector_with_data(). I need to have back one result coming from the
> dissection (an integer) to use in the calling dissector.
> How can I do that?

You can pass in a void * pointer to a blob of data. Put the result in
that blob of data.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)