diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-11-20 01:42:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-20 01:42:31 -0500 |
commit | ccad637b0c57de1825ffd34c311bf71487545ac2 (patch) | |
tree | fa5e54d6a4d8a414754efb7904685e5a83bff601 /include/linux/etherdevice.h | |
parent | eeda3fd64f75bcbfaa70ce946513abaf3f23b8e0 (diff) |
netdev: expose ethernet address primitives
When ethernet devices are converted, the function pointer setup
by eth_setup() need to be done during intialization.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/etherdevice.h')
-rw-r--r-- | include/linux/etherdevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/etherdevice.h b/include/linux/etherdevice.h index 25d62e6e3290..0e5e97060034 100644 --- a/include/linux/etherdevice.h +++ b/include/linux/etherdevice.h | |||
@@ -41,6 +41,10 @@ extern int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh); | |||
41 | extern void eth_header_cache_update(struct hh_cache *hh, | 41 | extern void eth_header_cache_update(struct hh_cache *hh, |
42 | const struct net_device *dev, | 42 | const struct net_device *dev, |
43 | const unsigned char *haddr); | 43 | const unsigned char *haddr); |
44 | extern int eth_mac_addr(struct net_device *dev, void *p); | ||
45 | extern int eth_change_mtu(struct net_device *dev, int new_mtu); | ||
46 | extern int eth_validate_addr(struct net_device *dev); | ||
47 | |||
44 | 48 | ||
45 | 49 | ||
46 | extern struct net_device *alloc_etherdev_mq(int sizeof_priv, unsigned int queue_count); | 50 | extern struct net_device *alloc_etherdev_mq(int sizeof_priv, unsigned int queue_count); |