diff sysoptions.h @ 1051:359fba4b1a49

merge tcp fastopen
author Matt Johnston <matt@ucc.asn.au>
date Sat, 28 Feb 2015 23:24:30 +0800
parents 01eea88963f3
children 2fa71c3b2827 2265d7ebfdeb
line wrap: on
line diff
--- a/sysoptions.h	Tue Feb 24 22:48:14 2015 +0800
+++ b/sysoptions.h	Sat Feb 28 23:24:30 2015 +0800
@@ -262,4 +262,9 @@
 /* Use this string since some implementations might special-case it */
 #define DROPBEAR_KEEPALIVE_STRING "[email protected]"
 
+/* 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 */