netfilter: rename nf_SYNPROXY.h to nf_synproxy.h
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 21 Jun 2019 15:37:48 +0000 (17:37 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 4 Jul 2019 00:29:47 +0000 (02:29 +0200)
Uppercase is a reminiscence from the iptables infrastructure, rename
this header before this is included in stable kernels.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/uapi/linux/netfilter/nf_SYNPROXY.h [deleted file]
include/uapi/linux/netfilter/nf_synproxy.h [new file with mode: 0644]
include/uapi/linux/netfilter/xt_SYNPROXY.h
net/netfilter/nf_synproxy_core.c

diff --git a/include/uapi/linux/netfilter/nf_SYNPROXY.h b/include/uapi/linux/netfilter/nf_SYNPROXY.h
deleted file mode 100644 (file)
index 068d1b3..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _NF_SYNPROXY_H
-#define _NF_SYNPROXY_H
-
-#include <linux/types.h>
-
-#define NF_SYNPROXY_OPT_MSS            0x01
-#define NF_SYNPROXY_OPT_WSCALE         0x02
-#define NF_SYNPROXY_OPT_SACK_PERM      0x04
-#define NF_SYNPROXY_OPT_TIMESTAMP      0x08
-#define NF_SYNPROXY_OPT_ECN            0x10
-
-struct nf_synproxy_info {
-       __u8    options;
-       __u8    wscale;
-       __u16   mss;
-};
-
-#endif /* _NF_SYNPROXY_H */
diff --git a/include/uapi/linux/netfilter/nf_synproxy.h b/include/uapi/linux/netfilter/nf_synproxy.h
new file mode 100644 (file)
index 0000000..068d1b3
--- /dev/null
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _NF_SYNPROXY_H
+#define _NF_SYNPROXY_H
+
+#include <linux/types.h>
+
+#define NF_SYNPROXY_OPT_MSS            0x01
+#define NF_SYNPROXY_OPT_WSCALE         0x02
+#define NF_SYNPROXY_OPT_SACK_PERM      0x04
+#define NF_SYNPROXY_OPT_TIMESTAMP      0x08
+#define NF_SYNPROXY_OPT_ECN            0x10
+
+struct nf_synproxy_info {
+       __u8    options;
+       __u8    wscale;
+       __u16   mss;
+};
+
+#endif /* _NF_SYNPROXY_H */
index 4d5611d647dfec6f7875856736f88bdbd04cb5cf..19c04ed86172874ae36d74f0ebbaa69206db3939 100644 (file)
@@ -2,7 +2,7 @@
 #ifndef _XT_SYNPROXY_H
 #define _XT_SYNPROXY_H
 
-#include <linux/netfilter/nf_SYNPROXY.h>
+#include <linux/netfilter/nf_synproxy.h>
 
 #define XT_SYNPROXY_OPT_MSS            NF_SYNPROXY_OPT_MSS
 #define XT_SYNPROXY_OPT_WSCALE         NF_SYNPROXY_OPT_WSCALE
index 409722d233023e2420b830fc5abfa1ba9702edc2..b101f187eda8a3825437b4f383366eb460fe1841 100644 (file)
@@ -11,7 +11,7 @@
 #include <linux/proc_fs.h>
 
 #include <linux/netfilter_ipv6.h>
-#include <linux/netfilter/nf_SYNPROXY.h>
+#include <linux/netfilter/nf_synproxy.h>
 
 #include <net/netfilter/nf_conntrack.h>
 #include <net/netfilter/nf_conntrack_ecache.h>