Home
last modified time | relevance | path

Searched refs:LWIP_RAND (Results 1 – 8 of 8) sorted by relevance

/lib/liblwip/src/include/arch/
Dcc.h90 #define LWIP_RAND() ((u32_t)rand()) macro
/lib/liblwip/src/core/
Dinit.c175 #if LWIP_IGMP && !defined(LWIP_RAND)
Dudp.c88 #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()
Ddhcp.c1649 #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()
Dtcp.c132 #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()
/lib/liblwip/
DUPGRADING100 * Added define LWIP_RAND() for lwip-wide randomization (needs to be defined
DCHANGELOG53 * 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.
/lib/liblwip/src/core/ipv4/
Digmp.c705 group->timer = (LWIP_RAND() % (max_time - 1)) + 1; in igmp_start_timer()