summaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-07-14 18:55:06 -0700
committerDavid S. Miller <davem@davemloft.net>2007-07-14 18:55:06 -0700
commitb863ceb7ddcea8c55fcf1d7b2ac591d50aa7ed53 (patch)
treea65d5e4be77666600c0005c5f4c9091df63a3a1b /include/linux/netdevice.h
parent56addd6eeeb4e11f5a0af7093ca078e0f29140e0 (diff)
downloadop-kernel-dev-b863ceb7ddcea8c55fcf1d7b2ac591d50aa7ed53.zip
op-kernel-dev-b863ceb7ddcea8c55fcf1d7b2ac591d50aa7ed53.tar.gz
[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>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index e5af458..322b5ea 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -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;
OpenPOWER on IntegriCloud