summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2016-03-20 10:22:55 +0100
committerMichael Brown2016-03-20 10:22:55 +0100
commit750a2efeb2814623e1355885874e93cb7578ef73 (patch)
treed39c9d7699a9ee3a4c398d9fdd812649f724c41e /src/include
parent[libc] Allow container_of() to be used on volatile pointers (diff)
downloadipxe-750a2efeb2814623e1355885874e93cb7578ef73.tar.gz
ipxe-750a2efeb2814623e1355885874e93cb7578ef73.tar.xz
ipxe-750a2efeb2814623e1355885874e93cb7578ef73.zip
[ipoib] Allow external code to identify IPoIB network devices
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/ipoib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/ipoib.h b/src/include/ipxe/ipoib.h
index b34dd32d0..065eeabb7 100644
--- a/src/include/ipxe/ipoib.h
+++ b/src/include/ipxe/ipoib.h
@@ -62,5 +62,6 @@ struct ipoib_remac {
extern const char * ipoib_ntoa ( const void *ll_addr );
extern struct net_device * alloc_ipoibdev ( size_t priv_size );
+extern struct net_device * ipoib_netdev ( struct ib_device *ibdev );
#endif /* _IPXE_IPOIB_H */