]> granicus.if.org Git - strace/commitdiff
Update SCM_* constants
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 16 Jul 2017 22:21:34 +0000 (22:21 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 16 Jul 2017 22:21:34 +0000 (22:21 +0000)
* xlat/scmvals.in: Add SCM_TIMESTAMPING_PKTINFO introduced
by linux kernel commit v4.13-rc1~157^2~405^2~3.

xlat/scmvals.in

index 699068f852774fd4a290e880e7059dd82ef3d21f..ae9999c17d42ba4c66984214c23d1ea11993a212 100644 (file)
@@ -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