From 858a8acf3ec786348f6d347cf9e7afcf4888fee1 Mon Sep 17 00:00:00 2001 From: Deng Qingfang Date: Tue, 16 Oct 2018 23:01:05 +0800 Subject: [PATCH] kernel/modules: add kmod-fou6 package IPv6 support for Foo-over-UDP tunnel Signed-off-by: Deng Qingfang --- package/kernel/linux/modules/netsupport.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index 050541488c..f475b618d5 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -457,6 +457,27 @@ endef $(eval $(call KernelPackage,fou)) +define KernelPackage/fou6 + SUBMENU:=$(NETWORK_SUPPORT_MENU) + TITLE:=FOU and GUE decapsulation over IPv6 + DEPENDS:= @IPV6 \ + +kmod-fou \ + +kmod-ip6-tunnel + KCONFIG:= \ + CONFIG_IPV6_FOU \ + CONFIG_IPV6_FOU_TUNNEL + FILES:=$(LINUX_DIR)/net/ipv6/fou6.ko + AUTOLOAD:=$(call AutoProbe,fou6) +endef + +define KernelPackage/fou6/description + Kernel module for FOU (Foo over UDP) and GUE (Generic UDP Encapsulation) tunnelling over IPv6. + Requires Kernel 3.18 or newer. +endef + +$(eval $(call KernelPackage,fou6)) + + define KernelPackage/ip6-tunnel SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IP-in-IPv6 tunnelling