[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100602.055424.93467981.davem@davemloft.net>
Date: Wed, 02 Jun 2010 05:54:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: scott.a.mcmillan@...el.com
Cc: netdev@...r.kernel.org, tcpdump-workers@...ts.tcpdump.org
Subject: Re: [PATCH] packet_mmap: expose hw packet timestamps to network
packet capture utilities
From: "Mcmillan, Scott A" <scott.a.mcmillan@...el.com>
Date: Thu, 27 May 2010 09:58:19 -0700
> Subject: [RFC PATCH] packet_mmap: expose hw packet timestamps to network packet capture utilities
>
> This patch adds a setting, PACKET_TIMESTAMP, to specify the packet
> timestamp source that is exported to capture utilities like tcpdump
> by packet_mmap.
>
> PACKET_TIMESTAMP accepts the same integer bit field as
> SO_TIMESTAMPING. However, only the SOF_TIMESTAMPING_SYS_HARDWARE
> and SOF_TIMESTAMPING_RAW_HARDWARE values are currently recognized by
> PACKET_TIMESTAMP. SOF_TIMESTAMPING_SYS_HARDWARE takes precedence
> over SOF_TIMESTAMPING_RAW_HARDWARE if both bits are set.
>
> If PACKET_TIMESTAMP is not set, a software timestamp generated
> inside the networking stack is used (the behavior before this
> setting was added).
>
> Signed-off-by: Scott McMillan <scott.a.mcmillan@...el.com>
Ok, this looks fine, applied.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists