RetroArch
Macros
opt.h File Reference
#include "lwipopts.h"
#include "lwip/debug.h"
Include dependency graph for opt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MEMP_SANITY_CHECK   0
 
#define MEMP_NUM_RAW_PCB   4
 
#define ARP_TABLE_SIZE   10
 
#define ARP_QUEUEING   1
 
#define IP_REASSEMBLY   1
 
#define IP_FRAG   1
 
#define LWIP_RAW   1
 
#define RAW_TTL   255
 
#define TCP_SNDLOWAT   TCP_SND_BUF/2
 
#define LWIP_HAVE_LOOPIF   1
 
#define LWIP_EVENT_API   0
 
#define LWIP_CALLBACK_API   1
 
#define LWIP_COMPAT_SOCKETS   1
 
#define SLIPIF_THREAD_PRIO   1
 
#define PPP_THREAD_PRIO   1
 
#define DEFAULT_THREAD_PRIO   1
 
#define SO_REUSE   0
 
#define LINK_STATS   0
 
#define IP_STATS   0
 
#define IPFRAG_STATS   0
 
#define ICMP_STATS   0
 
#define UDP_STATS   0
 
#define TCP_STATS   0
 
#define MEM_STATS   0
 
#define MEMP_STATS   0
 
#define PBUF_STATS   0
 
#define SYS_STATS   0
 
#define RAW_STATS   0
 
#define LWIP_STATS_DISPLAY   0
 
#define PPP_SUPPORT   0 /* Set for PPP */
 
#define CHECKSUM_GEN_IP   1
 
#define CHECKSUM_GEN_UDP   1
 
#define CHECKSUM_GEN_TCP   1
 
#define CHECKSUM_CHECK_IP   1
 
#define CHECKSUM_CHECK_UDP   1
 
#define CHECKSUM_CHECK_TCP   1
 
#define DBG_TYPES_ON   0
 
#define ETHARP_DEBUG   DBG_OFF
 
#define NETIF_DEBUG   DBG_OFF
 
#define PBUF_DEBUG   DBG_OFF
 
#define API_LIB_DEBUG   DBG_OFF
 
#define API_MSG_DEBUG   DBG_OFF
 
#define SOCKETS_DEBUG   DBG_OFF
 
#define ICMP_DEBUG   DBG_OFF
 
#define INET_DEBUG   DBG_OFF
 
#define IP_DEBUG   DBG_OFF
 
#define IP_REASS_DEBUG   DBG_OFF
 
#define RAW_DEBUG   DBG_OFF
 
#define MEM_DEBUG   DBG_OFF
 
#define MEMP_DEBUG   DBG_OFF
 
#define SYS_DEBUG   DBG_OFF
 
#define TCP_DEBUG   DBG_OFF
 
#define TCP_INPUT_DEBUG   DBG_OFF
 
#define TCP_FR_DEBUG   DBG_OFF
 
#define TCP_RTO_DEBUG   DBG_OFF
 
#define TCP_REXMIT_DEBUG   DBG_OFF
 
#define TCP_CWND_DEBUG   DBG_OFF
 
#define TCP_WND_DEBUG   DBG_OFF
 
#define TCP_OUTPUT_DEBUG   DBG_OFF
 
#define TCP_RST_DEBUG   DBG_OFF
 
#define TCP_QLEN_DEBUG   DBG_OFF
 
#define UDP_DEBUG   DBG_OFF
 
#define TCPIP_DEBUG   DBG_OFF
 
#define PPP_DEBUG   DBG_OFF
 
#define SLIP_DEBUG   DBG_OFF
 
#define DHCP_DEBUG   DBG_OFF
 
#define DBG_MIN_LEVEL   DBG_LEVEL_OFF
 

Macro Definition Documentation

◆ API_LIB_DEBUG

#define API_LIB_DEBUG   DBG_OFF

◆ API_MSG_DEBUG

#define API_MSG_DEBUG   DBG_OFF

◆ ARP_QUEUEING

#define ARP_QUEUEING   1

If enabled, outgoing packets are queued during hardware address resolution.

This feature has not stabilized yet. Single-packet queueing is believed to be stable, multi-packet queueing is believed to clash with the TCP segment queueing.

As multi-packet-queueing is currently disabled, enabling this should work, but we need your testing feedback on lwip-users.

◆ ARP_TABLE_SIZE

#define ARP_TABLE_SIZE   10

Number of active hardware address, IP address pairs cached

◆ CHECKSUM_CHECK_IP

#define CHECKSUM_CHECK_IP   1

◆ CHECKSUM_CHECK_TCP

#define CHECKSUM_CHECK_TCP   1

◆ CHECKSUM_CHECK_UDP

#define CHECKSUM_CHECK_UDP   1

◆ CHECKSUM_GEN_IP

#define CHECKSUM_GEN_IP   1

◆ CHECKSUM_GEN_TCP

#define CHECKSUM_GEN_TCP   1

◆ CHECKSUM_GEN_UDP

#define CHECKSUM_GEN_UDP   1

◆ DBG_MIN_LEVEL

#define DBG_MIN_LEVEL   DBG_LEVEL_OFF

◆ DBG_TYPES_ON

#define DBG_TYPES_ON   0

◆ DEFAULT_THREAD_PRIO

#define DEFAULT_THREAD_PRIO   1

◆ DHCP_DEBUG

#define DHCP_DEBUG   DBG_OFF

◆ ETHARP_DEBUG

#define ETHARP_DEBUG   DBG_OFF

◆ ICMP_DEBUG

#define ICMP_DEBUG   DBG_OFF

◆ ICMP_STATS

#define ICMP_STATS   0

◆ INET_DEBUG

#define INET_DEBUG   DBG_OFF

◆ IP_DEBUG

#define IP_DEBUG   DBG_OFF

◆ IP_FRAG

#define IP_FRAG   1

Fragment outgoing IP packets if their size exceeds MTU

◆ IP_REASS_DEBUG

#define IP_REASS_DEBUG   DBG_OFF

◆ IP_REASSEMBLY

#define IP_REASSEMBLY   1

IP reassembly and segmentation. Even if they both deal with IP fragments, note that these are orthogonal, one dealing with incoming packets, the other with outgoing packetsReassemble incoming fragmented IP packets

◆ IP_STATS

#define IP_STATS   0

◆ IPFRAG_STATS

#define IPFRAG_STATS   0

◆ LINK_STATS

#define LINK_STATS   0

◆ LWIP_CALLBACK_API

#define LWIP_CALLBACK_API   1

◆ LWIP_COMPAT_SOCKETS

#define LWIP_COMPAT_SOCKETS   1

◆ LWIP_EVENT_API

#define LWIP_EVENT_API   0

◆ LWIP_HAVE_LOOPIF

#define LWIP_HAVE_LOOPIF   1

◆ LWIP_RAW

#define LWIP_RAW   1

◆ LWIP_STATS_DISPLAY

#define LWIP_STATS_DISPLAY   0

◆ MEM_DEBUG

#define MEM_DEBUG   DBG_OFF

◆ MEM_STATS

#define MEM_STATS   0

◆ MEMP_DEBUG

#define MEMP_DEBUG   DBG_OFF

◆ MEMP_NUM_RAW_PCB

#define MEMP_NUM_RAW_PCB   4

◆ MEMP_SANITY_CHECK

#define MEMP_SANITY_CHECK   0

◆ MEMP_STATS

#define MEMP_STATS   0

◆ NETIF_DEBUG

#define NETIF_DEBUG   DBG_OFF

◆ PBUF_DEBUG

#define PBUF_DEBUG   DBG_OFF

◆ PBUF_STATS

#define PBUF_STATS   0

◆ PPP_DEBUG

#define PPP_DEBUG   DBG_OFF

◆ PPP_SUPPORT

#define PPP_SUPPORT   0 /* Set for PPP */

◆ PPP_THREAD_PRIO

#define PPP_THREAD_PRIO   1

◆ RAW_DEBUG

#define RAW_DEBUG   DBG_OFF

◆ RAW_STATS

#define RAW_STATS   0

◆ RAW_TTL

#define RAW_TTL   255

◆ SLIP_DEBUG

#define SLIP_DEBUG   DBG_OFF

◆ SLIPIF_THREAD_PRIO

#define SLIPIF_THREAD_PRIO   1

◆ SO_REUSE

#define SO_REUSE   0

◆ SOCKETS_DEBUG

#define SOCKETS_DEBUG   DBG_OFF

◆ SYS_DEBUG

#define SYS_DEBUG   DBG_OFF

◆ SYS_STATS

#define SYS_STATS   0

◆ TCP_CWND_DEBUG

#define TCP_CWND_DEBUG   DBG_OFF

◆ TCP_DEBUG

#define TCP_DEBUG   DBG_OFF

◆ TCP_FR_DEBUG

#define TCP_FR_DEBUG   DBG_OFF

◆ TCP_INPUT_DEBUG

#define TCP_INPUT_DEBUG   DBG_OFF

◆ TCP_OUTPUT_DEBUG

#define TCP_OUTPUT_DEBUG   DBG_OFF

◆ TCP_QLEN_DEBUG

#define TCP_QLEN_DEBUG   DBG_OFF

◆ TCP_REXMIT_DEBUG

#define TCP_REXMIT_DEBUG   DBG_OFF

◆ TCP_RST_DEBUG

#define TCP_RST_DEBUG   DBG_OFF

◆ TCP_RTO_DEBUG

#define TCP_RTO_DEBUG   DBG_OFF

◆ TCP_SNDLOWAT

#define TCP_SNDLOWAT   TCP_SND_BUF/2

◆ TCP_STATS

#define TCP_STATS   0

◆ TCP_WND_DEBUG

#define TCP_WND_DEBUG   DBG_OFF

◆ TCPIP_DEBUG

#define TCPIP_DEBUG   DBG_OFF

◆ UDP_DEBUG

#define UDP_DEBUG   DBG_OFF

◆ UDP_STATS

#define UDP_STATS   0