Wireshark mailing list archives

Re: How to access the Arrival time which is displayed in the Frame tree


From: Jaap Keuter <jaap.keuter () xs4all nl>
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
___________________________________________________________________________
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: