• Pavel Emelyanov's avatar
    [NET]: Virtual ethernet device driver. · e314dbdc
    Pavel Emelyanov authored
    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: default avatarPavel Emelyanov <xemul@openvz.org>
    Acked-by: default avatarPatrick McHardy <kaber@trash.net>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    e314dbdc
veth.c 9.44 KB