aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2022-05-16 16:14:41 +0200
committerChristian Lamparter <chunkeey@gmail.com>2022-06-25 00:05:21 +0200
commit8a3fb457223b6a4f68c4ab28162529ae94c6480e (patch)
tree33f3ec253d40769be444b4237b57a06cff4a68fd /package/kernel/linux/modules
parent43fd8f4aba6957148d1e59b245ec4466c7ad3303 (diff)
downloadupstream-8a3fb457223b6a4f68c4ab28162529ae94c6480e.tar.gz
upstream-8a3fb457223b6a4f68c4ab28162529ae94c6480e.tar.bz2
upstream-8a3fb457223b6a4f68c4ab28162529ae94c6480e.zip
netfilter: kmod-nft-xfrm
Add kmod-nft-xfrm package. Signed-off-by: Florian Eckert <fe@dev.tdt.de> (cherry picked from commit 9379bc2fcf905568ef329a121c8c8a11fc98b02c)
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r--package/kernel/linux/modules/netfilter.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk
index 1ebe40947a..ff76ae048b 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -1272,3 +1272,14 @@ define KernelPackage/nft-compat
endef
$(eval $(call KernelPackage,nft-compat))
+
+define KernelPackage/nft-xfrm
+ SUBMENU:=$(NF_MENU)
+ TITLE:=Netfilter nf_tables xfrm support (ipsec)
+ DEPENDS:=+kmod-nft-core
+ FILES:=$(foreach mod,$(NFT_XFRM-m),$(LINUX_DIR)/net/$(mod).ko)
+ AUTOLOAD:=$(call AutoProbe,$(notdir $(NFT_XFRM-m)))
+ KCONFIG:=$(KCONFIG_NFT_XFRM)
+endef
+
+$(eval $(call KernelPackage,nft-xfrm))