Searched refs:LWIP_RAND (Results 1 – 8 of 8) sorted by relevance
90 #define LWIP_RAND() ((u32_t)rand()) macro
175 #if LWIP_IGMP && !defined(LWIP_RAND)
88 #if LWIP_RANDOMIZE_INITIAL_LOCAL_PORTS && defined(LWIP_RAND) in udp_init()89 udp_port = UDP_ENSURE_LOCAL_PORT_RANGE(LWIP_RAND()); in udp_init()
1649 #if DHCP_CREATE_RAND_XID && defined(LWIP_RAND) in dhcp_create_msg()1675 #if DHCP_CREATE_RAND_XID && defined(LWIP_RAND) in dhcp_create_msg()1676 xid = LWIP_RAND(); in dhcp_create_msg()
132 #if LWIP_RANDOMIZE_INITIAL_LOCAL_PORTS && defined(LWIP_RAND) in tcp_init()133 tcp_port = TCP_ENSURE_LOCAL_PORT_RANGE(LWIP_RAND()); in tcp_init()
100 * Added define LWIP_RAND() for lwip-wide randomization (needs to be defined
53 * dhcp.c: DHCP uses LWIP_RAND() for xid's (bug #30302)526 LWIP_RAND() for lwip-wide randomization (to be defined in cc.h)855 another bug when LWIP_RAND() returns zero.
705 group->timer = (LWIP_RAND() % (max_time - 1)) + 1; in igmp_start_timer()