net: socket infrastructure for SO_TIMESTAMPING
authorPatrick Ohly <patrick.ohly@intel.com>
Thu, 12 Feb 2009 05:03:38 +0000 (05:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Feb 2009 06:43:35 +0000 (22:43 -0800)
commit20d4947353be60e909e6b1a79d241457edd6833f
tree939ced518fc52e57df9ee9efb0cd14b6e26a3bc4
parentac45f602ee3d1b6f326f68bc0c2591ceebf05ba4
net: socket infrastructure for SO_TIMESTAMPING

The overlap with the old SO_TIMESTAMP[NS] options is handled so
that time stamping in software (net_enable_timestamp()) is
enabled when SO_TIMESTAMP[NS] and/or SO_TIMESTAMPING_RX_SOFTWARE
is set.  It's disabled if all of these are off.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/compat.c
net/core/sock.c
net/socket.c