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 23:34:30 +0100
On Wed, Nov 13, 2013 at 05:14:19PM -0500, mmann78@xxxxxxxxxxxx wrote:
> 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*

Not always, packet_info->phdr points to currently dissecting packet.