aboutsummaryrefslogtreecommitdiffstats
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
commit1793a0cc5fb8d2276a2b36acb496d82cf080911f (patch)
treea2541d8d5ae63c734a2aaeaf751c5780b4013096 /package
parent39f119008ccab4b0d4963a2fdecf3cbd187b5f10 (diff)
downloadupstream-1793a0cc5fb8d2276a2b36acb496d82cf080911f.tar.gz
upstream-1793a0cc5fb8d2276a2b36acb496d82cf080911f.tar.bz2
upstream-1793a0cc5fb8d2276a2b36acb496d82cf080911f.zip
[package] kernel: add veth module
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36540 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 d893c1add7..ff1f794701 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