Home
last modified time | relevance | path

Searched refs:LWIP_AUTOIP_RAND (Results 1 - 1 of 1) sorted by relevance

/third_party/lwip/src/core/ipv4/
H A Dautoip.c74 * You could use "rand()" from the C Library if you define LWIP_AUTOIP_RAND in lwipopts.h */
75 #ifndef LWIP_AUTOIP_RAND
76 #define LWIP_AUTOIP_RAND(netif) ( (((u32_t)((netif->hwaddr[5]) & 0xff) << 24) | \ macro
81 #endif /* LWIP_AUTOIP_RAND */
314 autoip->ttw = (u16_t)(LWIP_AUTOIP_RAND(netif) % (PROBE_WAIT * AUTOIP_TICKS_PER_SECOND)); in autoip_start_probing()
434 autoip->ttw = (u16_t)((LWIP_AUTOIP_RAND(netif) % in autoip_tmr()

Completed in 2 milliseconds