summaryrefslogtreecommitdiff
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>2003-10-28 20:20:49 -0800
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>2003-10-28 20:20:49 -0800
commitfbe0d04d5c63435b5a0c198e28055cbb24f05490 (patch)
tree34a32fcdd9770771b23457bfade3d64541fd8028 /include/linux/netdevice.h
parent217e86f8ee7f2275c5e35309bfd7696d8efe9387 (diff)
[NET]: Introduce dev_getbyfirsthwtype.
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 2533f7b9c701..1d79d6e49672 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -498,6 +498,8 @@ extern void probe_old_netdevs(void);
extern int netdev_boot_setup_add(char *name, struct ifmap *map);
extern int netdev_boot_setup_check(struct net_device *dev);
extern struct net_device *dev_getbyhwaddr(unsigned short type, char *hwaddr);
+extern struct net_device *__dev_getfirstbyhwtype(unsigned short type);
+extern struct net_device *dev_getfirstbyhwtype(unsigned short type);
extern void dev_add_pack(struct packet_type *pt);
extern void dev_remove_pack(struct packet_type *pt);
extern void __dev_remove_pack(struct packet_type *pt);