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] 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 *