define KernelPackage/udptunnel4
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=IPv4 UDP tunneling support
- DEPENDS:=@!LINUX_3_10 @!LINUX_3_14
KCONFIG:=CONFIG_NET_UDP_TUNNEL
FILES:=$(LINUX_DIR)/net/ipv4/udp_tunnel.ko
AUTOLOAD:=$(call AutoLoad,32,udp_tunnel)
define KernelPackage/udptunnel6
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=IPv6 UDP tunneling support
- DEPENDS:=@!LINUX_3_10 @!LINUX_3_14
KCONFIG:=CONFIG_NET_UDP_TUNNEL
FILES:=$(LINUX_DIR)/net/ipv6/ip6_udp_tunnel.ko
AUTOLOAD:=$(call AutoLoad,32,ip6_udp_tunnel)
TITLE:=Native VXLAN Kernel support
DEPENDS:= \
+kmod-iptunnel \
- +(!LINUX_3_10&&!LINUX_3_14):kmod-udptunnel4 \
- +(!LINUX_3_10&&!LINUX_3_14&&IPV6):kmod-udptunnel6
+ +kmod-udptunnel4 \
+ +IPV6:kmod-udptunnel6
KCONFIG:=CONFIG_VXLAN
FILES:=$(LINUX_DIR)/drivers/net/vxlan.ko
AUTOLOAD:=$(call AutoLoad,13,vxlan)
define KernelPackage/ax25
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=AX25 support
+ DEPENDS:=+kmod-lib-crc16
KCONFIG:= \
CONFIG_HAMRADIO=y \
CONFIG_AX25 \
$(LINUX_DIR)/net/ax25/ax25.ko \
$(LINUX_DIR)/drivers/net/hamradio/mkiss.ko
AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
- $(call AddDepends/crc16)
endef
define KernelPackage/ax25/description
$(eval $(call KernelPackage,ax25))
-define KernelPackage/mp-alg
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=ECMP caching algorithms
- KCONFIG:= \
- CONFIG_IP_ROUTE_MULTIPATH_RR \
- CONFIG_IP_ROUTE_MULTIPATH_RANDOM \
- CONFIG_IP_ROUTE_MULTIPATH_WRANDOM \
- CONFIG_IP_ROUTE_MULTIPATH_DRR
- FILES:= \
- $(LINUX_DIR)/net/ipv4/multipath_rr.ko \
- $(LINUX_DIR)/net/ipv4/multipath_random.ko \
- $(LINUX_DIR)/net/ipv4/multipath_wrandom.ko \
- $(LINUX_DIR)/net/ipv4/multipath_drr.ko
- AUTOLOAD:=$(call AutoLoad,35,multipath_rr multipath_random multipath_wrandom multipath_drr)
-endef
-
-define KernelPackage/mp-alg/description
- Kernel modules that provide several different algorithms for multipath
- route selection from the route cache. The iproute "mpath" argument allows
- specifying which algorithm to use for routes.
- quagga (at least <=0.99.6) requires a multipath patch to support this
- cached mp route feature.
-endef
-
-$(eval $(call KernelPackage,mp-alg))
-
-
define KernelPackage/pktgen
SUBMENU:=$(NETWORK_SUPPORT_MENU)
DEPENDS:=@!TARGET_uml
TITLE:=Layer Two Tunneling Protocol (L2TP)
DEPENDS:= \
+IPV6:kmod-ipv6 \
- +(!LINUX_3_10&&!LINUX_3_14):kmod-udptunnel4 \
- +(!LINUX_3_10&&!LINUX_3_14&&IPV6):kmod-udptunnel6
+ +kmod-udptunnel4 \
+ +IPV6:kmod-udptunnel6
KCONFIG:=CONFIG_L2TP \
CONFIG_L2TP_V3=y \
CONFIG_L2TP_DEBUGFS=n