History

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.

Deepa Dinamani committed 7 years ago

Commit 97184751 parent 887feae12 files · +88 −30Browse files

Showing the changes to include/uapi/linux/errqueue.h (1 of 12 files). Show all

Unified · Split

include/uapi/linux/errqueue.h+4−0
@@ -41,6 +41,10 @@ struct scm_timestamping { · 40 unmodified lines
41 struct timespec ts[3];41 struct timespec ts[3];
42};42};
43 43
44struct 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].