]> Pileus Git - ~andy/linux/commit
net: introduce ptp one step time stamp mode for sync packets
authorRichard Cochran <richardcochran@gmail.com>
Tue, 20 Sep 2011 01:43:15 +0000 (01:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Sep 2011 20:02:46 +0000 (16:02 -0400)
commit3ce23fa9780b70525932c5e4b5ac401c67390fae
tree840592386fc253e74eaa6725a3ad2359f0ad2b72
parent49b3fd4aff7ede794d4fe50b80095eb33cc9d911
net: introduce ptp one step time stamp mode for sync packets

The IEEE 1588 standard (PTP) has a provision for a "one step" mode, where
time stamps on outgoing event packets are inserted into the packet by the
hardware on the fly. This patch adds a new flag for the SIOCSHWTSTAMP
ioctl that lets user space programs request this mode.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/net_tstamp.h