aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFilip Moc <lede@moc6.cz>2018-02-01 20:42:30 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-02-10 20:58:18 +0100
commit7c5960ddc47d98b92e3b30d3e72a8df8efe7e225 (patch)
tree752f86663c49275dc5aa51cbd4f2bf05027b312a /package
parenta6f79f5e5e97acb9013c600c4878e18f3c606513 (diff)
downloadupstream-7c5960ddc47d98b92e3b30d3e72a8df8efe7e225.tar.gz
upstream-7c5960ddc47d98b92e3b30d3e72a8df8efe7e225.tar.bz2
upstream-7c5960ddc47d98b92e3b30d3e72a8df8efe7e225.zip
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@moc6.cz>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/netsupport.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 836034ad12..3521b94d6c 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