tcpdump mailing list archives
Re: libpcap timestamp for sending a packet ?
From: "Aaron Turner" <synfinatic () gmail com>
Date: Wed, 1 Mar 2006 14:35:11 -0800
No, NIC's don't put timestamps in packets. And depending on your OS/NIC driver, the libpcap timestamp of the packet could be wrong or at least non-sensical too (I've seen packets stamped with an earlier timestamp then the previous read packet). IMHO, your best bet is to either use the TCP timestamp option on a socket() or use libnet to generate raw packets and put your timestamp in the payload. Btw, you do know that there are already tools which do this right??? things like iperf and netperf. -- Aaron Turner http://synfin.net/ On 3/1/06, J S <geekreader () gmail com> wrote:
Hello I am setting up a framework for measuring one way delay between two Internet end points. For higher accuracy I am using libpcap time stamps (from the packet header) at the reciever. Does any one know if there is any method for improving accuracy at the sender side. Is it possible for sender's NIC to log the time stamp the packet was sent? or any other idea ?
- This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.
Current thread:
- libpcap timestamp for sending a packet ? J S (Mar 01)
- Re: libpcap timestamp for sending a packet ? Aaron Turner (Mar 01)
- Re: libpcap timestamp for sending a packet ? Aaron Turner (Mar 01)
- Re: libpcap timestamp for sending a packet ? Daniel Lawson (Mar 01)
- Re: libpcap timestamp for sending a packet ? Aaron Turner (Mar 01)