diff options
author | Michael Brown <mcb30@etherboot.org> | 2009-08-12 00:40:26 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2009-08-12 00:54:29 +0100 |
commit | a7290a970c0d4e28600c29c12d8fa486c5a82b97 (patch) | |
tree | 5ebe248492a8f52802cb90b3d74727bf232a74c4 /src/include/gpxe/ethernet.h | |
parent | 2310c30d1c87fbb3f854f7521b91392c3cad17d3 (diff) | |
download | ipxe-a7290a970c0d4e28600c29c12d8fa486c5a82b97.tar.gz |
[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/include/gpxe/ethernet.h')
-rw-r--r-- | src/include/gpxe/ethernet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gpxe/ethernet.h b/src/include/gpxe/ethernet.h index bb82e0a4e..8cf6b1be7 100644 --- a/src/include/gpxe/ethernet.h +++ b/src/include/gpxe/ethernet.h @@ -13,6 +13,8 @@ FILE_LICENCE ( GPL2_OR_LATER ); extern void eth_init_addr ( const void *hw_addr, void *ll_addr ); 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 struct net_device * alloc_etherdev ( size_t priv_size ); #endif /* _GPXE_ETHERNET_H */ |