summaryrefslogtreecommitdiff
path: root/package/iptables/patches/patch-extensions_libxt_TCPOPTSTRIP_c
blob: c9e728b850be1c21b30bba39c4317b562abb8684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- iptables-1.4.20.orig/extensions/libxt_TCPOPTSTRIP.c	2013-08-06 17:48:43.000000000 +0200
+++ iptables-1.4.20/extensions/libxt_TCPOPTSTRIP.c	2013-08-15 17:02:18.802154795 +0200
@@ -12,6 +12,21 @@
 #ifndef TCPOPT_MD5SIG
 #	define TCPOPT_MD5SIG 19
 #endif
+#ifndef TCPOPT_MAXSEG
+# define TCPOPT_MAXSEG 2
+#endif
+#ifndef TCPOPT_WINDOW
+# define TCPOPT_WINDOW 3
+#endif
+#ifndef TCPOPT_SACK_PERMITTED
+# define TCPOPT_SACK_PERMITTED 4
+#endif
+#ifndef TCPOPT_SACK
+# define TCPOPT_SACK 5
+#endif
+#ifndef TCPOPT_TIMESTAMP
+# define TCPOPT_TIMESTAMP 8
+#endif
 
 enum {
 	O_STRIP_OPTION = 0,