diff options
author | Denis Osvald <denis.osvald@sartura.hr> | 2017-10-22 22:21:23 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-11-06 16:39:41 +0100 |
commit | ee791fa4ab66bb77fec0f2e323fe4c8637808a5b (patch) | |
tree | 5ddc7c258cdf5ce73c30b5adfd06e9cce9ce816a /package/kernel | |
parent | f9ecb0d562bd1dab9dadb150f6a6c146b948fc5c (diff) | |
download | upstream-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/kernel')
-rw-r--r-- | package/kernel/linux/modules/netfilter.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk index 0ad6987aa6..0d817ed7f4 100644 --- a/package/kernel/linux/modules/netfilter.mk +++ b/package/kernel/linux/modules/netfilter.mk @@ -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 |