mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
include: add netdev family support for nftables
Signed-off-by: Rosy Song <rosysong@rosinson.com>
(backported from b4d4e4ceb5
)
This commit is contained in:
parent
08e73c9526
commit
7939cd49c1
@ -1052,3 +1052,23 @@ define KernelPackage/nft-nat6
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,nft-nat6))
|
$(eval $(call KernelPackage,nft-nat6))
|
||||||
|
|
||||||
|
define KernelPackage/nft-netdev
|
||||||
|
SUBMENU:=$(NF_MENU)
|
||||||
|
TITLE:=Netfilter nf_tables netdev support
|
||||||
|
DEPENDS:=+kmod-nft-core
|
||||||
|
KCONFIG:= \
|
||||||
|
CONFIG_NETFILTER_INGRESS=y \
|
||||||
|
CONFIG_NF_TABLES_NETDEV \
|
||||||
|
CONFIG_NF_DUP_NETDEV \
|
||||||
|
CONFIG_NFT_DUP_NETDEV \
|
||||||
|
CONFIG_NFT_FWD_NETDEV
|
||||||
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/net/netfilter/nf_tables_netdev.ko \
|
||||||
|
$(LINUX_DIR)/net/netfilter/nf_dup_netdev.ko \
|
||||||
|
$(LINUX_DIR)/net/netfilter/nft_dup_netdev.ko \
|
||||||
|
$(LINUX_DIR)/net/netfilter/nft_fwd_netdev.ko
|
||||||
|
AUTOLOAD:=$(call AutoProbe,nf_tables_netdev nf_dup_netdev nft_dup_netdev nft_fwd_netdev)
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,nft-netdev))
|
||||||
|
Loading…
Reference in New Issue
Block a user