Re: tcptrace [OFFTOPIC?] Looking for cheap timestamping...

From: Simon Leinen (simon@limmat.switch.ch)
Date: 02/27/03


Subject: Re: tcptrace [OFFTOPIC?] Looking for cheap timestamping...
From: Simon Leinen <simon@limmat.switch.ch>
Date: Thu, 27 Feb 2003 23:13:04 +0100
Message-ID: <aa3cm9fk3z.fsf@limmat.switch.ch>

On Thu, 27 Feb 2003 12:32:28 -0800, Jeremy Elson <jelson@circlemud.org> said:
> uaca@alumni.uv.es writes:
>> I'm looking for inexpensive Gigabit Ethernet hardware that could attach to
>> Linux with basic packet timestamping capabilities.

> I've never used Gigabit ethernet, but using the libpcap library to
> capture packets gives us excellent timestamps for 100mbit ethernet.
> Most ethernet drivers timestamp packets in the interrupt handler so it
> has fairly low jitter. This timestamp is available if you use libpcap
> to capture the packets, as opposed to the normal socket interface in
> which case it's not available through any mechanism I know.

Newer Linux kernels (>=v2.4) implement SO_TIMESTAMP which can be used
to get kernel timestamps using the socket interface.

-- 
Simon.
----------------------------------------------------------------------------
To unsubscribe, send a message with body containing "unsubscribe tcptrace" to
majordomo@tcptrace.org.



This archive was generated by hypermail 2b30 : 02/28/03 EST