Re: [tcpdump-workers] [RFC PATCH 1/2] libpcap: linux hw timestamp

2010-05-26 Thread Mcmillan, Scott A
; timestamp as part of the packet metadata. Scott -Original Message- From: Darren Reed [mailto:darren.r...@oracle.com] Sent: Tuesday, May 25, 2010 8:04 PM To: tcpdump-workers@lists.tcpdump.org Cc: Mcmillan, Scott A Subject: Re: [tcpdump-workers] [RFC PATCH 1/2] libpcap: linux

Re: [tcpdump-workers] [RFC PATCH 1/2] libpcap: linux hw timestamp

2010-05-25 Thread Darren Reed
Scott, How does "-j raw" generate different output to "-j nic"? Looking through your code below, the code which constructs the data to pass through with the SIOCHWSTAMP ioctl ignores the "timesource" member completely (except to check if it is zero or not and thus turn it on.) This is the chang

[tcpdump-workers] [RFC PATCH 1/2] libpcap: linux hw timestamp support

2010-05-24 Thread Mcmillan, Scott A
[My apologies if this double posts. The mail server didn't care for the first submission.] This patch adds the general infrastructure needed to select the packet timestamp source as well as specific support for the PACKET_TIMESTAMP Linux kernel setting. Signed-off-by: Scott McMillan --- a