
On Mon, May 15, 2017 at 10:02:27AM +0200, Olliver Schinagl wrote:
Universally administered and locally administered addresses are distinguished by setting the second-least-significant bit of the first octet of the address. Having a function to check and set this U/L bit from a function makes it nice for boards that want to generate their own mac address to ensure they are locally administered.
Unicast and multicast addresses are distinguised by setting the least-significant bit of the first octet of the address. Having a function to check and set this U/M bit from a function it nice to make a generated mac address a unicast address.
This patch introduces both these helper functions
Signed-off-by: Olliver Schinagl oliver@schinagl.nl
Reviewed-by: Tom Rini trini@konsulko.com