diff options
Diffstat (limited to 'tools/testing/selftests/net/tcp_fastopen_backup_key.c')
| -rw-r--r-- | tools/testing/selftests/net/tcp_fastopen_backup_key.c | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/tools/testing/selftests/net/tcp_fastopen_backup_key.c b/tools/testing/selftests/net/tcp_fastopen_backup_key.c index 9c55ec44fc43..c1cb0c75156a 100644 --- a/tools/testing/selftests/net/tcp_fastopen_backup_key.c +++ b/tools/testing/selftests/net/tcp_fastopen_backup_key.c @@ -26,6 +26,8 @@  #include <fcntl.h>  #include <time.h> +#include "../kselftest.h" +  #ifndef TCP_FASTOPEN_KEY  #define TCP_FASTOPEN_KEY 33  #endif @@ -34,10 +36,6 @@  #define PROC_FASTOPEN_KEY "/proc/sys/net/ipv4/tcp_fastopen_key"  #define KEY_LENGTH 16 -#ifndef ARRAY_SIZE -#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) -#endif -  static bool do_ipv6;  static bool do_sockopt;  static bool do_rotate; | 
