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