summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/ethernet.h
diff options
context:
space:
mode:
authorMichael Brown2009-08-12 01:40:26 +0200
committerMichael Brown2009-08-12 01:54:29 +0200
commita7290a970c0d4e28600c29c12d8fa486c5a82b97 (patch)
tree5ebe248492a8f52802cb90b3d74727bf232a74c4 /src/include/gpxe/ethernet.h
parent[802.11] Properly initialize autoassociation process (diff)
downloadipxe-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/include/gpxe/ethernet.h')
-rw-r--r--src/include/gpxe/ethernet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gpxe/ethernet.h b/src/include/gpxe/ethernet.h
index bb82e0a4..8cf6b1be 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 */