aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorDenis Osvald <denis.osvald@sartura.hr>2016-08-30 16:26:18 +0200
committerDenis Osvald <denis.osvald@sartura.hr>2016-10-07 15:22:18 +0200
commitc2d29a51e51559c277698bc34cf98bd70941ec34 (patch)
tree3e2746bf619ef2a63116eca3332e8139fa4d09be /package/kernel/linux
parent523c36dc04e4fd9558f58bcfb984f9159df7d9c4 (diff)
downloadmaster-187ad058-c2d29a51e51559c277698bc34cf98bd70941ec34.tar.gz
master-187ad058-c2d29a51e51559c277698bc34cf98bd70941ec34.tar.bz2
master-187ad058-c2d29a51e51559c277698bc34cf98bd70941ec34.zip
netfilter,iptables: add optional CHECKSUM module
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/netfilter.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk
index 353de3e45b..55c6df514f 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -508,6 +508,23 @@ endef
$(eval $(call KernelPackage,ipt-u32))
+define KernelPackage/ipt-checksum
+ TITLE:=CHECKSUM support
+ KCONFIG:= \
+ CONFIG_NETFILTER_XT_TARGET_CHECKSUM
+ FILES:= \
+ $(LINUX_DIR)/net/netfilter/xt_CHECKSUM.ko \
+ $(foreach mod,$(IPT_CHECKSUM-m),$(LINUX_DIR)/net/$(mod).ko)
+ AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_CHECKSUM-m)))
+ $(call AddDepends/ipt)
+endef
+
+define KernelPackage/ipt-checksum/description
+ Kernel modules for CHECKSUM fillin target
+endef
+
+$(eval $(call KernelPackage,ipt-checksum))
+
define KernelPackage/ipt-iprange
TITLE:=Module for matching ip ranges