[NET]: Add macvlan driver

Add macvlan driver, which allows to create virtual ethernet devices
based on MAC address.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Patrick McHardy 2007-07-14 18:55:06 -07:00 committed by David S. Miller
parent 56addd6eee
commit b863ceb7dd
7 changed files with 550 additions and 0 deletions

View file

@ -564,6 +564,8 @@ struct net_device
/* bridge stuff */
struct net_bridge_port *br_port;
/* macvlan */
struct macvlan_port *macvlan_port;
/* class/net/name entry */
struct device dev;