mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
net: Move MAC-seeded rand out of bootp.c
Make the MAC-seeded random number generator available to /net in general. MAC-seeded rand will be needed by link-local as well, so give it an interface. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -63,9 +63,6 @@ struct Bootp_t {
|
||||
extern ulong BootpID; /* ID of cur BOOTP request */
|
||||
extern char BootFile[128]; /* Boot file name */
|
||||
extern int BootpTry;
|
||||
#ifdef CONFIG_BOOTP_RANDOM_DELAY
|
||||
extern ulong seed1, seed2; /* seed for random BOOTP delay */
|
||||
#endif
|
||||
|
||||
|
||||
/* Send a BOOTP request */
|
||||
|
Reference in New Issue
Block a user