aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/ethernet.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2013-08-30 19:05:03 +0100
committerMichael Brown <mcb30@ipxe.org>2013-09-03 01:24:15 +0100
commit0b65c8cad6ed1b03ce1870856b3496c7be1f8bf1 (patch)
tree7735c595a01cf81212490caa99e7ad7cfffb81f5 /src/include/ipxe/ethernet.h
parentd5f69e93887cb9ad505b7ed6394891652f393885 (diff)
downloadipxe-0b65c8cad6ed1b03ce1870856b3496c7be1f8bf1.zip
ipxe-0b65c8cad6ed1b03ce1870856b3496c7be1f8bf1.tar.gz
ipxe-0b65c8cad6ed1b03ce1870856b3496c7be1f8bf1.tar.bz2
[netdevice] Add method for generating EUI-64 address from link-layer address
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/ethernet.h')
-rw-r--r--src/include/ipxe/ethernet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/ethernet.h b/src/include/ipxe/ethernet.h
index 1794ff6..5ffc45b 100644
--- a/src/include/ipxe/ethernet.h
+++ b/src/include/ipxe/ethernet.h
@@ -91,6 +91,7 @@ extern const char * eth_ntoa ( const void *ll_addr );
extern int eth_mc_hash ( unsigned int af, const void *net_addr,
void *ll_addr );
extern int eth_eth_addr ( const void *ll_addr, void *eth_addr );
+extern int eth_eui64 ( const void *ll_addr, void *eui64 );
extern struct net_device * alloc_etherdev ( size_t priv_size );
#endif /* _IPXE_ETHERNET_H */