Wireshark mailing list archives
Re: capture_file* in dissector code
From: mmann78 () netscape net
Date: Wed, 13 Nov 2013 17:14:19 -0500 (EST)
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 <darkjames-ws () darkjames pl> To: Developer support list for Wireshark <wireshark-dev () wireshark org> 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, mmann78 () netscape net 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 <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- capture_file* in dissector code mmann78 (Nov 13)
- Re: capture_file* in dissector code Evan Huus (Nov 13)
- Re: capture_file* in dissector code Jakub Zawadzki (Nov 13)
- Re: capture_file* in dissector code mmann78 (Nov 13)
- Re: capture_file* in dissector code Jakub Zawadzki (Nov 13)
- Re: capture_file* in dissector code mmann78 (Nov 13)
- <Possible follow-ups>
- Re: capture_file* in dissector code mmann78 (Nov 13)
- Re: capture_file* in dissector code Evan Huus (Nov 13)
- Re: capture_file* in dissector code mmann78 (Nov 13)
- Re: capture_file* in dissector code Evan Huus (Nov 13)
- Re: capture_file* in dissector code mmann78 (Nov 13)
- Re: capture_file* in dissector code Evan Huus (Nov 13)