Go to the documentation of this file. 32 #ifndef __LWIP_OPT_H__ 33 #define __LWIP_OPT_H__ 48 #ifndef SYS_LIGHTWEIGHT_PROT 49 #define SYS_LIGHTWEIGHT_PROT 0 61 #define MEM_ALIGNMENT 1 70 #ifndef MEMP_SANITY_CHECK 71 #define MEMP_SANITY_CHECK 0 78 #define MEMP_NUM_PBUF 16 82 #ifndef MEMP_NUM_RAW_PCB 83 #define MEMP_NUM_RAW_PCB 4 88 #ifndef MEMP_NUM_UDP_PCB 89 #define MEMP_NUM_UDP_PCB 4 93 #ifndef MEMP_NUM_TCP_PCB 94 #define MEMP_NUM_TCP_PCB 5 98 #ifndef MEMP_NUM_TCP_PCB_LISTEN 99 #define MEMP_NUM_TCP_PCB_LISTEN 8 103 #ifndef MEMP_NUM_TCP_SEG 104 #define MEMP_NUM_TCP_SEG 16 108 #ifndef MEMP_NUM_SYS_TIMEOUT 109 #define MEMP_NUM_SYS_TIMEOUT 3 115 #ifndef MEMP_NUM_NETBUF 116 #define MEMP_NUM_NETBUF 2 119 #ifndef MEMP_NUM_NETCONN 120 #define MEMP_NUM_NETCONN 4 125 #ifndef MEMP_NUM_API_MSG 126 #define MEMP_NUM_API_MSG 8 131 #ifndef MEMP_NUM_TCPIP_MSG 132 #define MEMP_NUM_TCPIP_MSG 8 138 #ifndef PBUF_POOL_SIZE 139 #define PBUF_POOL_SIZE 16 144 #ifndef PBUF_POOL_BUFSIZE 145 #define PBUF_POOL_BUFSIZE 128 151 #ifndef PBUF_LINK_HLEN 152 #define PBUF_LINK_HLEN 14 160 #ifndef ARP_TABLE_SIZE 161 #define ARP_TABLE_SIZE 10 177 #define ARP_QUEUEING 1 181 #ifdef ETHARP_QUEUE_FIRST 182 #error ETHARP_QUEUE_FIRST option is deprecated. Remove it from your lwipopts.h. 186 #ifdef ETHARP_ALWAYS_INSERT 187 #error ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h. 210 #ifndef IP_REASSEMBLY 211 #define IP_REASSEMBLY 1 243 #ifndef DHCP_DOES_ARP_CHECK 244 #define DHCP_DOES_ARP_CHECK 1 270 #define TCP_MAXRTX 12 273 #ifndef TCP_SYNMAXRTX 274 #define TCP_SYNMAXRTX 6 280 #ifndef TCP_QUEUE_OOSEQ 281 #define TCP_QUEUE_OOSEQ 1 291 #define TCP_SND_BUF 256 296 #ifndef TCP_SND_QUEUELEN 297 #define TCP_SND_QUEUELEN 4 * TCP_SND_BUF/TCP_MSS 309 #define TCP_SNDLOWAT TCP_SND_BUF/2 313 #ifndef LWIP_HAVE_LOOPIF 314 #define LWIP_HAVE_LOOPIF 1 317 #ifndef LWIP_EVENT_API 318 #define LWIP_EVENT_API 0 319 #define LWIP_CALLBACK_API 1 321 #define LWIP_EVENT_API 1 322 #define LWIP_CALLBACK_API 0 325 #ifndef LWIP_COMPAT_SOCKETS 326 #define LWIP_COMPAT_SOCKETS 1 330 #ifndef TCPIP_THREAD_PRIO 331 #define TCPIP_THREAD_PRIO 1 334 #ifndef SLIPIF_THREAD_PRIO 335 #define SLIPIF_THREAD_PRIO 1 338 #ifndef PPP_THREAD_PRIO 339 #define PPP_THREAD_PRIO 1 342 #ifndef DEFAULT_THREAD_PRIO 343 #define DEFAULT_THREAD_PRIO 1 361 #ifndef LWIP_STATS_DISPLAY 362 #define LWIP_STATS_DISPLAY 0 374 #define IPFRAG_STATS 1 413 #define IPFRAG_STATS 0 422 #define LWIP_STATS_DISPLAY 0 429 #define PPP_SUPPORT 0 439 #define PAP_SUPPORT 0 443 #define CHAP_SUPPORT 0 446 #define MSCHAP_SUPPORT 0 447 #define CBCP_SUPPORT 0 448 #define CCP_SUPPORT 0 455 #define MD5_SUPPORT 0 462 #define FSM_DEFTIMEOUT 6 463 #define FSM_DEFMAXTERMREQS 2 464 #define FSM_DEFMAXCONFREQS 10 465 #define FSM_DEFMAXNAKLOOPS 5 467 #define UPAP_DEFTIMEOUT 6 468 #define UPAP_DEFREQTIME 30 470 #define CHAP_DEFTIMEOUT 6 471 #define CHAP_DEFTRANSMITS 10 476 #define LCP_ECHOINTERVAL 0 478 #define LCP_ECHOINTERVAL 10 482 #define LCP_MAXECHOFAILS 3 485 #define PPP_MAXIDLEFLAG 100 497 #define PPP_MAXMTU 65535 - (PPP_HDRLEN + PPP_FCSLEN) 499 #define PPP_MAXMTU 1500 501 #define PPP_MINMTU 64 503 #define PPP_MAXMRU 1500 504 #define PPP_DEFMRU 296 505 #define PPP_MINMRU 128 508 #define MAXNAMELEN 256 509 #define MAXSECRETLEN 256 515 #ifndef CHECKSUM_GEN_IP 516 #define CHECKSUM_GEN_IP 1 519 #ifndef CHECKSUM_GEN_UDP 520 #define CHECKSUM_GEN_UDP 1 523 #ifndef CHECKSUM_GEN_TCP 524 #define CHECKSUM_GEN_TCP 1 527 #ifndef CHECKSUM_CHECK_IP 528 #define CHECKSUM_CHECK_IP 1 531 #ifndef CHECKSUM_CHECK_UDP 532 #define CHECKSUM_CHECK_UDP 1 535 #ifndef CHECKSUM_CHECK_TCP 536 #define CHECKSUM_CHECK_TCP 1 542 #define DBG_TYPES_ON 0 546 #define ETHARP_DEBUG DBG_OFF 550 #define NETIF_DEBUG DBG_OFF 554 #define PBUF_DEBUG DBG_OFF 557 #ifndef API_LIB_DEBUG 558 #define API_LIB_DEBUG DBG_OFF 561 #ifndef API_MSG_DEBUG 562 #define API_MSG_DEBUG DBG_OFF 565 #ifndef SOCKETS_DEBUG 566 #define SOCKETS_DEBUG DBG_OFF 570 #define ICMP_DEBUG DBG_OFF 574 #define INET_DEBUG DBG_OFF 578 #define IP_DEBUG DBG_OFF 581 #ifndef IP_REASS_DEBUG 582 #define IP_REASS_DEBUG DBG_OFF 586 #define RAW_DEBUG DBG_OFF 590 #define MEM_DEBUG DBG_OFF 594 #define MEMP_DEBUG DBG_OFF 598 #define SYS_DEBUG DBG_OFF 602 #define TCP_DEBUG DBG_OFF 605 #ifndef TCP_INPUT_DEBUG 606 #define TCP_INPUT_DEBUG DBG_OFF 610 #define TCP_FR_DEBUG DBG_OFF 613 #ifndef TCP_RTO_DEBUG 614 #define TCP_RTO_DEBUG DBG_OFF 617 #ifndef TCP_REXMIT_DEBUG 618 #define TCP_REXMIT_DEBUG DBG_OFF 621 #ifndef TCP_CWND_DEBUG 622 #define TCP_CWND_DEBUG DBG_OFF 625 #ifndef TCP_WND_DEBUG 626 #define TCP_WND_DEBUG DBG_OFF 629 #ifndef TCP_OUTPUT_DEBUG 630 #define TCP_OUTPUT_DEBUG DBG_OFF 633 #ifndef TCP_RST_DEBUG 634 #define TCP_RST_DEBUG DBG_OFF 637 #ifndef TCP_QLEN_DEBUG 638 #define TCP_QLEN_DEBUG DBG_OFF 642 #define UDP_DEBUG DBG_OFF 646 #define TCPIP_DEBUG DBG_OFF 650 #define PPP_DEBUG DBG_OFF 654 #define SLIP_DEBUG DBG_OFF 658 #define DHCP_DEBUG DBG_OFF 662 #ifndef DBG_MIN_LEVEL 663 #define DBG_MIN_LEVEL DBG_LEVEL_OFF