Debian Codegraph @

ports/renesas-ra/lwip_inc/lwipopts.h

raw
1 #ifndef MICROPY_INCLUDED_RA_LWIP_LWIPOPTS_H
2 #define MICROPY_INCLUDED_RA_LWIP_LWIPOPTS_H
3
4 #define LWIP_IPV6 0
5
6 #define LWIP_RAND() rng_read()
7
8 #define MEM_SIZE (16 * 1024)
9 #define TCP_MSS (1460)
10 #define TCP_OVERSIZE (TCP_MSS)
11 #define TCP_WND (8 * TCP_MSS)
12 #define TCP_SND_BUF (8 * TCP_MSS)
13 #define TCP_SND_QUEUELEN (2 * (TCP_SND_BUF / TCP_MSS))
14 #define TCP_QUEUE_OOSEQ (1)
15 #define MEMP_NUM_TCP_SEG (2 * TCP_SND_QUEUELEN)
16
17 // Include common lwIP configuration.
18 #include "extmod/lwip-include/lwipopts_common.h"
19
20 extern uint32_t rng_read(void);
21
22 #endif // MICROPY_INCLUDED_RA_LWIP_LWIPOPTS_H