From 653110eb091badf35af2c11ff18f5af25b4b77c0 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 17 May 2019 16:16:29 +0000 Subject: [PATCH] xlat: add SO_TIMESTAMP*_NEW constants * xlat/sock_options.in (SO_TIMESTAMP_NEW, SO_TIMESTAMPNS_NEW, SO_TIMESTAMPING_NEW): New constants introduced by Linux commits v5.1-rc1~178^2~363^2~4 and v5.1-rc1~178^2~363^2~3. * xlat/scmvals.in: Likewise. --- xlat/scmvals.in | 3 +++ xlat/sock_options.in | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/xlat/scmvals.in b/xlat/scmvals.in index ebd5e14f..c3b5539b 100644 --- a/xlat/scmvals.in +++ b/xlat/scmvals.in @@ -7,6 +7,9 @@ SO_TXTIME SO_TIMESTAMP_OLD SO_TIMESTAMPNS_OLD SO_TIMESTAMPING_OLD +SO_TIMESTAMP_NEW +SO_TIMESTAMPNS_NEW +SO_TIMESTAMPING_NEW /* Generated by maint/gen_xlat_defs.sh -f '#x' -p 'SCM_TIMESTAMPING_' -c 'asm-generic/socket.h' -a 'asm/socket.h' */ #if defined __sparc__ diff --git a/xlat/sock_options.in b/xlat/sock_options.in index 7504adf2..619356e3 100644 --- a/xlat/sock_options.in +++ b/xlat/sock_options.in @@ -453,3 +453,25 @@ SO_TXTIME 16438 #else SO_TXTIME 61 #endif + +#if defined __sparc__ +SO_TIMESTAMP_NEW 70 +#elif defined __hppa__ +SO_TIMESTAMP_NEW 16440 +#else +SO_TIMESTAMP_NEW 63 +#endif +#if defined __sparc__ +SO_TIMESTAMPNS_NEW 66 +#elif defined __hppa__ +SO_TIMESTAMPNS_NEW 16441 +#else +SO_TIMESTAMPNS_NEW 64 +#endif +#if defined __sparc__ +SO_TIMESTAMPING_NEW 67 +#elif defined __hppa__ +SO_TIMESTAMPING_NEW 16442 +#else +SO_TIMESTAMPING_NEW 65 +#endif -- 2.40.0