lwipopts.h File Reference


Detailed Description

lwIP configuration for AVR32 UC3.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file lwipopts.h.

#include "conf_lwip_threads.h"
#include "lwip/debug.h"
#include "tracedump.h"
#include <sys/time.h>

Go to the source code of this file.

Defines

#define API_LIB_DEBUG   DBG_OFF
#define API_MSG_DEBUG   DBG_ON
#define ARP_TABLE_SIZE   5
 Number of active hardware address, IP address pairs cached.
#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.
#define DEFAULT_RAW_RECVMBOX_SIZE   6
 DEFAULT_RAW_RECVMBOX_SIZE: The mailbox size for the incoming packets on a NETCONN_RAW.
#define DEFAULT_TCP_RECVMBOX_SIZE   6
 DEFAULT_TCP_RECVMBOX_SIZE: The mailbox size for the incoming packets on a NETCONN_TCP.
#define DEFAULT_THREAD_STACKSIZE   configMINIMAL_STACK_SIZE
 DEFAULT_THREAD_STACKSIZE: The stack size used by any other lwIP thread.
#define DEFAULT_UDP_RECVMBOX_SIZE   6
 DEFAULT_UDP_RECVMBOX_SIZE: The mailbox size for the incoming packets on a NETCONN_UDP.
#define ETHARP_DEBUG   DBG_OFF
#define ICMP_DEBUG   DBG_OFF
#define ICMP_STATS   1
#define ICMP_TTL   255
#define INET_DEBUG   DBG_OFF
#define IP_DEBUG   DBG_OFF
#define IP_FORWARD   0
 If enabled, outgoing packets are queued during hardware address resolution.
#define IP_OPTIONS   1
#define IP_REASS_DEBUG   DBG_OFF
#define IP_REASSEMBLY   0
 IP reassembly and segmentation.
#define IP_STATS   1
#define LINK_STATS   1
#define LWIP_DHCP   0
#define LWIP_NOASSERT   1
#define LWIP_PLATFORM_ASSERT(x)   NAKED_TRACE_COM2(x)
#define LWIP_PLATFORM_DIAG(x)   NAKED_TRACE_COM2 x
#define LWIP_RAW   0
#define LWIP_STATS   1
#define LWIP_STATS_DISPLAY   1
#define LWIP_TCP   1
#define LWIP_TIMEVAL_PRIVATE   0
#define LWIP_UDP   0
#define MEM_ALIGNMENT   4
#define MEM_DEBUG   DBG_OFF
#define MEM_SIZE   4 * 1024
#define MEM_STATS   1
#define MEMP_DEBUG   DBG_OFF
#define MEMP_NUM_NETBUF   3
#define MEMP_NUM_NETCONN   6
#define MEMP_NUM_PBUF   0
#define MEMP_NUM_RAW_PCB   0
#define MEMP_NUM_SYS_TIMEOUT   4
#define MEMP_NUM_TCP_PCB   15
#define MEMP_NUM_TCP_PCB_LISTEN   1
#define MEMP_NUM_TCP_SEG   9
#define MEMP_NUM_UDP_PCB   0
#define MEMP_STATS   1
#define NETIF_DEBUG   DBG_OFF
#define PBUF_DEBUG   DBG_ON
#define PBUF_LINK_HLEN   14
#define PBUF_POOL_BUFSIZE   512
#define PBUF_POOL_SIZE   10
#define PBUF_STATS   1
#define RAW_DEBUG   DBG_OFF
#define SOCKETS_DEBUG   DBG_OFF
#define SYS_DEBUG   DBG_OFF
#define SYS_LIGHTWEIGHT_PROT   1
#define SYS_STATS   1
#define TCP_CWND_DEBUG   DBG_OFF
#define TCP_DEBUG   DBG_ON
#define TCP_FR_DEBUG   DBG_OFF
#define TCP_INPUT_DEBUG   DBG_OFF
#define TCP_MAXRTX   6
#define TCP_MSS   1024
#define TCP_OUTPUT_DEBUG   DBG_OFF
#define TCP_QLEN_DEBUG   DBG_OFF
#define TCP_QUEUE_OOSEQ   1
#define TCP_RST_DEBUG   DBG_OFF
#define TCP_RTO_DEBUG   DBG_OFF
#define TCP_SND_BUF   2048
#define TCP_SND_QUEUELEN   6 * TCP_SND_BUF/TCP_MSS
#define TCP_STATS   1
#define TCP_SYNMAXRTX   6
#define TCP_TTL   255
#define TCP_WND   2048
#define TCP_WND_DEBUG   DBG_OFF
#define TCPIP_DEBUG   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.
#define TCPIP_THREAD_STACKSIZE   lwipINTERFACE_STACK_SIZE
 TCPIP_THREAD_STACKSIZE: The stack size used by the main tcpip thread.
#define UDP_DEBUG   DBG_OFF
#define UDP_STATS   1
#define UDP_TTL   0


Define Documentation

#define API_LIB_DEBUG   DBG_OFF

Definition at line 346 of file lwipopts.h.

#define API_MSG_DEBUG   DBG_ON

Definition at line 348 of file lwipopts.h.

#define ARP_TABLE_SIZE   5

Number of active hardware address, IP address pairs cached.

Definition at line 172 of file lwipopts.h.

#define DBG_MIN_LEVEL   LWIP_DBG_LEVEL_SEVERE

Definition at line 390 of file lwipopts.h.

#define DBG_TYPES_ON   0xff

Definition at line 338 of file lwipopts.h.

#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.

Definition at line 167 of file lwipopts.h.

#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.

Definition at line 145 of file lwipopts.h.

#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.

Definition at line 159 of file lwipopts.h.

#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.

Definition at line 297 of file lwipopts.h.

#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.

Definition at line 152 of file lwipopts.h.

#define ETHARP_DEBUG   DBG_OFF

Definition at line 340 of file lwipopts.h.

#define ICMP_DEBUG   DBG_OFF

Definition at line 352 of file lwipopts.h.

#define ICMP_STATS   1

Definition at line 320 of file lwipopts.h.

#define ICMP_TTL   255

Definition at line 211 of file lwipopts.h.

#define INET_DEBUG   DBG_OFF

Definition at line 354 of file lwipopts.h.

#define IP_DEBUG   DBG_OFF

Definition at line 356 of file lwipopts.h.

#define IP_FORWARD   0

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.

Definition at line 194 of file lwipopts.h.

#define IP_OPTIONS   1

Definition at line 198 of file lwipopts.h.

#define IP_REASS_DEBUG   DBG_OFF

Definition at line 358 of file lwipopts.h.

#define IP_REASSEMBLY   0

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 packets Reassemble incoming fragmented IP packets

Definition at line 206 of file lwipopts.h.

#define IP_STATS   1

Definition at line 319 of file lwipopts.h.

#define LINK_STATS   1

Definition at line 318 of file lwipopts.h.

#define LWIP_DHCP   0

Definition at line 221 of file lwipopts.h.

#define LWIP_NOASSERT   1

Definition at line 59 of file lwipopts.h.

#define LWIP_PLATFORM_ASSERT (  )     NAKED_TRACE_COM2(x)

Definition at line 55 of file lwipopts.h.

#define LWIP_PLATFORM_DIAG (  )     NAKED_TRACE_COM2 x

Definition at line 54 of file lwipopts.h.

#define LWIP_RAW   0

Definition at line 215 of file lwipopts.h.

#define LWIP_STATS   1

Definition at line 312 of file lwipopts.h.

#define LWIP_STATS_DISPLAY   1

Definition at line 314 of file lwipopts.h.

#define LWIP_TCP   1

Definition at line 231 of file lwipopts.h.

#define LWIP_TIMEVAL_PRIVATE   0

Definition at line 305 of file lwipopts.h.

#define LWIP_UDP   0

Definition at line 98 of file lwipopts.h.

#define MEM_ALIGNMENT   4

Definition at line 75 of file lwipopts.h.

#define MEM_DEBUG   DBG_OFF

Definition at line 362 of file lwipopts.h.

#define MEM_SIZE   4 * 1024

Definition at line 79 of file lwipopts.h.

#define MEM_STATS   1

Definition at line 323 of file lwipopts.h.

#define MEMP_DEBUG   DBG_OFF

Definition at line 364 of file lwipopts.h.

#define MEMP_NUM_NETBUF   3

Definition at line 120 of file lwipopts.h.

#define MEMP_NUM_NETCONN   6

Definition at line 122 of file lwipopts.h.

#define MEMP_NUM_PBUF   0

Definition at line 84 of file lwipopts.h.

#define MEMP_NUM_RAW_PCB   0

Definition at line 87 of file lwipopts.h.

#define MEMP_NUM_SYS_TIMEOUT   4

Definition at line 115 of file lwipopts.h.

#define MEMP_NUM_TCP_PCB   15

Definition at line 106 of file lwipopts.h.

#define MEMP_NUM_TCP_PCB_LISTEN   1

Definition at line 109 of file lwipopts.h.

#define MEMP_NUM_TCP_SEG   9

Definition at line 112 of file lwipopts.h.

#define MEMP_NUM_UDP_PCB   0

Definition at line 102 of file lwipopts.h.

#define MEMP_STATS   1

Definition at line 324 of file lwipopts.h.

#define NETIF_DEBUG   DBG_OFF

Definition at line 342 of file lwipopts.h.

#define PBUF_DEBUG   DBG_ON

Definition at line 344 of file lwipopts.h.

#define PBUF_LINK_HLEN   14

Definition at line 137 of file lwipopts.h.

#define PBUF_POOL_BUFSIZE   512

Definition at line 132 of file lwipopts.h.

#define PBUF_POOL_SIZE   10

Definition at line 128 of file lwipopts.h.

#define PBUF_STATS   1

Definition at line 325 of file lwipopts.h.

#define RAW_DEBUG   DBG_OFF

Definition at line 360 of file lwipopts.h.

#define SOCKETS_DEBUG   DBG_OFF

Definition at line 350 of file lwipopts.h.

#define SYS_DEBUG   DBG_OFF

Definition at line 366 of file lwipopts.h.

#define SYS_LIGHTWEIGHT_PROT   1

Definition at line 68 of file lwipopts.h.

#define SYS_STATS   1

Definition at line 326 of file lwipopts.h.

#define TCP_CWND_DEBUG   DBG_OFF

Definition at line 376 of file lwipopts.h.

#define TCP_DEBUG   DBG_ON

Definition at line 368 of file lwipopts.h.

#define TCP_FR_DEBUG   DBG_OFF

Definition at line 372 of file lwipopts.h.

#define TCP_INPUT_DEBUG   DBG_OFF

Definition at line 370 of file lwipopts.h.

#define TCP_MAXRTX   6

Definition at line 254 of file lwipopts.h.

#define TCP_MSS   1024

Definition at line 243 of file lwipopts.h.

#define TCP_OUTPUT_DEBUG   DBG_OFF

Definition at line 380 of file lwipopts.h.

#define TCP_QLEN_DEBUG   DBG_OFF

Definition at line 384 of file lwipopts.h.

#define TCP_QUEUE_OOSEQ   1

Definition at line 240 of file lwipopts.h.

#define TCP_RST_DEBUG   DBG_OFF

Definition at line 382 of file lwipopts.h.

#define TCP_RTO_DEBUG   DBG_OFF

Definition at line 374 of file lwipopts.h.

#define TCP_SND_BUF   2048

Definition at line 246 of file lwipopts.h.

#define TCP_SND_QUEUELEN   6 * TCP_SND_BUF/TCP_MSS

Definition at line 250 of file lwipopts.h.

#define TCP_STATS   1

Definition at line 322 of file lwipopts.h.

#define TCP_SYNMAXRTX   6

Definition at line 257 of file lwipopts.h.

#define TCP_TTL   255

Definition at line 233 of file lwipopts.h.

#define TCP_WND   2048

Definition at line 235 of file lwipopts.h.

#define TCP_WND_DEBUG   DBG_OFF

Definition at line 378 of file lwipopts.h.

#define TCPIP_DEBUG   DBG_OFF

Definition at line 388 of file lwipopts.h.

#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.

Definition at line 289 of file lwipopts.h.

#define TCPIP_THREAD_NAME   "TCP/IP"

TCPIP_THREAD_NAME: The name assigned to the main tcpip thread.

Definition at line 268 of file lwipopts.h.

#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.

Definition at line 282 of file lwipopts.h.

#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.

Definition at line 275 of file lwipopts.h.

#define UDP_DEBUG   DBG_OFF

Definition at line 386 of file lwipopts.h.

#define UDP_STATS   1

Definition at line 321 of file lwipopts.h.

#define UDP_TTL   0

Definition at line 99 of file lwipopts.h.


Generated on Fri Feb 19 02:22:46 2010 for AVR32 - Control Panel demonstration. by  doxygen 1.5.5