Page MenuHomeFreeBSD

Add a macro to check for IPv6 multicast MAC addresses

Authored by mhorne on Sep 30 2020, 5:45 PM.



This can be used to query if a received ethernet packet has an IPv6
multicast address, e.g. for IPv6 Neighbor Discovery Protocol.

Of course, ETHER_IS_MULTICAST is still preferred in the general case.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Hi, any thoughts on this?

This definition is used by NetApp as part of a larger set of changes that is not yet upstream-ready. It doesn't offer much value on its own, but helps reduce their local diff against FreeBSD.

I'd appreciate a prod in either direction of "looks good, go ahead" or "save it for the larger patch". Thanks.

For reference, this definition comes from RFC 2464, Section 7.

This revision is now accepted and ready to land.Oct 29 2020, 4:05 PM
This revision was automatically updated to reflect the committed changes.