Add helper function for generating random MAC addresses with same OUI
authorJouni Malinen <j@w1.fi>
Mon, 29 Sep 2014 20:23:11 +0000 (23:23 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 29 Sep 2014 21:40:23 +0000 (00:40 +0300)
commit1cbdb9d13754e1476620f5a3938b726270821adb
tree4d509517a964fa54f2b69403f9a7667fa650f72f
parentc1d1b6998d898756d0e44c688b9a55fa4cc3822f
Add helper function for generating random MAC addresses with same OUI

random_mac_addr_keep_oui() is similar to random_mac_addr(), but it
maintains the OUI part of the source address.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/utils/common.c
src/utils/common.h