is_broadcast_ether_addr(x) => is_multicast_ether_addr(x)
or when looking more at the implementation:
(FF:FF:FF:FF:FF:FF == x) => [(01:00:00:00:00:00 & x) != 00:00:00:00:00:00]
[...]
- if (is_bcast(ethhdr->h_dest) || is_mcast(ethhdr->h_dest)) {
- if (is_broadcast_ether_addr(ethhdr->h_dest)) { ret = gw_is_target(bat_priv, skb);
So, shouldn't that be the other way round? is_multicast_ether_addr() instead?
Cheers, Linus