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
..
2006-12-04 20:38:40 +11:00
2007-02-16 14:00:20 +11:00
2006-12-11 12:29:27 -08:00
2007-01-09 17:03:02 +11:00
2006-12-13 09:27:08 -08:00
2007-02-13 22:03:06 +01:00
2006-12-02 21:23:20 -08:00
2007-02-07 14:03:19 +11:00
2006-11-01 14:52:48 +11:00
2006-12-04 20:39:30 +11:00
2006-12-04 16:08:25 +11:00
2007-02-16 14:00:19 +11:00
2007-02-07 14:03:23 +11:00
2006-12-04 20:38:40 +11:00
2007-01-30 08:39:21 -08:00
2006-12-04 20:39:05 +11:00
2007-01-24 21:13:56 +11:00
2007-02-08 15:02:35 +11:00
2007-03-14 15:27:50 -07:00
2007-02-07 14:03:20 +11:00
2006-12-07 08:39:21 -08:00
2007-03-22 15:01:43 +11:00
2006-12-08 17:10:18 +11:00
2006-12-04 20:38:40 +11:00
2006-12-04 20:39:05 +11:00
2007-03-29 14:33:56 -05:00
2006-12-04 20:39:05 +11:00
2007-02-07 14:03:20 +11:00
2007-02-07 14:03:22 +11:00
2007-01-26 01:45:32 -06:00
2007-01-24 21:13:59 +11:00
2007-02-12 09:48:44 -08:00
2007-02-06 22:55:19 -06:00
2007-01-26 17:27:40 -05:00
2006-12-04 20:40:44 +11:00
2006-12-04 20:39:05 +11:00
2007-02-07 14:03:21 +11:00
2006-12-11 16:35:07 +11:00
2007-02-07 14:03:17 +11:00
2007-02-08 15:29:22 +11:00
2006-11-13 14:49:25 +11:00
2007-02-07 14:03:20 +11:00
2007-02-07 14:03:19 +11:00
2006-12-04 20:38:40 +11:00
2006-12-04 16:08:52 +11:00
2007-02-07 14:03:19 +11:00
2006-12-08 08:28:51 -08:00
2007-01-24 21:13:59 +11:00
2006-12-08 17:10:18 +11:00
2006-12-07 08:39:25 -08:00
2007-02-16 14:00:19 +11:00
2007-01-11 18:18:22 -08:00
2006-12-04 20:38:49 +11:00
2006-11-13 14:44:58 +11:00
2007-02-17 10:21:25 +11:00
2007-02-16 14:00:19 +11:00
2007-02-12 09:48:44 -08:00
2007-02-12 09:48:44 -08:00
2007-02-07 14:03:22 +11:00
2006-12-08 17:10:22 +11:00
2006-12-07 08:39:46 -08:00
2007-02-07 14:03:21 +11:00
2007-04-25 22:24:21 -07:00
2007-04-25 22:24:04 -07:00
2006-12-04 20:40:52 +11:00
2007-03-10 00:07:50 +01:00
2006-12-04 20:39:45 +11:00
2007-02-07 14:03:21 +11:00
2007-03-10 00:07:50 +01:00
2007-02-06 22:55:19 -06:00
2007-04-17 16:36:26 -07:00
2006-11-01 14:52:48 +11:00
2006-12-08 08:28:57 -08:00
2007-02-11 10:51:26 -08:00
2006-12-13 09:05:49 -08:00
2007-02-07 14:03:17 +11:00
2007-03-05 07:57:51 -08:00
2006-12-04 20:41:26 +11:00
2006-12-04 19:41:15 -08:00
2006-12-04 20:41:26 +11:00
2007-02-17 16:12:54 -06:00
2007-02-14 11:55:16 +11:00
2007-03-12 15:48:35 +11:00
2007-02-13 15:35:52 +11:00
2006-12-04 20:38:40 +11:00