[U-Boot] [PATCHv6 11/28] net: core: Add MAC address helper functions
Tom Rini
trini at konsulko.com
Mon May 15 12:54:43 UTC 2017
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 at schinagl.nl>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170515/b82ed116/attachment.sig>
More information about the U-Boot
mailing list