tcpdump mailing list archives
Re: [PATCH] packet_mmap: expose hw packet timestamps to network
From: David Miller <davem () davemloft net>
Date: Wed, 02 Jun 2010 05:54:24 -0700 (PDT)
From: "Mcmillan, Scott A" <scott.a.mcmillan () intel 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 () intel com>
Ok, this looks fine, applied. Thanks. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- [PATCH] packet_mmap: expose hw packet timestamps to network packet capture utilities Mcmillan, Scott A (May 27)
- Re: [PATCH] packet_mmap: expose hw packet timestamps to network David Miller (Jun 02)