Browse Source

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.
Dmitry V. Levin 9 months ago
parent
commit
653110eb09
2 changed files with 25 additions and 0 deletions
  1. 3
    0
      xlat/scmvals.in
  2. 22
    0
      xlat/sock_options.in

+ 3
- 0
xlat/scmvals.in View File

@@ -7,6 +7,9 @@ SO_TXTIME
7 7
 SO_TIMESTAMP_OLD
8 8
 SO_TIMESTAMPNS_OLD
9 9
 SO_TIMESTAMPING_OLD
10
+SO_TIMESTAMP_NEW
11
+SO_TIMESTAMPNS_NEW
12
+SO_TIMESTAMPING_NEW
10 13
 
11 14
 /* Generated by maint/gen_xlat_defs.sh -f '#x' -p 'SCM_TIMESTAMPING_' -c 'asm-generic/socket.h' -a 'asm/socket.h' */
12 15
 #if defined __sparc__

+ 22
- 0
xlat/sock_options.in View File

@@ -453,3 +453,25 @@ SO_TXTIME	16438
453 453
 #else
454 454
 SO_TXTIME	61
455 455
 #endif
456
+
457
+#if defined __sparc__
458
+SO_TIMESTAMP_NEW	70
459
+#elif defined __hppa__
460
+SO_TIMESTAMP_NEW	16440
461
+#else
462
+SO_TIMESTAMP_NEW	63
463
+#endif
464
+#if defined __sparc__
465
+SO_TIMESTAMPNS_NEW	66
466
+#elif defined __hppa__
467
+SO_TIMESTAMPNS_NEW	16441
468
+#else
469
+SO_TIMESTAMPNS_NEW	64
470
+#endif
471
+#if defined __sparc__
472
+SO_TIMESTAMPING_NEW	67
473
+#elif defined __hppa__
474
+SO_TIMESTAMPING_NEW	16442
475
+#else
476
+SO_TIMESTAMPING_NEW	65
477
+#endif

Loading…
Cancel
Save