mirror of https://github.com/hak5/openwrt.git
kernel: add veth module
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 36540lede-17.01
parent
f54a6df1e1
commit
826b4e36c4
|
@ -476,6 +476,23 @@ endef
|
||||||
$(eval $(call KernelPackage,tun))
|
$(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
|
define KernelPackage/ppp
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=PPP modules
|
TITLE:=PPP modules
|
||||||
|
|
Loading…
Reference in New Issue