aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils
diff options
context:
space:
mode:
authorDenis Osvald <denis.osvald@sartura.hr>2017-10-22 22:21:23 +0200
committerJohn Crispin <john@phrozen.org>2017-11-06 16:39:41 +0100
commitee791fa4ab66bb77fec0f2e323fe4c8637808a5b (patch)
tree5ddc7c258cdf5ce73c30b5adfd06e9cce9ce816a /package/network/utils
parentf9ecb0d562bd1dab9dadb150f6a6c146b948fc5c (diff)
downloadupstream-ee791fa4ab66bb77fec0f2e323fe4c8637808a5b.tar.gz
upstream-ee791fa4ab66bb77fec0f2e323fe4c8637808a5b.tar.bz2
upstream-ee791fa4ab66bb77fec0f2e323fe4c8637808a5b.zip
netfilter, iptables: add optional CHECKSUM module
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
Diffstat (limited to 'package/network/utils')
-rw-r--r--package/network/utils/iptables/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/network/utils/iptables/Makefile b/package/network/utils/iptables/Makefile
index 133d98c16b..43b5220f2d 100644
--- a/package/network/utils/iptables/Makefile
+++ b/package/network/utils/iptables/Makefile
@@ -395,6 +395,15 @@ U32 iptables extensions.
endef
+define Package/iptables-mod-checksum
+$(call Package/iptables/Module, +kmod-ipt-checksum)
+ TITLE:=IP CHECKSUM target extension
+endef
+
+define Package/iptables-mod-checksum/description
+iptables extension for the CHECKSUM calculation target
+endef
+
define Package/ip6tables
$(call Package/iptables/Default)
DEPENDS:=@IPV6 +kmod-ip6tables +iptables
@@ -600,6 +609,7 @@ $(eval $(call BuildPlugin,iptables-mod-u32,$(IPT_U32-m)))
$(eval $(call BuildPlugin,iptables-mod-nflog,$(IPT_NFLOG-m)))
$(eval $(call BuildPlugin,iptables-mod-trace,$(IPT_DEBUG-m)))
$(eval $(call BuildPlugin,iptables-mod-nfqueue,$(IPT_NFQUEUE-m)))
+$(eval $(call BuildPlugin,iptables-mod-checksum,$(IPT_CHECKSUM-m)))
$(eval $(call BuildPackage,ip6tables))
$(eval $(call BuildPlugin,ip6tables-extra,$(IPT_IPV6_EXTRA-m)))
$(eval $(call BuildPlugin,ip6tables-mod-nat,$(IPT_NAT6-m)))