diff options
author | Michael Brown | 2009-08-12 01:40:26 +0200 |
---|---|---|
committer | Michael Brown | 2009-08-12 01:54:29 +0200 |
commit | a7290a970c0d4e28600c29c12d8fa486c5a82b97 (patch) | |
tree | 5ebe248492a8f52802cb90b3d74727bf232a74c4 /src/net/ethernet.c | |
parent | [802.11] Properly initialize autoassociation process (diff) | |
download | ipxe-a7290a970c0d4e28600c29c12d8fa486c5a82b97.tar.gz ipxe-a7290a970c0d4e28600c29c12d8fa486c5a82b97.tar.xz ipxe-a7290a970c0d4e28600c29c12d8fa486c5a82b97.zip |
[802.11] Support multicast hashing
802.11 multicast hashing is the same as standard Ethernet hashing, so
just expose and use eth_mc_hash().
Signed-off-by: Joshua Oreman <oremanj@rwcr.net>
Diffstat (limited to 'src/net/ethernet.c')
-rw-r--r-- | src/net/ethernet.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/ethernet.c b/src/net/ethernet.c index dfeba7cd..e8daf9f9 100644 --- a/src/net/ethernet.c +++ b/src/net/ethernet.c @@ -130,8 +130,7 @@ const char * eth_ntoa ( const void *ll_addr ) { * @v ll_addr Link-layer address to fill in * @ret rc Return status code */ -static int eth_mc_hash ( unsigned int af, const void *net_addr, - void *ll_addr ) { +int eth_mc_hash ( unsigned int af, const void *net_addr, void *ll_addr ) { const uint8_t *net_addr_bytes = net_addr; uint8_t *ll_addr_bytes = ll_addr; |