Wireshark-dev: Re: [Wireshark-dev] How to access the Arrival time which is displayed in the Fra

From: sagar sg <sagu072@xxxxxxxxx>
Date: Wed, 29 Jun 2011 12:55:58 +0530
thank you i found it already, thanks. it was there in packet_info  structure.

On Wed, Jun 29, 2011 at 12:22 PM, Jaap Keuter <jaap.keuter@xxxxxxxxx> wrote:
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@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
           mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe