From: Luka Perkov Date: Fri, 3 May 2013 15:16:50 +0000 (+0000) Subject: kernel: add veth module X-Git-Tag: reboot~10514 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=826b4e36c4f981d5155cad9ef9b25dc7745c992e;p=openwrt%2Fstaging%2Fblogic.git kernel: add veth module Signed-off-by: Luka Perkov SVN-Revision: 36540 --- diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk index d893c1add745..ff1f79470186 100644 --- a/package/kernel/modules/netsupport.mk +++ b/package/kernel/modules/netsupport.mk @@ -476,6 +476,23 @@ endef $(eval $(call KernelPackage,tun)) +define KernelPackage/veth + SUBMENU:=$(NETWORK_SUPPORT_MENU) + TITLE:=Virtual ethernet pair device + KCONFIG:=CONFIG_VETH + FILES:=$(LINUX_DIR)/drivers/net/veth.ko + AUTOLOAD:=$(call AutoLoad,30,veth) +endef + +define KernelPackage/veth/description + This device is a local ethernet tunnel. Devices are created in pairs. + When one end receives the packet it appears on its pair and vice + versa. +endef + +$(eval $(call KernelPackage,veth)) + + define KernelPackage/ppp SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=PPP modules