Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

opt.h File Reference

#include "lwip/debug.h"
#include "rtl_lwipopts.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.

Defines

#define SYS_LIGHTWEIGHT_PROT   0
#define LWIP_PROVIDE_ERRNO   1
#define NO_SYS   0
#define ARP_QUEUEING   1
#define ETHARP_ALWAYS_INSERT   1
#define IP_REASSEMBLY   1
#define IP_FRAG   1
#define TCP_SNDLOWAT   TCP_SND_BUF/2
#define LWIP_EVENT_API   0
#define LWIP_CALLBACK_API   1
#define LWIP_COMPAT_SOCKETS   1
#define TCPIP_THREAD_PRIO   1
#define SLIPIF_THREAD_PRIO   1
#define PPP_THREAD_PRIO   1
#define DEFAULT_THREAD_PRIO   1
#define LWIP_STATS   1
#define LINK_STATS
#define IP_STATS
#define ICMP_STATS
#define UDP_STATS
#define TCP_STATS
#define MEM_STATS
#define MEMP_STATS
#define PBUF_STATS
#define SYS_STATS
#define PPP_SUPPORT   0
#define DBG_TYPES_ON   0
#define DEMO_DEBUG   DBG_OFF
#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_ON
#define INET_DEBUG   DBG_OFF
#define IP_DEBUG   DBG_OFF
#define IP_REASS_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 SLIP_DEBUG   DBG_OFF
#define DHCP_DEBUG   DBG_OFF
#define DBG_MIN_LEVEL   DBG_LEVEL_OFF


Define Documentation

#define API_LIB_DEBUG   DBG_OFF
 

Definition at line 449 of file opt.h.

Referenced by netconn_recv(), netconn_send(), and netconn_write().

#define API_MSG_DEBUG   DBG_OFF
 

Definition at line 453 of file opt.h.

Referenced by do_accept(), and do_listen().

#define ARP_QUEUEING   1
 

If enabled, outgoing packets are queued during hardware address resolution. The etharp.c implementation queues 1 packet only.

Definition at line 164 of file opt.h.

#define DBG_MIN_LEVEL   DBG_LEVEL_OFF
 

Definition at line 546 of file opt.h.

#define DBG_TYPES_ON   0
 

Definition at line 429 of file opt.h.

#define DEFAULT_THREAD_PRIO   1
 

Definition at line 317 of file opt.h.

#define DEMO_DEBUG   DBG_OFF
 

Definition at line 433 of file opt.h.

Referenced by icmp_input().

#define DHCP_DEBUG   DBG_OFF
 

Definition at line 541 of file opt.h.

Referenced by dhcp_bind(), dhcp_check(), dhcp_coarse_tmr(), dhcp_create_request(), dhcp_discover(), dhcp_fine_tmr(), dhcp_free_reply(), dhcp_get_option_byte(), dhcp_get_option_long(), dhcp_get_option_ptr(), dhcp_get_option_short(), dhcp_handle_nak(), dhcp_handle_offer(), dhcp_inform(), dhcp_rebind(), dhcp_recv(), dhcp_release(), dhcp_renew(), dhcp_select(), dhcp_start(), dhcp_stop(), dhcp_t1_timeout(), dhcp_t2_timeout(), dhcp_timeout(), and dhcp_unfold_reply().

#define ETHARP_ALWAYS_INSERT   1
 

If defined to 1, cache entries are updated or added for every kind of ARP traffic or broadcast IP traffic. Recommended for routers. If defined to 0, only existing cache entries are updated. Entries are added when lwIP is sending to them. Recommended for embedded devices.

Definition at line 173 of file opt.h.

Referenced by update_arp_entry().

#define ETHARP_DEBUG   DBG_OFF
 

Definition at line 437 of file opt.h.

Referenced by etharp_arp_input(), etharp_ip_input(), etharp_output(), etharp_query(), etharp_tmr(), find_arp_entry(), and update_arp_entry().

#define ICMP_DEBUG   DBG_ON
 

Definition at line 461 of file opt.h.

Referenced by icmp_input(), and icmp_time_exceeded().

#define ICMP_STATS
 

Definition at line 328 of file opt.h.

#define INET_DEBUG   DBG_OFF
 

Definition at line 465 of file opt.h.

Referenced by inet_chksum_pseudo(), and lwip_chksum().

#define IP_DEBUG   DBG_OFF
 

Definition at line 469 of file opt.h.

Referenced by ip_forward(), ip_input(), ip_output(), and ip_output_if().

#define IP_FRAG   1
 

Fragment outgoing IP packets if their size exceeds MTU

Definition at line 202 of file opt.h.

#define IP_REASS_DEBUG   DBG_OFF
 

Definition at line 473 of file opt.h.

Referenced by ip_reass().

#define IP_REASSEMBLY   1
 

Reassemble incoming fragmented IP packets

Definition at line 197 of file opt.h.

#define IP_STATS
 

Definition at line 327 of file opt.h.

#define LINK_STATS
 

Definition at line 326 of file opt.h.

#define LWIP_CALLBACK_API   1
 

Definition at line 293 of file opt.h.

#define LWIP_COMPAT_SOCKETS   1
 

Definition at line 300 of file opt.h.

#define LWIP_EVENT_API   0
 

Definition at line 292 of file opt.h.

#define LWIP_PROVIDE_ERRNO   1
 

Definition at line 53 of file opt.h.

#define LWIP_STATS   1
 

Definition at line 321 of file opt.h.

#define MEM_DEBUG   DBG_OFF
 

Definition at line 477 of file opt.h.

Referenced by mem_free(), mem_malloc(), and mem_realloc().

#define MEM_STATS
 

Definition at line 331 of file opt.h.

#define MEMP_DEBUG   DBG_OFF
 

Definition at line 481 of file opt.h.

Referenced by memp_malloc().

#define MEMP_STATS
 

Definition at line 332 of file opt.h.

#define NETIF_DEBUG   DBG_OFF
 

Definition at line 441 of file opt.h.

Referenced by netif_add(), netif_find(), netif_remove(), netif_set_default(), netif_set_gw(), netif_set_ipaddr(), and netif_set_netmask().

#define NO_SYS   0
 

Definition at line 57 of file opt.h.

#define PBUF_DEBUG   DBG_OFF
 

Definition at line 445 of file opt.h.

Referenced by pbuf_alloc(), pbuf_chain(), pbuf_dechain(), pbuf_free(), pbuf_header(), and pbuf_take().

#define PBUF_STATS
 

Definition at line 333 of file opt.h.

#define PPP_SUPPORT   0
 

Definition at line 341 of file opt.h.

#define PPP_THREAD_PRIO   1
 

Definition at line 313 of file opt.h.

#define SLIP_DEBUG   DBG_OFF
 

Definition at line 537 of file opt.h.

Referenced by slipif_init(), and slipif_input().

#define SLIPIF_THREAD_PRIO   1
 

Definition at line 309 of file opt.h.

Referenced by slipif_init().

#define SOCKETS_DEBUG   DBG_OFF
 

Definition at line 457 of file opt.h.

Referenced by get_socket(), lwip_accept(), lwip_bind(), lwip_close(), lwip_connect(), lwip_getpeername(), lwip_getsockname(), lwip_getsockopt(), lwip_ioctl(), lwip_listen(), lwip_recvfrom(), lwip_select(), lwip_selscan(), lwip_send(), lwip_sendto(), lwip_setsockopt(), lwip_shutdown(), and lwip_socket().

#define SYS_DEBUG   DBG_OFF
 

Definition at line 485 of file opt.h.

#define SYS_LIGHTWEIGHT_PROT   0
 

Definition at line 49 of file opt.h.

#define SYS_STATS
 

Definition at line 334 of file opt.h.

#define TCP_CWND_DEBUG   DBG_OFF
 

Definition at line 509 of file opt.h.

#define TCP_DEBUG   DBG_OFF
 

Definition at line 489 of file opt.h.

#define TCP_FR_DEBUG   DBG_OFF
 

Definition at line 497 of file opt.h.

#define TCP_INPUT_DEBUG   DBG_OFF
 

Definition at line 493 of file opt.h.

#define TCP_OUTPUT_DEBUG   DBG_OFF
 

Definition at line 517 of file opt.h.

#define TCP_QLEN_DEBUG   DBG_OFF
 

Definition at line 525 of file opt.h.

#define TCP_REXMIT_DEBUG   DBG_OFF
 

Definition at line 505 of file opt.h.

#define TCP_RST_DEBUG   DBG_OFF
 

Definition at line 521 of file opt.h.

#define TCP_RTO_DEBUG   DBG_OFF
 

Definition at line 501 of file opt.h.

#define TCP_SNDLOWAT   TCP_SND_BUF/2
 

Definition at line 285 of file opt.h.

Referenced by do_write().

#define TCP_STATS
 

Definition at line 330 of file opt.h.

#define TCP_WND_DEBUG   DBG_OFF
 

Definition at line 513 of file opt.h.

#define TCPIP_DEBUG   DBG_OFF
 

Definition at line 533 of file opt.h.

Referenced by tcpip_thread().

#define TCPIP_THREAD_PRIO   1
 

Definition at line 305 of file opt.h.

#define UDP_DEBUG   DBG_OFF
 

Definition at line 529 of file opt.h.

#define UDP_STATS
 

Definition at line 329 of file opt.h.


Generated on Wed Jan 14 12:59:08 2004 for RTL-lwIP-0.4 by doxygen 1.3.4