define KernelPackage/ipt-core
SUBMENU:=$(NF_MENU)
TITLE:=Netfilter core
- KCONFIG:=$(KCONFIG_IPT_CORE)
+ KCONFIG:= \
+ CONFIG_NETFILTER=y \
+ CONFIG_NETFILTER_ADVANCED=y \
+ $(KCONFIG_IPT_CORE)
FILES:=$(foreach mod,$(IPT_CORE-m),$(LINUX_DIR)/net/$(mod).ko)
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_CORE-m)))
endef
$(eval $(call KernelPackage,ipt-nathelper-extra))
-define KernelPackage/ipt-imq
- TITLE:=Intermediate Queueing support
- KCONFIG:= \
- CONFIG_IMQ \
- CONFIG_IMQ_BEHAVIOR_BA=y \
- CONFIG_IMQ_NUM_DEVS=2 \
- CONFIG_NETFILTER_XT_TARGET_IMQ
- FILES:= \
- $(LINUX_DIR)/drivers/net/imq.ko \
- $(foreach mod,$(IPT_IMQ-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,46,$(notdir \
- imq \
- $(IPT_IMQ-m) \
- ))
- $(call AddDepends/ipt)
-endef
-
-define KernelPackage/ipt-imq/description
- Kernel support for Intermediate Queueing devices
-endef
-
-$(eval $(call KernelPackage,ipt-imq))
-
-
define KernelPackage/ipt-queue
TITLE:=Module for user-space packet queueing
KCONFIG:=$(KCONFIG_IPT_QUEUE)
$(eval $(call KernelPackage,nf-conntrack-netlink))
define KernelPackage/ipt-hashlimit
-$(call KernelPackage/ipt/Depends,)
+ SUBMENU:=$(NF_MENU)
TITLE:=Netfilter hashlimit match
- FILES:=$(LINUX_DIR)/net/netfilter/xt_hashlimit.$(LINUX_KMOD_SUFFIX)
KCONFIG:=$(KCONFIG_IPT_HASHLIMIT)
+ FILES:=$(LINUX_DIR)/net/netfilter/xt_hashlimit.ko
AUTOLOAD:=$(call AutoLoad,50,xt_hashlimit)
+ $(call KernelPackage/ipt)
endef
define KernelPackage/ipt-hashlimit/description