mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-06-16 18:03:44 +08:00
Add lwip_port_rand() to unix port
This commit is contained in:
@@ -68,6 +68,12 @@
|
||||
#include "lwip/stats.h"
|
||||
#include "lwip/tcpip.h"
|
||||
|
||||
u32_t
|
||||
lwip_port_rand(void)
|
||||
{
|
||||
return rand();
|
||||
}
|
||||
|
||||
static void
|
||||
get_monotonic_time(struct timespec *ts)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user