aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
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 488c56e649b5..d675df08b946 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -471,6 +471,8 @@ struct net_device
471 char name[IFNAMSIZ]; 471 char name[IFNAMSIZ];
472 /* device name hash chain */ 472 /* device name hash chain */
473 struct hlist_node name_hlist; 473 struct hlist_node name_hlist;
474 /* snmp alias */
475 char *ifalias;
474 476
475 /* 477 /*
476 * I/O specific fields 478 * I/O specific fields
@@ -1224,6 +1226,7 @@ extern int dev_ethtool(struct net *net, struct ifreq *);
1224extern unsigned dev_get_flags(const struct net_device *); 1226extern unsigned dev_get_flags(const struct net_device *);
1225extern int dev_change_flags(struct net_device *, unsigned); 1227extern int dev_change_flags(struct net_device *, unsigned);
1226extern int dev_change_name(struct net_device *, char *); 1228extern int dev_change_name(struct net_device *, char *);
1229extern int dev_set_alias(struct net_device *, const char *, size_t);
1227extern int dev_change_net_namespace(struct net_device *, 1230extern int dev_change_net_namespace(struct net_device *,
1228 struct net *, const char *); 1231 struct net *, const char *);
1229extern int dev_set_mtu(struct net_device *, int); 1232extern int dev_set_mtu(struct net_device *, int);