Debian Codegraph @

ports/alif/lwip_inc/lwipopts.h

raw
1 #ifndef MICROPY_INCLUDED_ALIF_LWIP_LWIPOPTS_H
2 #define MICROPY_INCLUDED_ALIF_LWIP_LWIPOPTS_H
3
4 #define LWIP_NETIF_EXT_STATUS_CALLBACK 1
5
6 #define LWIP_LOOPIF_MULTICAST 1
7 #define LWIP_LOOPBACK_MAX_PBUFS 8
8
9 #define LWIP_IPV6 0
10
11 #define LWIP_RAND() se_services_rand64()
12
13 #define MEM_SIZE (16 * 1024)
14 #define TCP_MSS (1460)
15 #define TCP_OVERSIZE (TCP_MSS)
16 #define TCP_WND (8 * TCP_MSS)
17 #define TCP_SND_BUF (8 * TCP_MSS)
18 #define TCP_SND_QUEUELEN (2 * (TCP_SND_BUF / TCP_MSS))
19 #define TCP_QUEUE_OOSEQ (1)
20 #define MEMP_NUM_TCP_SEG (2 * TCP_SND_QUEUELEN)
21
22 // Include common lwIP configuration.
23 #include "extmod/lwip-include/lwipopts_common.h"
24
25 uint64_t se_services_rand64(void);
26
27 #endif // MICROPY_INCLUDED_ALIF_LWIP_LWIPOPTS_H