summaryrefslogtreecommitdiff
path: root/sysoptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysoptions.h')
-rw-r--r--sysoptions.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysoptions.h b/sysoptions.h
index bec7246..092eb7e 100644
--- a/sysoptions.h
+++ b/sysoptions.h
@@ -259,4 +259,9 @@
/* Use this string since some implementations might special-case it */
#define DROPBEAR_KEEPALIVE_STRING "keepalive@openssh.com"
+/* Linux will attempt TCP fast open, falling back if not supported by the kernel */
+#ifdef __linux__
+#define DROPBEAR_TCP_FAST_OPEN 1
+#endif
+
/* no include guard for this file */