A related question - Is packet_info->phdr == capture_file->phdr?   That would 
allow me to get the data I need always from packet_info* and not need the 
capture_file*


-----Original Message-----
From: Jakub Zawadzki <[email protected]>
To: Developer support list for Wireshark <[email protected]>
Sent: Wed, Nov 13, 2013 3:39 pm
Subject: Re: [Wireshark-dev] capture_file* in dissector code


Hi,

On Wed, Nov 13, 2013 at 08:15:12AM -0500, [email protected] 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 *
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

 
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to