summaryrefslogtreecommitdiff
path: root/package/kernel/modules
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-04-03 18:30:37 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-04-03 18:30:37 +0000
commit5959cd2850c14842680c8b6cfbaf816c9ce48700 (patch)
treefadd770b7321117db7d35e89e5a44d34a936df9b /package/kernel/modules
parentaa550f9307fdd717c9dcc25a4a0f9d8da3e3f193 (diff)
downloadmtk-20170518-5959cd2850c14842680c8b6cfbaf816c9ce48700.zip
mtk-20170518-5959cd2850c14842680c8b6cfbaf816c9ce48700.tar.gz
mtk-20170518-5959cd2850c14842680c8b6cfbaf816c9ce48700.tar.bz2
add kmod-ipt-led
Netfilter LED target triggers blinkenlichten when a network packet hits a rule. LED target requires iptables 1.4.9 or higher Signed-off-by: Ɓukasz Stelmach <stlman@poczta.fm> SVN-Revision: 26451
Diffstat (limited to 'package/kernel/modules')
-rw-r--r--package/kernel/modules/netfilter.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk
index 2393d70..e44d067 100644
--- a/package/kernel/modules/netfilter.mk
+++ b/package/kernel/modules/netfilter.mk
@@ -262,6 +262,20 @@ endef
$(eval $(call KernelPackage,ipt-ulog))
+define KernelPackage/ipt-led
+ TITLE:=Module to trigger a LED with a Netfilter rule
+ KCONFIG:=$(KCONFIG_IPT_LED)
+ FILES:=$(foreach mod,$(IPT_LED-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
+ AUTOLOAD:=$(call AutoLoad,61,$(notdir $(IPT_LED-m)))
+ $(call AddDepends/ipt)
+endef
+
+define KernelPackage/ipt-led/description
+ Netfilter target to trigger a LED when a network packet is matched.
+endef
+
+$(eval $(call KernelPackage,ipt-led))
+
define KernelPackage/ipt-tproxy
TITLE:=Transparent proxying support
KCONFIG:= \