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"

Go to the source code of this file.

Defines

#define ARP_QUEUEING   0
#define ARP_TABLE_SIZE   10
#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_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.
#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 DNS_SERVER_ADDRESS   inet_addr("10.172.30.11")
 DNS server IP address.
#define ICMP_STATS   1
#define ICMP_TTL   255
#define IP_FORWARD   0
#define IP_OPTIONS   1
#define IP_STATS   1
#define LINK_STATS   1
#define LWIP_DBG_TYPES_ON   (LWIP_DBG_ON|LWIP_DBG_TRACE|LWIP_DBG_STATE|LWIP_DBG_FRESH)
#define LWIP_DHCP   0
#define LWIP_DNS   0
#define LWIP_NETIF_HOSTNAME   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   0
#define MEM_ALIGNMENT   4
#define MEM_RECLAIM   1
#define MEM_SIZE   3 * 1024
#define MEM_STATS   1
#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   0
#define MEMP_RECLAIM   1
#define MEMP_STATS   1
#define PBUF_LINK_HLEN   16
#define PBUF_POOL_BUFSIZE   500
#define PBUF_POOL_SIZE   6
#define PBUF_STATS   1
#define PPP_THREAD_NAME   "pppMain"
 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.
#define PPP_THREAD_STACKSIZE   configMINIMAL_STACK_SIZE
 PPP_THREAD_STACKSIZE: The stack size used by the pppMain thread.
#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.
#define SLIPIF_THREAD_STACKSIZE   configMINIMAL_STACK_SIZE
 SLIP_THREAD_STACKSIZE: The stack size used by the slipif_loop thread.
#define SYS_LIGHTWEIGHT_PROT   1
#define SYS_STATS   1
#define TCP_MAXRTX   12
#define TCP_MSS   1500
#define TCP_QUEUE_OOSEQ   1
#define TCP_SND_BUF   2150
#define TCP_SND_QUEUELEN   6 * TCP_SND_BUF/TCP_MSS
#define TCP_STATS   1
#define TCP_SYNMAXRTX   4
#define TCP_TTL   255
#define TCP_WND   1500
#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_STATS   1
#define UDP_TTL   0


Define Documentation

#define ARP_QUEUEING   0

Definition at line 225 of file lwipopts.h.

#define ARP_TABLE_SIZE   10

Definition at line 224 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 221 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 199 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 213 of file lwipopts.h.

#define DEFAULT_THREAD_NAME   "lwIP"

DEFAULT_THREAD_NAME: The name assigned to any other lwIP thread.

Definition at line 318 of file lwipopts.h.

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

Definition at line 332 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 325 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 206 of file lwipopts.h.

#define DNS_SERVER_ADDRESS   inet_addr("10.172.30.11")

DNS server IP address.

Definition at line 89 of file lwipopts.h.

#define ICMP_STATS   1

Definition at line 343 of file lwipopts.h.

#define ICMP_TTL   255

Definition at line 238 of file lwipopts.h.

#define IP_FORWARD   0

Definition at line 231 of file lwipopts.h.

#define IP_OPTIONS   1

Definition at line 235 of file lwipopts.h.

#define IP_STATS   1

Definition at line 342 of file lwipopts.h.

#define LINK_STATS   1

Definition at line 341 of file lwipopts.h.

#define LWIP_DBG_TYPES_ON   (LWIP_DBG_ON|LWIP_DBG_TRACE|LWIP_DBG_STATE|LWIP_DBG_FRESH)

Definition at line 385 of file lwipopts.h.

#define LWIP_DHCP   0

Definition at line 76 of file lwipopts.h.

#define LWIP_DNS   0

Definition at line 86 of file lwipopts.h.

#define LWIP_NETIF_HOSTNAME   1

Definition at line 96 of file lwipopts.h.

#define LWIP_NETIF_STATUS_CALLBACK   1

Definition at line 241 of file lwipopts.h.

#define LWIP_NOASSERT   1

Definition at line 55 of file lwipopts.h.

#define LWIP_STATS   1

Definition at line 336 of file lwipopts.h.

#define LWIP_STATS_DISPLAY   1

Definition at line 338 of file lwipopts.h.

#define LWIP_TCP   1

Definition at line 167 of file lwipopts.h.

#define LWIP_UDP   0

Definition at line 128 of file lwipopts.h.

#define MEM_ALIGNMENT   4

Definition at line 103 of file lwipopts.h.

#define MEM_RECLAIM   1

Definition at line 59 of file lwipopts.h.

#define MEM_SIZE   3 * 1024

Definition at line 107 of file lwipopts.h.

#define MEM_STATS   1

Definition at line 346 of file lwipopts.h.

#define MEMP_NUM_NETBUF   3

Definition at line 148 of file lwipopts.h.

#define MEMP_NUM_NETCONN   4

Definition at line 150 of file lwipopts.h.

#define MEMP_NUM_PBUF   6

Definition at line 113 of file lwipopts.h.

#define MEMP_NUM_RAW_PCB   1

Definition at line 116 of file lwipopts.h.

#define MEMP_NUM_SYS_TIMEOUT   6

Definition at line 143 of file lwipopts.h.

#define MEMP_NUM_TCP_PCB   2

Definition at line 137 of file lwipopts.h.

#define MEMP_NUM_TCP_PCB_LISTEN   1

Definition at line 139 of file lwipopts.h.

#define MEMP_NUM_TCP_SEG   9

Definition at line 141 of file lwipopts.h.

#define MEMP_NUM_UDP_PCB   0

Definition at line 133 of file lwipopts.h.

#define MEMP_RECLAIM   1

Definition at line 60 of file lwipopts.h.

#define MEMP_STATS   1

Definition at line 347 of file lwipopts.h.

#define PBUF_LINK_HLEN   16

Definition at line 164 of file lwipopts.h.

#define PBUF_POOL_BUFSIZE   500

Definition at line 160 of file lwipopts.h.

#define PBUF_POOL_SIZE   6

Definition at line 156 of file lwipopts.h.

#define PBUF_STATS   1

Definition at line 348 of file lwipopts.h.

#define PPP_THREAD_NAME   "pppMain"

PPP_THREAD_NAME: The name assigned to the pppMain thread.

Definition at line 299 of file lwipopts.h.

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

Definition at line 313 of file lwipopts.h.

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

Definition at line 306 of file lwipopts.h.

#define SLIPIF_THREAD_NAME   "slipif"

SLIPIF_THREAD_NAME: The name assigned to the slipif_loop thread.

Definition at line 280 of file lwipopts.h.

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

Definition at line 294 of file lwipopts.h.

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

Definition at line 287 of file lwipopts.h.

#define SYS_LIGHTWEIGHT_PROT   1

Definition at line 70 of file lwipopts.h.

#define SYS_STATS   1

Definition at line 349 of file lwipopts.h.

#define TCP_MAXRTX   12

Definition at line 188 of file lwipopts.h.

#define TCP_MSS   1500

Definition at line 176 of file lwipopts.h.

#define TCP_QUEUE_OOSEQ   1

Definition at line 173 of file lwipopts.h.

#define TCP_SND_BUF   2150

Definition at line 179 of file lwipopts.h.

#define TCP_SND_QUEUELEN   6 * TCP_SND_BUF/TCP_MSS

Definition at line 183 of file lwipopts.h.

#define TCP_STATS   1

Definition at line 345 of file lwipopts.h.

#define TCP_SYNMAXRTX   4

Definition at line 191 of file lwipopts.h.

#define TCP_TTL   255

Definition at line 168 of file lwipopts.h.

#define TCP_WND   1500

Definition at line 170 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 275 of file lwipopts.h.

#define TCPIP_THREAD_NAME   "TCP/IP"

TCPIP_THREAD_NAME: The name assigned to the main tcpip thread.

Definition at line 254 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 268 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 261 of file lwipopts.h.

#define UDP_STATS   1

Definition at line 344 of file lwipopts.h.

#define UDP_TTL   0

Definition at line 129 of file lwipopts.h.


Generated on Mon Nov 2 11:38:47 2009 for AVR32 - PolarSSL - SSL Example by  doxygen 1.5.5