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] How to access the Arrival time which is displayed in the Fra

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Wed, 29 Jun 2011 08:52:07 +0200
On 06/29/2011 07:21 AM, sagar sg wrote:
Hi Team,

I writing a dissector, in which I need to compare the time stamp in application
level with the arrival time stamp which has been displayed under frame tree of
wireshark. How can I access this arrival time from dissector?

Thanks in Advance

Regards,
Sagar


Hi,

Have a look at epan/packet_info.h and epan/frame_data.h. You'll find the timestamp in the frame data structure, which you can access through packet info.

pinfo->fd->abs_ts

Thanks,
Jaap