Browse Source

Fix #765

pull/773/head
Max Lv 8 years ago
parent
commit
cf819ebec5
1 changed files with 3 additions and 2 deletions
  1. 5
      src/netutils.h

5
src/netutils.h

@ -26,6 +26,8 @@
// only enable TCP_FASTOPEN on linux // only enable TCP_FASTOPEN on linux
#if defined(__linux__) #if defined(__linux__)
#include <linux/tcp.h>
/* conditional define for TCP_FASTOPEN */ /* conditional define for TCP_FASTOPEN */
#ifndef TCP_FASTOPEN #ifndef TCP_FASTOPEN
#define TCP_FASTOPEN 23 #define TCP_FASTOPEN 23
@ -44,10 +46,9 @@
#endif #endif
/* Define the flag MPTCP_ENABLED if not defined*/ /* Define the flag MPTCP_ENABLED if not defined*/
#ifndef MPTCP_ENABLED #ifndef MPTCP_ENABLED
#define MPTCP_ENABLED 26
#define MPTCP_ENABLED 42
#endif #endif
/** byte size of ip4 address */ /** byte size of ip4 address */

Loading…
Cancel
Save