mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 22:12:16 +00:00
[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:
parent
56addd6eee
commit
b863ceb7dd
7 changed files with 550 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue