summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-02-28 12:04:58 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-02-28 12:04:58 +0000
commit780712e30e3c192cb17891a6e317d1103fd9e808 (patch)
tree22c8047187be3ec0ac555445879a8169cdfd1751
parentfd0969ba6123ac81ae48929bb62174d8cb29f3aa (diff)
downloadmtk-20170518-780712e30e3c192cb17891a6e317d1103fd9e808.zip
mtk-20170518-780712e30e3c192cb17891a6e317d1103fd9e808.tar.gz
mtk-20170518-780712e30e3c192cb17891a6e317d1103fd9e808.tar.bz2
Add ipt_CLASSIFY target for 2.4 kernels (#1338)
SVN-Revision: 6424
-rw-r--r--include/netfilter.mk2
-rw-r--r--package/iptables/Makefile1
-rw-r--r--package/kernel/modules/netfilter.mk1
-rw-r--r--target/linux/generic-2.4/config-template1
4 files changed, 5 insertions, 0 deletions
diff --git a/include/netfilter.mk b/include/netfilter.mk
index 64372b5..58a81ee 100644
--- a/include/netfilter.mk
+++ b/include/netfilter.mk
@@ -54,6 +54,8 @@ IPT_IMQ-m :=
IPT_IMQ-$(CONFIG_IP_NF_TARGET_IMQ) += $(P_V4)ipt_IMQ
IPT_IPOPT-m :=
+IPT_IPOPT-$(CONFIG_IP_NF_TARGET_CLASSIFY) += $(P_V4)ipt_CLASSIFY
+IPT_IPOPT-$(CONFIG_NETFILTER_XT_TARGET_CLASSIFY) += $(P_XT)xt_CLASSIFY
IPT_IPOPT-$(CONFIG_IP_NF_MATCH_DSCP) += $(P_V4)ipt_dscp
IPT_IPOPT-$(CONFIG_IP_NF_TARGET_DSCP) += $(P_V4)ipt_DSCP
IPT_IPOPT-$(CONFIG_IP_NF_MATCH_ECN) += $(P_V4)ipt_ecn
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 6e486df..1b6bfc0 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -91,6 +91,7 @@ define Package/iptables-mod-ipopt
iptables extensions for matching/changing IP packet options.\\\
\\\
Includes: \\\
+ - libipt_CLASSIFY \\\
- libipt_dscp/DSCP \\\
- libipt_ecn/ECN \\\
- libipt_length \\\
diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk
index 5f7efe6..be05dc0 100644
--- a/package/kernel/modules/netfilter.mk
+++ b/package/kernel/modules/netfilter.mk
@@ -43,6 +43,7 @@ define KernelPackage/ipt-ipopt
Netfilter (IPv4) modules for matching/changing IP packet options \\\
\\\
Includes: \\\
+ - ipt_CLASSIFY \\\
- ipt_dscp/DSCP \\\
- ipt_ecn/ECN \\\
- ipt_length \\\
diff --git a/target/linux/generic-2.4/config-template b/target/linux/generic-2.4/config-template
index c5fa8b5..1553111 100644
--- a/target/linux/generic-2.4/config-template
+++ b/target/linux/generic-2.4/config-template
@@ -278,6 +278,7 @@ CONFIG_IP_NF_SET_PORTMAP=m
CONFIG_IP_NF_TARGET_CONNMARK=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_ECN=m
+CONFIG_IP_NF_TARGET_CLASSIFY=m
CONFIG_IP_NF_TARGET_IMQ=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_MARK=y