[OpenWrt-Devel] [PATCH v3 1/3] kernel/netsupport: add xfrmi interface support
André Valentin
avalentin at marcant.net
Sat Jun 8 07:48:07 EDT 2019
Add support for xfrm interfaces in kernel. XFRM interfaces are used by
the IPsec stack for tunneling.
XFRM interfaces are available since linux 4.19.
---
package/kernel/linux/modules/netsupport.mk | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 1b6247643f..385c1c65ec 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -380,6 +380,22 @@ endef
$(eval $(call KernelPackage,ip6-vti))
+
+define KernelPackage/xfrm-interface
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=IPsec XFRM Interface
+ DEPENDS:=+kmod-ipsec4 +kmod-ipsec6 @!LINUX_4_14
+ KCONFIG:=CONFIG_XFRM_INTERFACE
+ FILES:=$(LINUX_DIR)/net/xfrm/xfrm_interface.ko
+ AUTOLOAD:=$(call AutoLoad,33,xfrm_interface)
+endef
+
+define KernelPackage/xfrm-interface/description
+ Kernel module for XFRM interface support
+endef
+
+$(eval $(call KernelPackage,xfrm-interface))
+
define KernelPackage/iptunnel4
SUBMENU:=$(NETWORK_SUPPORT_MENU)
--
2.11.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list