Wireshark mailing list archives

Re: Transmission Latency Calculation


From: Christopher Maynard <Christopher.Maynard () gtech com>
Date: Mon, 1 Oct 2012 01:10:55 +0000 (UTC)

Herb Falk <herb@...> <Herb@...> writes:

I am creating a dissector that needs to be able to calculate the transmission
latency of a packet.
 
The protocol being dissected has the timestamp of the “transmission”, I need
to be able to gain access to the time of capture of wireshark in order to
calculate the difference.  Anybody know an example/documentation pointer?

I believe pinfo->fd->abs_ts has what you're looking for.  But you'll need the
clocks of the transmitting and capturing devices to be synchronized in order to
obtain any meaningful latency calculations.



___________________________________________________________________________
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: