From c2d29a51e51559c277698bc34cf98bd70941ec34 Mon Sep 17 00:00:00 2001 From: Denis Osvald Date: Tue, 30 Aug 2016 16:26:18 +0200 Subject: netfilter,iptables: add optional CHECKSUM module Signed-off-by: Denis Osvald --- package/kernel/linux/modules/netfilter.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'package/kernel') 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 -- cgit v1.2.3