From a7290a970c0d4e28600c29c12d8fa486c5a82b97 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 12 Aug 2009 00:40:26 +0100 Subject: [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 --- src/include/gpxe/ethernet.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') 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 */ -- cgit v1.2.3-55-g7522