diff options
| author | Deepa Dinamani <deepa.kernel@gmail.com> | 2019-02-02 10:34:51 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-02-03 14:17:31 -0500 |
| commit | 9718475e69084de15c3930ce35672a7dc6da866b (patch) | |
| tree | 38aa5063b7d5063df9bb77535487fd109553eb4f /include/uapi/linux | |
| parent | 887feae36aee6c08e0dafcdaa5ba921abbb2c56b (diff) | |
socket: Add SO_TIMESTAMPING_NEW
Add SO_TIMESTAMPING_NEW variant of socket timestamp options.
This is the y2038 safe versions of the SO_TIMESTAMPING_OLD
for all architectures.
Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Cc: chris@zankel.net
Cc: fenghua.yu@intel.com
Cc: rth@twiddle.net
Cc: tglx@linutronix.de
Cc: ubraun@linux.ibm.com
Cc: linux-alpha@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Cc: linux-ia64@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-s390@vger.kernel.org
Cc: linux-xtensa@linux-xtensa.org
Cc: sparclinux@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/errqueue.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/errqueue.h b/include/uapi/linux/errqueue.h index c0151200f7d1..d955b9e32288 100644 --- a/include/uapi/linux/errqueue.h +++ b/include/uapi/linux/errqueue.h | |||
| @@ -41,6 +41,10 @@ struct scm_timestamping { | |||
| 41 | struct timespec ts[3]; | 41 | struct timespec ts[3]; |
| 42 | }; | 42 | }; |
| 43 | 43 | ||
| 44 | struct scm_timestamping64 { | ||
| 45 | struct __kernel_timespec ts[3]; | ||
| 46 | }; | ||
| 47 | |||
| 44 | /* The type of scm_timestamping, passed in sock_extended_err ee_info. | 48 | /* The type of scm_timestamping, passed in sock_extended_err ee_info. |
| 45 | * This defines the type of ts[0]. For SCM_TSTAMP_SND only, if ts[0] | 49 | * This defines the type of ts[0]. For SCM_TSTAMP_SND only, if ts[0] |
| 46 | * is zero, then this is a hardware timestamp and recorded in ts[2]. | 50 | * is zero, then this is a hardware timestamp and recorded in ts[2]. |
