History

selftests: txtimestamp: add SCM_TS_OPT_ID test

Extend txtimestamp test to run with fixed tskey using SCM_TS_OPT_ID control message for all types of sockets.

Vadim Fedorenko committed 2 years ago

Commit a89568e1 parent 822b5bc3 files · +43 −15Browse files

Showing the changes to tools/include/uapi (1 of 3 files). Show all

Unified · Split

tools/include/uapi/asm-generic/socket.h+2−0
@@ -124,6 +124,8 @@ · 123 unmodified lines
124#define SO_PASSPIDFD 76124#define SO_PASSPIDFD 76
125#define SO_PEERPIDFD 77125#define SO_PEERPIDFD 77
126 126
127#define SCM_TS_OPT_ID 78
128
127#if !defined(__KERNEL__)129#if !defined(__KERNEL__)
128 130
129#if __BITS_PER_LONG == 64 || (defined(__x86_64__) && defined(__ILP32__))131#if __BITS_PER_LONG == 64 || (defined(__x86_64__) && defined(__ILP32__))