2
0
forked from Ivasoft/openwrt

netfilter, iptables: add optional CHECKSUM module

Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
This commit is contained in:
Denis Osvald
2017-10-22 22:21:23 +02:00
committed by John Crispin
parent f9ecb0d562
commit ee791fa4ab
3 changed files with 31 additions and 0 deletions

View File

@@ -529,6 +529,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