RetroArch
Macros
lwipopts.h File Reference
#include <string.h>
Include dependency graph for lwipopts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BYTE_ORDER   BIG_ENDIAN
 
#define NO_SYS   1
 
#define LWIP_CALLBACK_API   1
 
#define TCPIP_THREAD_PRIO   125
 
#define SYS_LIGHTWEIGHT_PROT   1
 
#define MEM_ALIGNMENT   4
 
#define MEM_SIZE   (192*1024)
 
#define MEMP_NUM_PBUF   128
 
#define MEMP_NUM_UDP_PCB   16
 
#define MEMP_NUM_TCP_PCB   16
 
#define MEMP_NUM_TCP_PCB_LISTEN   8
 
#define MEMP_NUM_TCP_SEG   128
 
#define MEMP_NUM_NETBUF   16
 
#define MEMP_NUM_NETCONN   16
 
#define MEMP_NUM_API_MSG   128
 
#define MEMP_NUM_TCPIP_MSG   128
 
#define MEMP_NUM_SYS_TIMEOUT   0
 
#define PBUF_POOL_SIZE   128
 
#define PBUF_POOL_BUFSIZE   1600
 
#define PBUF_LINK_HLEN   16
 
#define LWIP_TCP   1
 
#define TCP_TTL   255
 
#define TCP_QUEUE_OOSEQ   1
 
#define TCP_MSS   1460
 
#define TCP_SND_BUF   (36*TCP_MSS)
 
#define TCP_SND_QUEUELEN   (36*TCP_SND_BUF/TCP_MSS)
 
#define TCP_WND   (36*TCP_MSS)
 
#define TCP_MAXRTX   12
 
#define TCP_SYNMAXRTX   4
 
#define IP_FORWARD   0
 
#define IP_OPTIONS   1
 
#define ICMP_TTL   255
 
#define LWIP_DHCP   1
 
#define DHCP_DOES_ARP_CHECK   1
 
#define LWIP_UDP   1
 
#define UDP_TTL   255
 
#define LWIP_STATS   0
 

Macro Definition Documentation

◆ BYTE_ORDER

#define BYTE_ORDER   BIG_ENDIAN

◆ DHCP_DOES_ARP_CHECK

#define DHCP_DOES_ARP_CHECK   1

◆ ICMP_TTL

#define ICMP_TTL   255

◆ IP_FORWARD

#define IP_FORWARD   0
  • If enabled, cache entries are generated for every kind of ARP traffic or broadcast IP traffic. This enhances behaviour for sending to a dynamic set of hosts, for example if acting as a gateway.
  • If disabled, cache entries are generated only for IP destination addresses in use by lwIP or applications. This enhances performance if sending to a small, reasonably static number of hosts. Typically for embedded devices.

◆ IP_OPTIONS

#define IP_OPTIONS   1

◆ LWIP_CALLBACK_API

#define LWIP_CALLBACK_API   1

◆ LWIP_DHCP

#define LWIP_DHCP   1

◆ LWIP_STATS

#define LWIP_STATS   0

◆ LWIP_TCP

#define LWIP_TCP   1

◆ LWIP_UDP

#define LWIP_UDP   1

◆ MEM_ALIGNMENT

#define MEM_ALIGNMENT   4

◆ MEM_SIZE

#define MEM_SIZE   (192*1024)

◆ MEMP_NUM_API_MSG

#define MEMP_NUM_API_MSG   128

◆ MEMP_NUM_NETBUF

#define MEMP_NUM_NETBUF   16

◆ MEMP_NUM_NETCONN

#define MEMP_NUM_NETCONN   16

◆ MEMP_NUM_PBUF

#define MEMP_NUM_PBUF   128

◆ MEMP_NUM_SYS_TIMEOUT

#define MEMP_NUM_SYS_TIMEOUT   0

◆ MEMP_NUM_TCP_PCB

#define MEMP_NUM_TCP_PCB   16

◆ MEMP_NUM_TCP_PCB_LISTEN

#define MEMP_NUM_TCP_PCB_LISTEN   8

◆ MEMP_NUM_TCP_SEG

#define MEMP_NUM_TCP_SEG   128

◆ MEMP_NUM_TCPIP_MSG

#define MEMP_NUM_TCPIP_MSG   128

◆ MEMP_NUM_UDP_PCB

#define MEMP_NUM_UDP_PCB   16

◆ NO_SYS

#define NO_SYS   1

◆ PBUF_LINK_HLEN

#define PBUF_LINK_HLEN   16

◆ PBUF_POOL_BUFSIZE

#define PBUF_POOL_BUFSIZE   1600

◆ PBUF_POOL_SIZE

#define PBUF_POOL_SIZE   128

◆ SYS_LIGHTWEIGHT_PROT

#define SYS_LIGHTWEIGHT_PROT   1

◆ TCP_MAXRTX

#define TCP_MAXRTX   12

◆ TCP_MSS

#define TCP_MSS   1460

◆ TCP_QUEUE_OOSEQ

#define TCP_QUEUE_OOSEQ   1

◆ TCP_SND_BUF

#define TCP_SND_BUF   (36*TCP_MSS)

◆ TCP_SND_QUEUELEN

#define TCP_SND_QUEUELEN   (36*TCP_SND_BUF/TCP_MSS)

◆ TCP_SYNMAXRTX

#define TCP_SYNMAXRTX   4

◆ TCP_TTL

#define TCP_TTL   255

◆ TCP_WND

#define TCP_WND   (36*TCP_MSS)

◆ TCPIP_THREAD_PRIO

#define TCPIP_THREAD_PRIO   125

◆ UDP_TTL

#define UDP_TTL   255