summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-01-31 16:09:25 +0000
committerNicolas Thill <nico@openwrt.org>2009-01-31 16:09:25 +0000
commit6360bd2798a9e88449a4551e35fce801189e9940 (patch)
treea6d51387906368dc6d442498b07ad77db4798199 /package
parentf19d25ebb31f101e7dd7ce5068e4b1062b21d61b (diff)
downloadmtk-20170518-6360bd2798a9e88449a4551e35fce801189e9940.zip
mtk-20170518-6360bd2798a9e88449a4551e35fce801189e9940.tar.gz
mtk-20170518-6360bd2798a9e88449a4551e35fce801189e9940.tar.bz2
kernel: add modules for nfnetlink based packet logging & queuing and conntracking
SVN-Revision: 14308
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/netfilter.mk65
1 files changed, 65 insertions, 0 deletions
diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk
index f109b94..0d86adf 100644
--- a/package/kernel/modules/netfilter.mk
+++ b/package/kernel/modules/netfilter.mk
@@ -399,3 +399,68 @@ define KernelPackage/ebtables/description
endef
$(eval $(call KernelPackage,ebtables))
+
+
+define KernelPackage/nfnetlink
+ SUBMENU:=$(NF_MENU)
+ TITLE:=Netlink-based userspace interface
+ DEPENDS:=@LINUX_2_6 +kmod-ipt-core
+ FILES:=$(LINUX_DIR)/net/netfilter/nfnetlink.$(LINUX_KMOD_SUFFIX)
+ KCONFIG:=CONFIG_NETFILTER_NETLINK
+ AUTOLOAD:=$(call AutoLoad,48,nfnetlink)
+endef
+
+define KernelPackage/nfnetlink/description
+ Kernel modules support for a netlink-based userspace interface
+endef
+
+$(eval $(call KernelPackage,nfnetlink))
+
+
+define KernelPackage/nfnetlink-log
+ SUBMENU:=$(NF_MENU)
+ TITLE:=Netfilter LOG over NFNETLINK interface
+ DEPENDS:=@LINUX_2_6 +kmod-nfnetlink
+ FILES:=$(LINUX_DIR)/net/netfilter/nfnetlink_log.$(LINUX_KMOD_SUFFIX)
+ KCONFIG:=CONFIG_NETFILTER_NETLINK_LOG
+ AUTOLOAD:=$(call AutoLoad,48,nfnetlink_log)
+endef
+
+define KernelPackage/nfnetlink-log/description
+ Kernel modules support for logging packets via NFNETLINK
+endef
+
+$(eval $(call KernelPackage,nfnetlink-log))
+
+
+define KernelPackage/nfnetlink-queue
+ SUBMENU:=$(NF_MENU)
+ TITLE:=Netfilter QUEUE over NFNETLINK interface
+ DEPENDS:=@LINUX_2_6 +kmod-nfnetlink
+ FILES:=$(LINUX_DIR)/net/netfilter/nfnetlink_queue.$(LINUX_KMOD_SUFFIX)
+ KCONFIG:=CONFIG_NETFILTER_NETLINK_QUEUE
+ AUTOLOAD:=$(call AutoLoad,48,nfnetlink_queue)
+endef
+
+define KernelPackage/nfnetlink-queue/description
+ Kernel modules support for queueing packets via NFNETLINK
+endef
+
+$(eval $(call KernelPackage,nfnetlink-queue))
+
+
+define KernelPackage/nf-conntrack-netlink
+ SUBMENU:=$(NF_MENU)
+ TITLE:=Connection tracking netlink interface
+ DEPENDS:=@LINUX_2_6 +kmod-nfnetlink +kmod-ipt-conntrack
+ FILES:=$(LINUX_DIR)/net/netfilter/nf_conntrack_netlink.$(LINUX_KMOD_SUFFIX)
+ KCONFIG:=CONFIG_NF_CT_NETLINK
+ AUTOLOAD:=$(call AutoLoad,49,nf_conntrack_netlink)
+endef
+
+define KernelPackage/nf-conntrack-netlink/description
+ Kernel modules support for a netlink-based connection tracking
+ userspace interface
+endef
+
+$(eval $(call KernelPackage,nf-conntrack-netlink))