net: add helper to generate random mac address
authorMichael Walle <michael@walle.cc>
Tue, 5 Jun 2012 11:33:16 +0000 (11:33 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:32 +0000 (14:07 +0200)
commit03c1b04f86ddd6a296e2d80d73f5e4670e55da1d
treeb4d8209cc1b1dee7b0ced4ab179c09b01cc5ab52
parent99e139d5902e488eb779cd4f00c978f3803c39be
net: add helper to generate random mac address

Add new function eth_random_enetaddr() to generate a locally administered
ethernet address.

Signed-off-by: Michael Walle <michael@walle.cc>
Acked-by: Joe Hershberger <joe.hershberger@gmail.com>
include/net.h
net/eth.c