summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe
diff options
context:
space:
mode:
authorMichael Brown2013-10-21 15:02:19 +0200
committerMichael Brown2013-10-21 15:34:02 +0200
commit8f30ea4a6bf753c964a56a456ba558c7b52054e2 (patch)
treeeb6f1028fadc48954cf2d5c4204118aeef4da37b /src/include/ipxe
parent[udp] Add AF_INET6 socket opener (diff)
downloadipxe-8f30ea4a6bf753c964a56a456ba558c7b52054e2.tar.gz
ipxe-8f30ea4a6bf753c964a56a456ba558c7b52054e2.tar.xz
ipxe-8f30ea4a6bf753c964a56a456ba558c7b52054e2.zip
[netdevice] Add find_netdev_by_index()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe')
-rw-r--r--src/include/ipxe/netdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/netdevice.h b/src/include/ipxe/netdevice.h
index 7f819d9ab..2d08f34ff 100644
--- a/src/include/ipxe/netdevice.h
+++ b/src/include/ipxe/netdevice.h
@@ -605,6 +605,7 @@ extern void netdev_close ( struct net_device *netdev );
extern void unregister_netdev ( struct net_device *netdev );
extern void netdev_irq ( struct net_device *netdev, int enable );
extern struct net_device * find_netdev ( const char *name );
+extern struct net_device * find_netdev_by_index ( unsigned int index );
extern struct net_device * find_netdev_by_location ( unsigned int bus_type,
unsigned int location );
extern struct net_device * last_opened_netdev ( void );