define KernelPackage/ipt-offload
TITLE:=Netfilter routing/NAT offload support
- KCONFIG:=CONFIG_NETFILTER_XT_TARGET_FLOWOFFLOAD
+ KCONFIG:=$(KCONFIG_IPT_FLOW)
FILES:=$(foreach mod,$(IPT_FLOW-m),$(LINUX_DIR)/net/$(mod).ko)
AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_FLOW-m)))
$(call AddDepends/ipt,+kmod-nf-flow)
define KernelPackage/ipt-tproxy
TITLE:=Transparent proxying support
DEPENDS+=+kmod-ipt-conntrack +IPV6:kmod-nf-conntrack6 +IPV6:kmod-ip6tables
- KCONFIG:= \
- CONFIG_NF_SOCKET_IPV4 \
- CONFIG_NF_SOCKET_IPV6 \
- CONFIG_NETFILTER_XT_MATCH_SOCKET \
- CONFIG_NETFILTER_XT_TARGET_TPROXY
- FILES:= \
- $(foreach mod,$(IPT_TPROXY-m),$(LINUX_DIR)/net/$(mod).ko)
+ KCONFIG:=$(KCONFIG_IPT_TPROXY)
+ FILES:=$(foreach mod,$(IPT_TPROXY-m),$(LINUX_DIR)/net/$(mod).ko)
AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_TPROXY-m)))
$(call AddDepends/ipt)
endef
define KernelPackage/ipt-tee
TITLE:=TEE support
DEPENDS:=+kmod-ipt-conntrack
- KCONFIG:= \
- CONFIG_NETFILTER_XT_TARGET_TEE
- FILES:= \
- $(LINUX_DIR)/net/netfilter/xt_TEE.ko \
- $(foreach mod,$(IPT_TEE-m),$(LINUX_DIR)/net/$(mod).ko)
+ KCONFIG:=$(KCONFIG_IPT_TEE)
+ FILES:=$(foreach mod,$(IPT_TEE-m),$(LINUX_DIR)/net/$(mod).ko)
AUTOLOAD:=$(call AutoProbe,$(notdir nf_tee $(IPT_TEE-m)))
$(call AddDepends/ipt)
endef
define KernelPackage/ipt-u32
TITLE:=U32 support
- KCONFIG:= \
- CONFIG_NETFILTER_XT_MATCH_U32
- FILES:= \
- $(LINUX_DIR)/net/netfilter/xt_u32.ko \
- $(foreach mod,$(IPT_U32-m),$(LINUX_DIR)/net/$(mod).ko)
+ KCONFIG:=$(KCONFIG_IPT_U32)
+ FILES:=$(foreach mod,$(IPT_U32-m),$(LINUX_DIR)/net/$(mod).ko)
AUTOLOAD:=$(call AutoProbe,$(notdir nf_tee $(IPT_U32-m)))
$(call AddDepends/ipt)
endef
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)
+ KCONFIG:=$(KCONFIG_IPT_CHECKSUM)
+ FILES:=$(foreach mod,$(IPT_CHECKSUM-m),$(LINUX_DIR)/net/$(mod).ko)
AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_CHECKSUM-m)))
$(call AddDepends/ipt)
endef