From: Dmitry V. Levin Date: Sun, 16 Jul 2017 22:21:34 +0000 (+0000) Subject: Update SCM_* constants X-Git-Tag: v4.19~258 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99da3633bd088a8e60bd0107e47dfc9a913dce3e;p=strace Update SCM_* constants * xlat/scmvals.in: Add SCM_TIMESTAMPING_PKTINFO introduced by linux kernel commit v4.13-rc1~157^2~405^2~3. --- diff --git a/xlat/scmvals.in b/xlat/scmvals.in index 699068f8..ae9999c1 100644 --- a/xlat/scmvals.in +++ b/xlat/scmvals.in @@ -56,3 +56,14 @@ SCM_WIFI_STATUS # endif #endif SCM_TIMESTAMPING_OPT_STATS + +#ifndef SCM_TIMESTAMPING_PKTINFO +# if defined HPPA +# define SCM_TIMESTAMPING_PKTINFO 0x4033 +# elif defined SPARC || defined SPARC64 +# define SCM_TIMESTAMPING_PKTINFO 0x003c +# else +# define SCM_TIMESTAMPING_PKTINFO 58 +# endif +#endif +SCM_TIMESTAMPING_PKTINFO