tcpdump mailing list archives

[RFC PATCH 0/2]: hw timestamp support


From: "Mcmillan, Scott A" <scott.a.mcmillan () intel com>
Date: Mon, 24 May 2010 07:26:03 -0700

[My apologies if this double posts.  The mail server didn't care for the first submission.]

This patch adds the capability to select the packet timestamp source.  It also adds support for the PACKET_TIMESTAMP 
Linux kernel setting to specify the source of packet timestamps.  The corresponding Linux kernel patch is being 
submitted concurrently.

A new command line option was added to tcpdump, -j, to specify the source of the packet timestamp.  Valid options are 
'raw' to use the raw NIC HW timestamp and 'nic' to use the NIC HW timestamp transformed into the system clock basis.  
If the option is not specified, or OS or the NIC do not support HW timestamping, a software timestamp is used 
(identical to the current behavior.)   

[Note: As a RFC, I'm posting this to the mailing list before submitting the patches to SourceForge.]

Thanks,
Scott
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: