summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-05-03 15:16:50 +0000
committerLuka Perkov <luka@openwrt.org>2013-05-03 15:16:50 +0000
commit826b4e36c4f981d5155cad9ef9b25dc7745c992e (patch)
treeb51c55adfe2d9a8a62a955d99ea4d981122a8327 /package
parentf54a6df1e15d0b763a9f37140d6440e2e158da5f (diff)
downloadmtk-20170518-826b4e36c4f981d5155cad9ef9b25dc7745c992e.zip
mtk-20170518-826b4e36c4f981d5155cad9ef9b25dc7745c992e.tar.gz
mtk-20170518-826b4e36c4f981d5155cad9ef9b25dc7745c992e.tar.bz2
kernel: add veth module
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 36540
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/netsupport.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk
index d893c1a..ff1f794 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