opt.h File Reference
#include "lwipopts.h"
#include "lwip/debug.h"
Go to the source code of this file.
Define Documentation
| #define API_LIB_DEBUG DBG_OFF |
| #define API_MSG_DEBUG DBG_OFF |
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 181 of file opt.h.
| #define ARP_TABLE_SIZE 10 |
Number of active hardware address, IP address pairs cached.
Definition at line 165 of file opt.h.
| #define CHECKSUM_CHECK_IP 1 |
| #define CHECKSUM_CHECK_TCP 1 |
| #define CHECKSUM_CHECK_UDP 1 |
| #define CHECKSUM_GEN_IP 1 |
| #define CHECKSUM_GEN_TCP 1 |
| #define CHECKSUM_GEN_UDP 1 |
| #define DBG_MIN_LEVEL DBG_LEVEL_OFF |
| #define DEFAULT_THREAD_PRIO 1 |
| #define DHCP_DEBUG DBG_OFF |
| #define DHCP_DOES_ARP_CHECK 1 |
| #define ETHARP_DEBUG DBG_OFF |
| #define ICMP_DEBUG DBG_OFF |
| #define ICMP_TTL (IP_DEFAULT_TTL) |
| #define INET_DEBUG DBG_OFF |
| #define IP_DEFAULT_TTL 255 |
Global default value for Time To Live used by transport layers.
Definition at line 240 of file opt.h.
Fragment outgoing IP packets if their size exceeds MTU.
Definition at line 220 of file opt.h.
| #define IP_FRAG_MAX_MTU 1500 |
| #define IP_REASS_BUFSIZE 5760 |
| #define IP_REASS_DEBUG DBG_OFF |
| #define IP_REASS_MAXAGE 3 |
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 215 of file opt.h.
| #define LWIP_CALLBACK_API 1 |
| #define LWIP_COMPAT_SOCKETS 1 |
| #define LWIP_HAVE_LOOPIF 0 |
- Note:
- UDP must be available for SNMP transport
Definition at line 274 of file opt.h.
| #define LWIP_STATS_DISPLAY 0 |
Definition at line 65 of file opt.h.
| #define MEM_DEBUG DBG_OFF |
| #define MEM_LIBC_MALLOC 0 |
Definition at line 57 of file opt.h.
Definition at line 71 of file opt.h.
| #define MEMP_DEBUG DBG_OFF |
| #define MEMP_NUM_API_MSG 8 |
| #define MEMP_NUM_NETBUF 2 |
| #define MEMP_NUM_NETCONN 4 |
Definition at line 82 of file opt.h.
| #define MEMP_NUM_RAW_PCB 4 |
Definition at line 87 of file opt.h.
| #define MEMP_NUM_SYS_TIMEOUT 3 |
| #define MEMP_NUM_TCP_PCB 5 |
Definition at line 98 of file opt.h.
| #define MEMP_NUM_TCP_PCB_LISTEN 8 |
| #define MEMP_NUM_TCP_SEG 16 |
| #define MEMP_NUM_TCPIP_MSG 8 |
| #define MEMP_NUM_UDP_PCB 4 |
Definition at line 93 of file opt.h.
| #define MEMP_SANITY_CHECK 0 |
Definition at line 75 of file opt.h.
| #define NETIF_DEBUG DBG_OFF |
Definition at line 53 of file opt.h.
| #define PBUF_DEBUG DBG_OFF |
| #define PBUF_LINK_HLEN 14 |
| #define PBUF_POOL_BUFSIZE 128 |
| #define PBUF_POOL_SIZE 16 |
| #define PPP_DEBUG DBG_OFF |
| #define PPP_THREAD_PRIO 1 |
| #define RAW_DEBUG DBG_OFF |
| #define RAW_TTL (IP_DEFAULT_TTL) |
| #define SLIP_DEBUG DBG_OFF |
| #define SLIPIF_THREAD_PRIO 1 |
| #define SNMP_CONCURRENT_REQUESTS 1 |
- Note:
- At least one request buffer is required.
Definition at line 279 of file opt.h.
| #define SNMP_MIB_DEBUG DBG_OFF |
| #define SNMP_MSG_DEBUG DBG_OFF |
| #define SNMP_PRIVATE_MIB 0 |
| #define SNMP_TRAP_DESTINATIONS 1 |
- Note:
- At least one trap destination is required
Definition at line 284 of file opt.h.
| #define SOCKETS_DEBUG DBG_OFF |
| #define SYS_DEBUG DBG_OFF |
| #define SYS_LIGHTWEIGHT_PROT 0 |
Definition at line 49 of file opt.h.
| #define TCP_CWND_DEBUG DBG_OFF |
| #define TCP_DEBUG DBG_OFF |
| #define TCP_FR_DEBUG DBG_OFF |
| #define TCP_INPUT_DEBUG DBG_OFF |
| #define TCP_OUTPUT_DEBUG DBG_OFF |
| #define TCP_QLEN_DEBUG DBG_OFF |
| #define TCP_QUEUE_OOSEQ 1 |
| #define TCP_REXMIT_DEBUG DBG_OFF |
| #define TCP_RST_DEBUG DBG_OFF |
| #define TCP_RTO_DEBUG DBG_OFF |
| #define TCP_SND_QUEUELEN 4 * TCP_SND_BUF/TCP_MSS |
| #define TCP_SNDLOWAT TCP_SND_BUF/2 |
| #define TCP_TTL (IP_DEFAULT_TTL) |
| #define TCP_WND_DEBUG DBG_OFF |
| #define TCPIP_DEBUG DBG_OFF |
| #define TCPIP_THREAD_PRIO 1 |
| #define UDP_DEBUG DBG_OFF |
| #define UDP_TTL (IP_DEFAULT_TTL) |