Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] capture_file* in dissector code

From: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
Date: Wed, 13 Nov 2013 21:41:07 +0100
Hi,

On Wed, Nov 13, 2013 at 08:15:12AM -0500, mmann78@xxxxxxxxxxxx wrote:
> I was looking at making the "Decode As" functionality more generic, but my current solution involves having dissectors handle a callback function that passes in a capture_file* as an argument.  

I'm not sure if it's good enough, but epan_session->data in wireshark, tshark, rawshark points to capture_file *