]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Virtual ethernet device driver.
authorPavel Emelyanov <xemul@openvz.org>
Tue, 25 Sep 2007 23:14:46 +0000 (16:14 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:47:46 +0000 (16:47 -0700)
commit64c3c784ee707df3dd99e2dd090a4c6a8921a25d
treef774e598ebb997c108b1d757cd4b27f7bbca9a28
parent5848c8ffdd721804b2c4a9255b98dda12009a874
[NET]: Virtual ethernet device driver.

Veth stands for Virtual ETHernet. It is a simple tunnel driver
that works at the link layer and looks like a pair of ethernet
devices interconnected with each other.

Mainly it allows to communicate between network namespaces but
it can be used as is as well.

The newlink callback is organized that way to make it easy to
create the peer device in the separate namespace when we have
them in kernel.

This implementation uses another interface - the RTM_NRELINK
message introduced by Patric.

Bug fixes from Daniel Lezcano.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/veth.c [new file with mode: 0644]
include/net/veth.h [new file with mode: 0644]