This commit is contained in:
Max Lv
2016-08-11 12:26:22 +08:00
parent 5614e46f78
commit cf819ebec5
+3 -2
View File
@@ -26,6 +26,8 @@
// only enable TCP_FASTOPEN on linux
#if defined(__linux__)
#include <linux/tcp.h>
/* conditional define for TCP_FASTOPEN */
#ifndef TCP_FASTOPEN
#define TCP_FASTOPEN 23
@@ -44,10 +46,9 @@
#endif
/* Define the flag MPTCP_ENABLED if not defined*/
#ifndef MPTCP_ENABLED
#define MPTCP_ENABLED 26
#define MPTCP_ENABLED 42
#endif
/** byte size of ip4 address */