aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-06-13 15:03:51 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-11 01:14:20 -0400
commit38f7b870d4a6a5d3ec21557e849620cb7d032965 (patch)
treea3a35058298554a87f90b8bd1694cac5c5a1eaa6 /include/linux/netdevice.h
parent0157f60c0caea24fa8347f4c0ed53297c412fce1 (diff)
[RTNETLINK]: Link creation API
Add rtnetlink API for creating, changing and deleting software devices. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 94cc77cd3aa3..e7913ee5581c 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -540,6 +540,9 @@ struct net_device
540 struct device dev; 540 struct device dev;
541 /* space for optional statistics and wireless sysfs groups */ 541 /* space for optional statistics and wireless sysfs groups */
542 struct attribute_group *sysfs_groups[3]; 542 struct attribute_group *sysfs_groups[3];
543
544 /* rtnetlink link ops */
545 const struct rtnl_link_ops *rtnl_link_ops;
543}; 546};
544#define to_net_dev(d) container_of(d, struct net_device, dev) 547#define to_net_dev(d) container_of(d, struct net_device, dev)
545 548