[openwrt/openwrt] kernel: add kmod-fou

LEDE Commits lede-commits at lists.infradead.org
Sat Feb 10 12:46:46 PST 2018


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/7c5960ddc47d98b92e3b30d3e72a8df8efe7e225

commit 7c5960ddc47d98b92e3b30d3e72a8df8efe7e225
Author: Filip Moc <lede at moc6.cz>
AuthorDate: Thu Feb 1 20:42:30 2018 +0100

    kernel: add kmod-fou
    
    Once installed fou kernel module allows you to use FOU (Foo over UDP)
    and GUE (Generic UDP encapsulation) tunnel protocols.
    
    To get ip fou command working you also need to install ip-full.
    
    Signed-off-by: Filip Moc <lede at moc6.cz>
---
 package/kernel/linux/modules/netsupport.mk | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 836034a..3521b94 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -434,6 +434,28 @@ endef
 $(eval $(call KernelPackage,sit))
 
 
+define KernelPackage/fou
+  SUBMENU:=$(NETWORK_SUPPORT_MENU)
+  TITLE:=FOU and GUE decapsulation
+  DEPENDS:= \
+	+kmod-iptunnel \
+	+kmod-udptunnel4 \
+	+IPV6:kmod-udptunnel6
+  KCONFIG:= \
+	CONFIG_NET_FOU \
+	CONFIG_NET_FOU_IP_TUNNELS=y
+  FILES:=$(LINUX_DIR)/net/ipv4/fou.ko
+  AUTOLOAD:=$(call AutoProbe,fou)
+endef
+
+define KernelPackage/fou/description
+ Kernel module for FOU (Foo over UDP) and GUE (Generic UDP Encapsulation) tunnelling.
+ Requires Kernel 3.18 or newer.
+endef
+
+$(eval $(call KernelPackage,fou))
+
+
 define KernelPackage/ip6-tunnel
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=IP-in-IPv6 tunnelling



More information about the lede-commits mailing list