mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-02 04:12:29 +00:00
netfilter: add kmod-nft-socket
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
4f443c885d
commit
0225df1ec8
@ -351,6 +351,8 @@ $(eval $(if $(NF_KMOD),$(call nf_add,NFT_FIB,CONFIG_NFT_FIB_IPV6, $(P_V6)nft_fib
|
||||
|
||||
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_QUEUE,CONFIG_NFT_QUEUE, $(P_XT)nft_queue),))
|
||||
|
||||
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_SOCKET,CONFIG_NFT_SOCKET, $(P_XT)nft_socket),))
|
||||
|
||||
$(eval $(if $(NF_KMOD),$(call nf_add,NFT_COMPAT,CONFIG_NFT_COMPAT, $(P_XT)nft_compat),))
|
||||
|
||||
# userland only
|
||||
|
@ -1217,6 +1217,17 @@ endef
|
||||
|
||||
$(eval $(call KernelPackage,nft-queue))
|
||||
|
||||
define KernelPackage/nft-socket
|
||||
SUBMENU:=$(NF_MENU)
|
||||
TITLE:=Netfilter nf_tables socket support
|
||||
DEPENDS:=+kmod-nft-core +kmod-nf-socket
|
||||
FILES:=$(foreach mod,$(NFT_SOCKET-m),$(LINUX_DIR)/net/$(mod).ko)
|
||||
AUTOLOAD:=$(call AutoProbe,$(notdir $(NFT_SOCKET-m)))
|
||||
KCONFIG:=$(KCONFIG_NFT_SOCKET)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,nft-socket))
|
||||
|
||||
define KernelPackage/nft-compat
|
||||
SUBMENU:=$(NF_MENU)
|
||||
TITLE:=Netfilter nf_tables compat support
|
||||
|
Loading…
Reference in New Issue
Block a user