eth: Move IPv4/IPv6 multicast address bases to their own symbols
authorDiogo Ivo <diogo.ivo@siemens.com>
Wed, 3 Apr 2024 10:48:12 +0000 (11:48 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 9 Apr 2024 07:47:28 +0000 (09:47 +0200)
commite1900d7ba9c9fd9edb214c43d2826876a5a35057
tree394103551ed2837966da4d1f580e3b105bb1d098
parentdc073430db8d3f28460ea3ec1901e34bf7e8c0f2
eth: Move IPv4/IPv6 multicast address bases to their own symbols

As these addresses can be useful outside of checking if an address
is a multicast address (for example in device drivers) make them
accessible to users of etherdevice.h to avoid code duplication.

Signed-off-by: Diogo Ivo <diogo.ivo@siemens.com>
Reviewed-by: MD Danish Anwar <danishanwar@ti.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/linux/etherdevice.h