Permalink
Browse files

Added Foo-over-UDP (FOU) encapsulation kernel module

  • Loading branch information...
justusbeyer committed Feb 18, 2016
1 parent 89affd7 commit 805c4818734d16ef4dc76be008f6ee9ecc2349d3
Showing with 25 additions and 0 deletions.
  1. +1 −0 configs/ar71xx.config
  2. +23 −0 patches/023-enable-fou.patch
  3. +1 −0 patches/series
View
@@ -74,6 +74,7 @@ CONFIG_PACKAGE_kmod-ipt-filter=m
CONFIG_PACKAGE_kmod-ipt-ipopt=m
CONFIG_PACKAGE_kmod-iptunnel=m
CONFIG_PACKAGE_kmod-iptunnel4=m
+CONFIG_PACKAGE_kmod-fou=m
CONFIG_PACKAGE_kmod-ledtrig-usbdev=y
CONFIG_PACKAGE_kmod-lib-crc-itu-t=m
CONFIG_PACKAGE_kmod-lib-crc16=m
@@ -0,0 +1,23 @@
+--- a/package/kernel/linux/modules/netsupport.mk
++++ b/package/kernel/linux/modules/netsupport.mk
+@@ -166,6 +166,20 @@ endef
+
+ $(eval $(call KernelPackage,udptunnel6))
+
++define KernelPackage/fou
++ SUBMENU:=$(NETWORK_SUPPORT_MENU)
++ TITLE:=Foo-over-UDP (FOU) Support
++ DEPENDS:= \
++ +kmod-iptunnel \
++ +kmod-udptunnel4 \
++ +IPV6:kmod-udptunnel6
++ KCONFIG:=CONFIG_NET_FOU
++ FILES:=$(LINUX_DIR)/net/ipv4/fou.ko
++ AUTOLOAD:=$(call AutoLoad,32,fou)
++endef
++
++
++$(eval $(call KernelPackage,fou))
+
+ define KernelPackage/vxlan
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
View
@@ -8,3 +8,4 @@
017-luci-bootstrap-input-css.patch
021-fix-mt7620-failsafe.patch
022-rt2x00_allow_adhoc_and_ap.patch
+023-enable-fou.patch

0 comments on commit 805c481

Please sign in to comment.