Microchip® Advanced Software Framework

thirdparty/freertos/demo/lwip_avr32_uc3_dhcp_example/lwipopts.h File Reference
#include "conf_lwip_threads.h"
#include "lwip/debug.h"

Macros

#define API_LIB_DEBUG   LWIP_DBG_OFF
 
#define API_MSG_DEBUG   LWIP_DBG_ON
 
#define ARP_QUEUEING   0
 
#define ARP_TABLE_SIZE   10
 
#define DBG_MIN_LEVEL   LWIP_DBG_LEVEL_SEVERE
 
#define DBG_TYPES_ON   0xff
 
#define DEFAULT_ACCEPTMBOX_SIZE   6
 DEFAULT_ACCEPTMBOX_SIZE: The mailbox size for the incoming connections. More...
 
#define DEFAULT_RAW_RECVMBOX_SIZE   6
 DEFAULT_RAW_RECVMBOX_SIZE: The mailbox size for the incoming packets on a NETCONN_RAW. More...
 
#define DEFAULT_TCP_RECVMBOX_SIZE   6
 DEFAULT_TCP_RECVMBOX_SIZE: The mailbox size for the incoming packets on a NETCONN_TCP. More...
 
#define DEFAULT_THREAD_NAME   "lwIP"
 DEFAULT_THREAD_NAME: The name assigned to any other lwIP thread. More...
 
#define DEFAULT_THREAD_PRIO   1
 DEFAULT_THREAD_PRIO: The priority assigned to any other lwIP thread. More...
 
#define DEFAULT_THREAD_STACKSIZE   configMINIMAL_STACK_SIZE
 DEFAULT_THREAD_STACKSIZE: The stack size used by any other lwIP thread. More...
 
#define DEFAULT_UDP_RECVMBOX_SIZE   6
 DEFAULT_UDP_RECVMBOX_SIZE: The mailbox size for the incoming packets on a NETCONN_UDP. More...
 
#define ETH_PAD_SIZE   0
 ETH_PAD_SIZE: number of bytes added before the ethernet header to ensure alignment of payload after that header. More...
 
#define ETHARP_DEBUG   LWIP_DBG_OFF
 
#define ICMP_DEBUG   LWIP_DBG_OFF
 
#define ICMP_STATS   1
 
#define ICMP_TTL   255
 
#define INET_DEBUG   LWIP_DBG_OFF
 
#define IP_DEBUG   LWIP_DBG_OFF
 
#define IP_FORWARD   0
 
#define IP_OPTIONS   1
 
#define IP_REASS_DEBUG   LWIP_DBG_OFF
 
#define IP_STATS   1
 
#define LINK_STATS   1
 
#define LWIP_DHCP   1
 
#define LWIP_NETIF_STATUS_CALLBACK   1
 
#define LWIP_NOASSERT   1
 
#define LWIP_STATS   1
 
#define LWIP_STATS_DISPLAY   1
 
#define LWIP_TCP   1
 
#define LWIP_UDP   1
 
#define MEM_ALIGNMENT   4
 
#define MEM_DEBUG   LWIP_DBG_OFF
 
#define MEM_RECLAIM   1
 
#define MEM_SIZE   3 * 1024
 
#define MEM_STATS   1
 
#define MEMP_DEBUG   LWIP_DBG_OFF
 
#define MEMP_NUM_NETBUF   3
 
#define MEMP_NUM_NETCONN   4
 
#define MEMP_NUM_PBUF   6
 
#define MEMP_NUM_RAW_PCB   1
 
#define MEMP_NUM_SYS_TIMEOUT   6
 
#define MEMP_NUM_TCP_PCB   2
 
#define MEMP_NUM_TCP_PCB_LISTEN   1
 
#define MEMP_NUM_TCP_SEG   9
 
#define MEMP_NUM_UDP_PCB   1
 
#define MEMP_RECLAIM   1
 
#define MEMP_STATS   1
 
#define NETIF_DEBUG   LWIP_DBG_OFF
 
#define PBUF_DEBUG   LWIP_DBG_ON
 
#define PBUF_LINK_HLEN   (16 + ETH_PAD_SIZE)
 
#define PBUF_POOL_BUFSIZE   500
 
#define PBUF_POOL_SIZE   6
 
#define PBUF_STATS   1
 
#define PPP_THREAD_NAME   "pppInputThread"
 PPP_THREAD_NAME: The name assigned to the pppMain thread. More...
 
#define PPP_THREAD_PRIO   1
 PPP_THREAD_PRIO: The priority assigned to the pppMain thread. More...
 
#define PPP_THREAD_STACKSIZE   configMINIMAL_STACK_SIZE
 PPP_THREAD_STACKSIZE: The stack size used by the pppMain thread. More...
 
#define RAW_DEBUG   LWIP_DBG_OFF
 
#define SLIPIF_THREAD_NAME   "slipif"
 SLIPIF_THREAD_NAME: The name assigned to the slipif_loop thread. More...
 
#define SLIPIF_THREAD_PRIO   1
 SLIPIF_THREAD_PRIO: The priority assigned to the slipif_loop thread. More...
 
#define SLIPIF_THREAD_STACKSIZE   configMINIMAL_STACK_SIZE
 SLIP_THREAD_STACKSIZE: The stack size used by the slipif_loop thread. More...
 
#define SOCKETS_DEBUG   LWIP_DBG_OFF
 
#define SYS_DEBUG   LWIP_DBG_OFF
 
#define SYS_LIGHTWEIGHT_PROT   1
 
#define SYS_STATS   1
 
#define TCP_CWND_DEBUG   LWIP_DBG_OFF
 
#define TCP_DEBUG   LWIP_DBG_ON
 
#define TCP_FR_DEBUG   LWIP_DBG_OFF
 
#define TCP_INPUT_DEBUG   LWIP_DBG_OFF
 
#define TCP_MAXRTX   12
 
#define TCP_MSS   1500
 
#define TCP_OUTPUT_DEBUG   LWIP_DBG_OFF
 
#define TCP_QLEN_DEBUG   LWIP_DBG_OFF
 
#define TCP_QUEUE_OOSEQ   1
 
#define TCP_RST_DEBUG   LWIP_DBG_OFF
 
#define TCP_RTO_DEBUG   LWIP_DBG_OFF
 
#define TCP_SND_BUF   2150
 
#define TCP_SND_QUEUELEN   ((6 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS))
 
#define TCP_STATS   1
 
#define TCP_SYNMAXRTX   4
 
#define TCP_TTL   255
 
#define TCP_WND   1500
 
#define TCP_WND_DEBUG   LWIP_DBG_OFF
 
#define TCPIP_DEBUG   LWIP_DBG_OFF
 
#define TCPIP_MBOX_SIZE   6
 TCPIP_MBOX_SIZE: The mailbox size for the tcpip thread messages The queue size value itself is platform-dependent, but is passed to sys_mbox_new() when tcpip_init is called. More...
 
#define TCPIP_THREAD_NAME   "TCP/IP"
 TCPIP_THREAD_NAME: The name assigned to the main tcpip thread. More...
 
#define TCPIP_THREAD_PRIO   lwipINTERFACE_TASK_PRIORITY
 TCPIP_THREAD_PRIO: The priority assigned to the main tcpip thread. More...
 
#define TCPIP_THREAD_STACKSIZE   lwipINTERFACE_STACK_SIZE
 TCPIP_THREAD_STACKSIZE: The stack size used by the main tcpip thread. More...
 
#define UDP_DEBUG   LWIP_DBG_OFF
 
#define UDP_STATS   1
 
#define UDP_TTL   255
 

#define API_LIB_DEBUG   LWIP_DBG_OFF
#define API_MSG_DEBUG   LWIP_DBG_ON
#define ARP_QUEUEING   0
#define ARP_TABLE_SIZE   10
#define DBG_MIN_LEVEL   LWIP_DBG_LEVEL_SEVERE
#define DBG_TYPES_ON   0xff
#define DEFAULT_ACCEPTMBOX_SIZE   6

DEFAULT_ACCEPTMBOX_SIZE: The mailbox size for the incoming connections.

The queue size value itself is platform-dependent, but is passed to sys_mbox_new() when the acceptmbox is created.

#define DEFAULT_RAW_RECVMBOX_SIZE   6

DEFAULT_RAW_RECVMBOX_SIZE: The mailbox size for the incoming packets on a NETCONN_RAW.

The queue size value itself is platform-dependent, but is passed to sys_mbox_new() when the recvmbox is created.

#define DEFAULT_TCP_RECVMBOX_SIZE   6

DEFAULT_TCP_RECVMBOX_SIZE: The mailbox size for the incoming packets on a NETCONN_TCP.

The queue size value itself is platform-dependent, but is passed to sys_mbox_new() when the recvmbox is created.

#define DEFAULT_THREAD_NAME   "lwIP"

DEFAULT_THREAD_NAME: The name assigned to any other lwIP thread.

#define DEFAULT_THREAD_PRIO   1

DEFAULT_THREAD_PRIO: The priority assigned to any other lwIP thread.

The priority value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.

#define DEFAULT_THREAD_STACKSIZE   configMINIMAL_STACK_SIZE

DEFAULT_THREAD_STACKSIZE: The stack size used by any other lwIP thread.

The stack size value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.

#define DEFAULT_UDP_RECVMBOX_SIZE   6

DEFAULT_UDP_RECVMBOX_SIZE: The mailbox size for the incoming packets on a NETCONN_UDP.

The queue size value itself is platform-dependent, but is passed to sys_mbox_new() when the recvmbox is created.

#define ETH_PAD_SIZE   0

ETH_PAD_SIZE: number of bytes added before the ethernet header to ensure alignment of payload after that header.

Since the header is 14 bytes long, without this padding e.g. addresses in the IP header will not be aligned on a 32-bit boundary, so setting this to 2 can speed up 32-bit-platforms.

#define ETHARP_DEBUG   LWIP_DBG_OFF
#define ICMP_DEBUG   LWIP_DBG_OFF
#define ICMP_STATS   1
#define ICMP_TTL   255
#define INET_DEBUG   LWIP_DBG_OFF
#define IP_DEBUG   LWIP_DBG_OFF
#define IP_FORWARD   0
#define IP_OPTIONS   1
#define IP_REASS_DEBUG   LWIP_DBG_OFF
#define IP_STATS   1
#define LINK_STATS   1
#define LWIP_DHCP   1
#define LWIP_NETIF_STATUS_CALLBACK   1
#define LWIP_NOASSERT   1
#define LWIP_STATS   1
#define LWIP_STATS_DISPLAY   1
#define LWIP_TCP   1
#define LWIP_UDP   1
#define MEM_ALIGNMENT   4
#define MEM_DEBUG   LWIP_DBG_OFF
#define MEM_RECLAIM   1
#define MEM_SIZE   3 * 1024
#define MEM_STATS   1
#define MEMP_DEBUG   LWIP_DBG_OFF
#define MEMP_NUM_NETBUF   3
#define MEMP_NUM_NETCONN   4
#define MEMP_NUM_PBUF   6
#define MEMP_NUM_RAW_PCB   1
#define MEMP_NUM_SYS_TIMEOUT   6
#define MEMP_NUM_TCP_PCB   2
#define MEMP_NUM_TCP_PCB_LISTEN   1
#define MEMP_NUM_TCP_SEG   9
#define MEMP_NUM_UDP_PCB   1
#define MEMP_RECLAIM   1
#define MEMP_STATS   1
#define NETIF_DEBUG   LWIP_DBG_OFF
#define PBUF_DEBUG   LWIP_DBG_ON
#define PBUF_LINK_HLEN   (16 + ETH_PAD_SIZE)
#define PBUF_POOL_BUFSIZE   500
#define PBUF_POOL_SIZE   6
#define PBUF_STATS   1
#define PPP_THREAD_NAME   "pppInputThread"

PPP_THREAD_NAME: The name assigned to the pppMain thread.

#define PPP_THREAD_PRIO   1

PPP_THREAD_PRIO: The priority assigned to the pppMain thread.

The priority value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.

#define PPP_THREAD_STACKSIZE   configMINIMAL_STACK_SIZE

PPP_THREAD_STACKSIZE: The stack size used by the pppMain thread.

The stack size value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.

#define RAW_DEBUG   LWIP_DBG_OFF
#define SLIPIF_THREAD_NAME   "slipif"

SLIPIF_THREAD_NAME: The name assigned to the slipif_loop thread.

#define SLIPIF_THREAD_PRIO   1

SLIPIF_THREAD_PRIO: The priority assigned to the slipif_loop thread.

The priority value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.

#define SLIPIF_THREAD_STACKSIZE   configMINIMAL_STACK_SIZE

SLIP_THREAD_STACKSIZE: The stack size used by the slipif_loop thread.

The stack size value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.

#define SOCKETS_DEBUG   LWIP_DBG_OFF
#define SYS_DEBUG   LWIP_DBG_OFF
#define SYS_LIGHTWEIGHT_PROT   1
#define SYS_STATS   1
#define TCP_CWND_DEBUG   LWIP_DBG_OFF
#define TCP_DEBUG   LWIP_DBG_ON
#define TCP_FR_DEBUG   LWIP_DBG_OFF
#define TCP_INPUT_DEBUG   LWIP_DBG_OFF
#define TCP_MAXRTX   12
#define TCP_MSS   1500
#define TCP_OUTPUT_DEBUG   LWIP_DBG_OFF
#define TCP_QLEN_DEBUG   LWIP_DBG_OFF
#define TCP_QUEUE_OOSEQ   1
#define TCP_RST_DEBUG   LWIP_DBG_OFF
#define TCP_RTO_DEBUG   LWIP_DBG_OFF
#define TCP_SND_BUF   2150
#define TCP_SND_QUEUELEN   ((6 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS))
#define TCP_STATS   1
#define TCP_SYNMAXRTX   4
#define TCP_TTL   255
#define TCP_WND   1500
#define TCP_WND_DEBUG   LWIP_DBG_OFF
#define TCPIP_DEBUG   LWIP_DBG_OFF
#define TCPIP_MBOX_SIZE   6

TCPIP_MBOX_SIZE: The mailbox size for the tcpip thread messages The queue size value itself is platform-dependent, but is passed to sys_mbox_new() when tcpip_init is called.

#define TCPIP_THREAD_NAME   "TCP/IP"

TCPIP_THREAD_NAME: The name assigned to the main tcpip thread.

#define TCPIP_THREAD_PRIO   lwipINTERFACE_TASK_PRIORITY

TCPIP_THREAD_PRIO: The priority assigned to the main tcpip thread.

The priority value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.

#define TCPIP_THREAD_STACKSIZE   lwipINTERFACE_STACK_SIZE

TCPIP_THREAD_STACKSIZE: The stack size used by the main tcpip thread.

The stack size value itself is platform-dependent, but is passed to sys_thread_new() when the thread is created.

#define UDP_DEBUG   LWIP_DBG_OFF
#define UDP_STATS   1
#define UDP_TTL   255