[LEDE-DEV] [PATCH v2] kernel: add kmod-fou

John Crispin john at phrozen.org
Tue Dec 19 12:00:03 PST 2017



On 17/12/17 18:44, Filip Moc wrote:
> 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>
Hi Filip,

sorry for nitpicking ... but ...

> +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 AutoLoad,32,fou)
why AutoLoad at 32 ? cant we AutoProbe this ?
     John


> +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-dev mailing list