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 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.