Eric Dumazet
92f37fd2ee
[NET]: Adding SO_TIMESTAMPNS / SCM_TIMESTAMPNS support
...
Now that network timestamps use ktime_t infrastructure, we can add a new
SOL_SOCKET sockopt SO_TIMESTAMPNS.
This command is similar to SO_TIMESTAMP, but permits transmission of
a 'timespec struct' instead of a 'timeval struct' control message.
(nanosecond resolution instead of microsecond)
Control message is labelled SCM_TIMESTAMPNS instead of SCM_TIMESTAMP
A socket cannot mix SO_TIMESTAMP and SO_TIMESTAMPNS : the two modes are
mutually exclusive.
sock_recv_timestamp() became too big to be fully inlined so I added a
__sock_recv_timestamp() helper function.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
CC: linux-arch@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-25 22:24:21 -07:00
..
2007-02-16 08:13:59 -08:00
2007-02-02 21:14:29 -05:00
2006-11-28 20:12:59 +01:00
2007-02-16 08:13:59 -08:00
2007-02-13 00:09:13 -05:00
2006-12-07 02:14:08 +01:00
2007-03-23 10:21:02 -07:00
2007-02-11 10:51:32 -08:00
2007-02-11 10:51:32 -08:00
2007-01-05 23:55:23 -08:00
2006-12-08 08:28:39 -08:00
2007-02-13 13:26:22 +01:00
2006-12-13 09:27:08 -08:00
2006-12-02 21:23:19 -08:00
2006-12-07 02:14:10 +01:00
2007-04-02 12:14:12 +02:00
2006-12-07 02:14:03 +01:00
2007-03-05 07:57:52 -08:00
2007-02-13 13:26:26 +01:00
2006-12-01 14:52:01 -08:00
2007-04-25 22:23:33 -07:00
2006-12-07 08:39:41 -08:00
2006-12-22 08:55:49 -08:00
2007-03-23 15:32:58 -07:00
2007-01-26 13:50:58 -08:00
2006-12-07 08:39:21 -08:00
2006-12-07 02:14:10 +01:00
2007-02-16 08:13:59 -08:00
2006-12-07 02:14:01 +01:00
2007-02-16 08:13:59 -08:00
2006-12-08 08:29:03 -08:00
2007-03-05 07:57:50 -08:00
2007-02-09 09:14:07 -08:00
2006-12-07 02:14:03 +01:00
2006-12-07 02:14:10 +01:00
2006-12-07 02:14:08 +01:00
2006-12-07 08:39:46 -08:00
2006-12-07 02:14:03 +01:00
2007-02-13 13:26:26 +01:00
2007-02-13 13:26:20 +01:00
2006-12-07 08:39:23 -08:00
2006-12-07 02:14:12 +01:00
2006-12-07 02:14:19 +01:00
2007-02-16 08:13:59 -08:00
2007-04-02 12:14:12 +02:00
2007-03-14 17:53:43 -07:00
2007-01-26 13:50:58 -08:00
2006-12-07 08:39:46 -08:00
2007-04-08 19:47:55 -07:00
2007-02-13 13:26:20 +01:00
2006-12-07 02:14:01 +01:00
2007-02-13 13:26:21 +01:00
2006-12-07 02:14:09 +01:00
2006-12-07 02:14:09 +01:00
2007-03-05 07:57:52 -08:00
2007-02-26 09:21:46 -08:00
2007-02-13 13:26:21 +01:00
2006-12-07 08:39:36 -08:00
2007-02-13 13:26:21 +01:00
2007-02-13 13:26:26 +01:00
2007-02-13 13:26:21 +01:00
2007-04-25 22:24:21 -07:00
2007-04-25 22:24:04 -07:00
2006-12-06 14:39:53 -08:00
2006-12-07 02:14:08 +01:00
2006-12-07 08:59:11 -08:00
2007-03-16 19:25:07 -07:00
2006-12-07 02:14:07 +01:00
2007-03-27 09:05:15 -07:00
2007-02-11 10:51:26 -08:00
2006-12-13 09:05:49 -08:00
2007-03-05 07:57:52 -08:00
2007-03-05 07:57:52 -08:00
2006-12-07 02:14:08 +01:00
2007-03-05 07:57:51 -08:00
2007-03-06 09:30:24 -08:00
2006-12-04 19:41:15 -08:00
2007-02-11 10:51:31 -08:00
2006-12-07 08:39:37 -08:00
2006-12-15 08:47:51 -08:00
2006-12-07 02:14:03 +01:00
2007-03-12 16:36:16 -07:00
2007-03-05 07:57:52 -08:00