summaryrefslogtreecommitdiffstats
path: root/src/net/80211
diff options
context:
space:
mode:
authorMichael Brown2013-08-30 20:05:03 +0200
committerMichael Brown2013-09-03 02:24:15 +0200
commit0b65c8cad6ed1b03ce1870856b3496c7be1f8bf1 (patch)
tree7735c595a01cf81212490caa99e7ad7cfffb81f5 /src/net/80211
parent[netdevice] Add concept of a network device index (diff)
downloadipxe-0b65c8cad6ed1b03ce1870856b3496c7be1f8bf1.tar.gz
ipxe-0b65c8cad6ed1b03ce1870856b3496c7be1f8bf1.tar.xz
ipxe-0b65c8cad6ed1b03ce1870856b3496c7be1f8bf1.zip
[netdevice] Add method for generating EUI-64 address from link-layer address
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/80211')
-rw-r--r--src/net/80211/net80211.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/80211/net80211.c b/src/net/80211/net80211.c
index 54df7905..3893f652 100644
--- a/src/net/80211/net80211.c
+++ b/src/net/80211/net80211.c
@@ -599,6 +599,7 @@ static struct ll_protocol net80211_ll_protocol __ll_protocol = {
.ntoa = eth_ntoa,
.mc_hash = eth_mc_hash,
.eth_addr = eth_eth_addr,
+ .eui64 = eth_eui64,
.ll_proto = htons ( ARPHRD_ETHER ), /* "encapsulated Ethernet" */
.hw_addr_len = ETH_ALEN,
.ll_addr_len = ETH_ALEN,