[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
master
Luka Perkov 2013-05-03 15:16:50 +00:00
parent 39f119008c
commit 1793a0cc5f
1 changed files with 17 additions and 0 deletions

View File

@ -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