mirror of
https://github.com/ipxe/ipxe
synced 2026-01-01 00:07:27 +03:00
[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>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user