From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 15 May 2017 08:54:43 -0400 Subject: [U-Boot] [PATCHv6 11/28] net: core: Add MAC address helper functions In-Reply-To: <20170515080244.21345-12-oliver@schinagl.nl> References: <20170515080244.21345-1-oliver@schinagl.nl> <20170515080244.21345-12-oliver@schinagl.nl> Message-ID: <20170515125443.GE5701@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: