Macros | |
#define | API_LIB_DEBUG LWIP_DBG_OFF |
#define | API_MSG_DEBUG LWIP_DBG_ON |
#define | ARP_TABLE_SIZE 5 |
Number of active hardware address, IP address pairs cached. More... | |
#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_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 |
If enabled, outgoing packets are queued during hardware address resolution. More... | |
#define | IP_OPTIONS 1 |
#define | IP_REASS_DEBUG LWIP_DBG_OFF |
#define | IP_REASSEMBLY 0 |
IP reassembly and segmentation. More... | |
#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 LWIP_DBG_OFF |
#define | MEM_SIZE 4 * 1024 |
#define | MEM_STATS 1 |
#define | MEMP_DEBUG LWIP_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 LWIP_DBG_OFF |
#define | PBUF_DEBUG LWIP_DBG_ON |
#define | PBUF_LINK_HLEN (14 + ETH_PAD_SIZE) |
#define | PBUF_POOL_BUFSIZE 512 |
#define | PBUF_POOL_SIZE 10 |
#define | PBUF_STATS 1 |
#define | RAW_DEBUG LWIP_DBG_OFF |
#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 6 |
#define | TCP_MSS 1024 |
#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 2048 |
#define | TCP_SND_QUEUELEN ((6 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS)) |
#define | TCP_STATS 1 |
#define | TCP_SYNMAXRTX 6 |
#define | TCP_TTL 255 |
#define | TCP_WND 2048 |
#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 0 |
#define API_LIB_DEBUG LWIP_DBG_OFF |
Referenced by netconn_recv_data(), and netconn_send().
#define API_MSG_DEBUG LWIP_DBG_ON |
Referenced by accept_function().
#define ARP_TABLE_SIZE 5 |
Number of active hardware address, IP address pairs cached.
Referenced by etharp_output(), etharp_tmr(), and find_entry().
#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.
Referenced by do_listen().
#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.
Referenced by netconn_alloc().
#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.
Referenced by netconn_alloc().
#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.
Referenced by netconn_alloc().
#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.
Referenced by low_level_input(), and low_level_output().
#define ETHARP_DEBUG LWIP_DBG_OFF |
#define ICMP_DEBUG LWIP_DBG_OFF |
Referenced by icmp_input(), and icmp_send_response().
#define ICMP_STATS 1 |
#define ICMP_TTL 255 |
Referenced by icmp_input(), and icmp_send_response().
#define INET_DEBUG LWIP_DBG_OFF |
Referenced by inet_chksum_pseudo(), and inet_chksum_pseudo_partial().
#define IP_DEBUG LWIP_DBG_OFF |
Referenced by ip_input(), ip_output(), and ip_route().
#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.
#define IP_OPTIONS 1 |
#define IP_REASS_DEBUG LWIP_DBG_OFF |
Referenced by ip_frag().
#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 packetsReassemble incoming fragmented IP packets
#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 |
Referenced by stats_display_mem(), stats_display_proto(), and stats_display_sys().
#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 |
Referenced by if(), mem_free(), mem_init(), mem_malloc(), memp_free(), pbuf_alloc(), tcp_enqueue_flags(), and tcp_output_segment().
#define MEM_DEBUG LWIP_DBG_OFF |
Referenced by mem_free(), mem_malloc(), and mem_trim().
#define MEM_SIZE 4 * 1024 |
#define MEM_STATS 1 |
#define MEMP_DEBUG LWIP_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 LWIP_DBG_OFF |
Referenced by netif_add(), netif_find(), netif_remove(), netif_set_default(), netif_set_gw(), netif_set_ipaddr(), and netif_set_netmask().
#define PBUF_DEBUG LWIP_DBG_ON |
Referenced by pbuf_alloc(), pbuf_alloced_custom(), pbuf_chain(), pbuf_copy(), pbuf_dechain(), pbuf_free(), pbuf_free_ooseq(), and pbuf_header().
#define PBUF_LINK_HLEN (14 + ETH_PAD_SIZE) |
Referenced by icmp_input(), pbuf_alloc(), and pbuf_alloced_custom().
#define PBUF_POOL_BUFSIZE 512 |
#define PBUF_POOL_SIZE 10 |
#define PBUF_STATS 1 |
#define RAW_DEBUG LWIP_DBG_OFF |
#define SOCKETS_DEBUG LWIP_DBG_OFF |
Referenced by get_socket(), lwip_accept(), lwip_bind(), lwip_close(), lwip_connect(), lwip_fcntl(), lwip_getaddrname(), lwip_getsockopt(), lwip_getsockopt_internal(), lwip_ioctl(), lwip_listen(), lwip_recvfrom(), lwip_select(), lwip_selscan(), lwip_send(), lwip_sendto(), lwip_setsockopt(), lwip_setsockopt_internal(), lwip_shutdown(), and lwip_socket().
#define SYS_DEBUG LWIP_DBG_OFF |
#define SYS_LIGHTWEIGHT_PROT 1 |
#define SYS_STATS 1 |
#define TCP_CWND_DEBUG LWIP_DBG_OFF |
Referenced by tcp_output(), tcp_receive(), and tcp_slowtmr().
#define TCP_DEBUG LWIP_DBG_ON |
Referenced by tcp_alloc(), tcp_bind(), tcp_close(), tcp_connect(), tcp_debug_print(), tcp_debug_print_flags(), tcp_debug_print_pcbs(), tcp_debug_print_state(), tcp_fasttmr(), tcp_keepalive(), tcp_kill_prio(), tcp_kill_timewait(), tcp_listen_input(), tcp_output_segment(), tcp_pcb_purge(), tcp_process(), tcp_recved(), tcp_rst(), tcp_slowtmr(), and tcp_zero_window_probe().
#define TCP_FR_DEBUG LWIP_DBG_OFF |
Referenced by tcp_rexmit_fast().
#define TCP_INPUT_DEBUG LWIP_DBG_OFF |
Referenced by tcp_fasttmr(), tcp_input(), tcp_parseopt(), tcp_process(), and tcp_receive().
#define TCP_MAXRTX 6 |
Referenced by tcp_slowtmr().
#define TCP_MSS 1024 |
Referenced by lwip_send(), tcp_alloc(), tcp_connect(), tcp_parseopt(), and tcp_pbuf_prealloc().
#define TCP_OUTPUT_DEBUG LWIP_DBG_OFF |
Referenced by tcp_create_segment(), tcp_enqueue_flags(), tcp_output(), tcp_output_segment(), tcp_send_empty_ack(), tcp_write(), and tcp_write_checks().
#define TCP_QLEN_DEBUG LWIP_DBG_OFF |
Referenced by tcp_enqueue_flags(), tcp_process(), tcp_receive(), tcp_write(), and tcp_write_checks().
#define TCP_QUEUE_OOSEQ 1 |
#define TCP_RST_DEBUG LWIP_DBG_OFF |
Referenced by tcp_abandon(), tcp_input(), tcp_listen_input(), and tcp_rst().
#define TCP_RTO_DEBUG LWIP_DBG_OFF |
Referenced by tcp_output_segment(), tcp_receive(), and tcp_slowtmr().
#define TCP_SND_BUF 2048 |
Referenced by lwip_send(), and tcp_alloc().
#define TCP_SND_QUEUELEN ((6 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS)) |
Referenced by lwip_send(), tcp_enqueue_flags(), tcp_write(), and tcp_write_checks().
#define TCP_STATS 1 |
#define TCP_SYNMAXRTX 6 |
Referenced by tcp_slowtmr().
#define TCP_TTL 255 |
Referenced by tcp_alloc(), and tcp_rst().
#define TCP_WND 2048 |
Referenced by tcp_alloc(), tcp_close_shutdown(), tcp_connect(), tcp_input(), tcp_recved(), tcp_rst(), and tcp_update_rcv_ann_wnd().
#define TCP_WND_DEBUG LWIP_DBG_OFF |
Referenced by tcp_receive().
#define TCPIP_DEBUG LWIP_DBG_OFF |
Referenced by tcpip_input(), and tcpip_thread().
#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.
Referenced by tcpip_init().
#define TCPIP_THREAD_NAME "TCP/IP" |
TCPIP_THREAD_NAME: The name assigned to the main tcpip thread.
Referenced by tcpip_init().
#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.
Referenced by tcpip_init().
#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.
Referenced by tcpip_init().
#define UDP_DEBUG LWIP_DBG_OFF |
#define UDP_STATS 1 |
#define UDP_TTL 0 |