diff options
author | André Valentin <avalentin@marcant.net> | 2019-06-08 13:48:07 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-06-09 21:48:22 +0200 |
commit | ae3e232b11ac7d76d6178ea308b3356d1baf33f0 (patch) | |
tree | b84eb82e88bf36abc7a3d10861ae2ca9f11e789f /package/kernel/linux/modules/netsupport.mk | |
parent | 0e1d07af1df7f05f069fde2404ce35281aeb63b5 (diff) | |
download | upstream-ae3e232b11ac7d76d6178ea308b3356d1baf33f0.tar.gz upstream-ae3e232b11ac7d76d6178ea308b3356d1baf33f0.tar.bz2 upstream-ae3e232b11ac7d76d6178ea308b3356d1baf33f0.zip |
netsupport: add xfrmi interface support
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.
Signed-off-by: André Valentin <avalentin@marcant.net>
Diffstat (limited to 'package/kernel/linux/modules/netsupport.mk')
-rw-r--r-- | package/kernel/linux/modules/netsupport.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index 2a56d24ccf..20616d9af6 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -383,6 +383,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) TITLE:=IPv4 tunneling |