- Main Page
- Data Structures
- Files

# opt.h

Go to the documentation of this file.

    00001 /*
    00002  * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
    00003  * All rights reserved.
    00004  *
    00005  * Redistribution and use in source and binary forms, with or without modification,
    00006  * are permitted provided that the following conditions are met:
    00007  *
    00008  * 1. Redistributions of source code must retain the above copyright notice,
    00009  *    this list of conditions and the following disclaimer.
    00010  * 2. Redistributions in binary form must reproduce the above copyright notice,
    00011  *    this list of conditions and the following disclaimer in the documentation
    00012  *    and/or other materials provided with the distribution.
    00013  * 3. The name of the author may not be used to endorse or promote products
    00014  *    derived from this software without specific prior written permission.
    00015  *
    00016  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
    00017  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    00018  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
    00019  * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    00020  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
    00021  * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    00022  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    00023  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
    00024  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
    00025  * OF SUCH DAMAGE.
    00026  *
    00027  * This file is part of the lwIP TCP/IP stack.
    00028  *
    00029  * Author: Adam Dunkels <adam@sics.se>
    00030  *
    00031  */
    00032 #ifndef __LWIP_OPT_H__
    00033 #define __LWIP_OPT_H__
    00034
    00035 /* Include user defined options first */
    00036 #include "lwipopts.h"
    00037 #include "lwip/debug.h"
    00038
    00039 /* Define default values for unconfigured parameters. */
    00040
    00041 /* Platform specific locking */
    00042
    00043 /*
    00044  * enable SYS_LIGHTWEIGHT_PROT in lwipopts.h if you want inter-task protection
    00045  * for certain critical regions during buffer allocation, deallocation and memory
    00046  * allocation and deallocation.
    00047  */
    00048 #ifndef SYS_LIGHTWEIGHT_PROT
    00049 #define SYS_LIGHTWEIGHT_PROT            0
    00050 #endif
    00051
    00052 #ifndef NO_SYS
    00053 #define NO_SYS                          0
    00054 #endif
    00055 /* ---------- Memory options ---------- */
    00056 #ifndef MEM_LIBC_MALLOC
    00057 #define MEM_LIBC_MALLOC                 0
    00058 #endif
    00059
    00060 /* MEM_ALIGNMENT: should be set to the alignment of the CPU for which
    00061    lwIP is compiled. 4 byte alignment -> define MEM_ALIGNMENT to 4, 2
    00062    byte alignment -> define MEM_ALIGNMENT to 2. */
    00063
    00064 #ifndef MEM_ALIGNMENT
    00065 #define MEM_ALIGNMENT                   1
    00066 #endif
    00067
    00068 /* MEM_SIZE: the size of the heap memory. If the application will send
    00069 a lot of data that needs to be copied, this should be set high. */
    00070 #ifndef MEM_SIZE
    00071 #define MEM_SIZE                        1600
    00072 #endif
    00073
    00074 #ifndef MEMP_SANITY_CHECK
    00075 #define MEMP_SANITY_CHECK       0
    00076 #endif
    00077
    00078 /* MEMP_NUM_PBUF: the number of memp struct pbufs. If the application
    00079    sends a lot of data out of ROM (or other static memory), this
    00080    should be set high. */
    00081 #ifndef MEMP_NUM_PBUF
    00082 #define MEMP_NUM_PBUF                   16
    00083 #endif
    00084
    00085 /* Number of raw connection PCBs */
    00086 #ifndef MEMP_NUM_RAW_PCB
    00087 #define MEMP_NUM_RAW_PCB                4
    00088 #endif
    00089
    00090 /* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One
    00091    per active UDP "connection". */
    00092 #ifndef MEMP_NUM_UDP_PCB
    00093 #define MEMP_NUM_UDP_PCB                4
    00094 #endif
    00095 /* MEMP_NUM_TCP_PCB: the number of simulatenously active TCP
    00096    connections. */
    00097 #ifndef MEMP_NUM_TCP_PCB
    00098 #define MEMP_NUM_TCP_PCB                5
    00099 #endif
    00100 /* MEMP_NUM_TCP_PCB_LISTEN: the number of listening TCP
    00101    connections. */
    00102 #ifndef MEMP_NUM_TCP_PCB_LISTEN
    00103 #define MEMP_NUM_TCP_PCB_LISTEN         8
    00104 #endif
    00105 /* MEMP_NUM_TCP_SEG: the number of simultaneously queued TCP
    00106    segments. */
    00107 #ifndef MEMP_NUM_TCP_SEG
    00108 #define MEMP_NUM_TCP_SEG                16
    00109 #endif
    00110 /* MEMP_NUM_SYS_TIMEOUT: the number of simulateously active
    00111    timeouts. */
    00112 #ifndef MEMP_NUM_SYS_TIMEOUT
    00113 #define MEMP_NUM_SYS_TIMEOUT            3
    00114 #endif
    00115
    00116 /* The following four are used only with the sequential API and can be
    00117    set to 0 if the application only will use the raw API. */
    00118 /* MEMP_NUM_NETBUF: the number of struct netbufs. */
    00119 #ifndef MEMP_NUM_NETBUF
    00120 #define MEMP_NUM_NETBUF                 2
    00121 #endif
    00122 /* MEMP_NUM_NETCONN: the number of struct netconns. */
    00123 #ifndef MEMP_NUM_NETCONN
    00124 #define MEMP_NUM_NETCONN                4
    00125 #endif
    00126 /* MEMP_NUM_APIMSG: the number of struct api_msg, used for
    00127    communication between the TCP/IP stack and the sequential
    00128    programs. */
    00129 #ifndef MEMP_NUM_API_MSG
    00130 #define MEMP_NUM_API_MSG                8
    00131 #endif
    00132 /* MEMP_NUM_TCPIPMSG: the number of struct tcpip_msg, which is used
    00133    for sequential API communication and incoming packets. Used in
    00134    src/api/tcpip.c. */
    00135 #ifndef MEMP_NUM_TCPIP_MSG
    00136 #define MEMP_NUM_TCPIP_MSG              8
    00137 #endif
    00138
    00139 /* ---------- Pbuf options ---------- */
    00140 /* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */
    00141
    00142 #ifndef PBUF_POOL_SIZE
    00143 #define PBUF_POOL_SIZE                  16
    00144 #endif
    00145
    00146 /* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */
    00147
    00148 #ifndef PBUF_POOL_BUFSIZE
    00149 #define PBUF_POOL_BUFSIZE               128
    00150 #endif
    00151
    00152 /* PBUF_LINK_HLEN: the number of bytes that should be allocated for a
    00153    link level header. Defaults to 14 for Ethernet. */
    00154
    00155 #ifndef PBUF_LINK_HLEN
    00156 #define PBUF_LINK_HLEN                  14
    00157 #endif
    00158
    00159
    00160
    00161 /* ---------- ARP options ---------- */
    00162
    00164 #ifndef ARP_TABLE_SIZE
    00165 #define ARP_TABLE_SIZE                  10
    00166 #endif
    00167
    00180 #ifndef ARP_QUEUEING
    00181 #define ARP_QUEUEING                    1
    00182 #endif
    00183
    00184 /* This option is deprecated */
    00185 #ifdef ETHARP_QUEUE_FIRST
    00186 #error ETHARP_QUEUE_FIRST option is deprecated. Remove it from your lwipopts.h.
    00187 #endif
    00188
    00189 /* This option is removed to comply with the ARP standard */
    00190 #ifdef ETHARP_ALWAYS_INSERT
    00191 #error ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
    00192 #endif
    00193
    00194 /* ---------- IP options ---------- */
    00195 /* Define IP_FORWARD to 1 if you wish to have the ability to forward
    00196    IP packets across network interfaces. If you are going to run lwIP
    00197    on a device with only one network interface, define this to 0. */
    00198 #ifndef IP_FORWARD
    00199 #define IP_FORWARD                      0
    00200 #endif
    00201
    00202 /* If defined to 1, IP options are allowed (but not parsed). If
    00203    defined to 0, all packets with IP options are dropped. */
    00204 #ifndef IP_OPTIONS
    00205 #define IP_OPTIONS                      1
    00206 #endif
    00207
    00214 #ifndef IP_REASSEMBLY
    00215 #define IP_REASSEMBLY                   1
    00216 #endif
    00217
    00219 #ifndef IP_FRAG
    00220 #define IP_FRAG                         1
    00221 #endif
    00222
    00223 /* IP reassemly default age in seconds */
    00224 #ifndef IP_REASS_MAXAGE
    00225 #define IP_REASS_MAXAGE 3
    00226 #endif
    00227
    00228 /* IP reassembly buffer size (minus IP header) */
    00229 #ifndef IP_REASS_BUFSIZE
    00230 #define IP_REASS_BUFSIZE 5760
    00231 #endif
    00232
    00233 /* Assumed max MTU on any interface for IP frag buffer */
    00234 #ifndef IP_FRAG_MAX_MTU
    00235 #define IP_FRAG_MAX_MTU 1500
    00236 #endif
    00237
    00239 #ifndef IP_DEFAULT_TTL
    00240 #define IP_DEFAULT_TTL                  255
    00241 #endif
    00242
    00243 /* ---------- ICMP options ---------- */
    00244
    00245 #ifndef ICMP_TTL
    00246 #define ICMP_TTL                        (IP_DEFAULT_TTL)
    00247 #endif
    00248
    00249 /* ---------- RAW options ---------- */
    00250
    00251 #ifndef LWIP_RAW
    00252 #define LWIP_RAW                        1
    00253 #endif
    00254
    00255 #ifndef RAW_TTL
    00256 #define RAW_TTL                        (IP_DEFAULT_TTL)
    00257 #endif
    00258
    00259 /* ---------- DHCP options ---------- */
    00260
    00261 #ifndef LWIP_DHCP
    00262 #define LWIP_DHCP                       0
    00263 #endif
    00264
    00265 /* 1 if you want to do an ARP check on the offered address
    00266    (recommended). */
    00267 #ifndef DHCP_DOES_ARP_CHECK
    00268 #define DHCP_DOES_ARP_CHECK             1
    00269 #endif
    00270
    00271 /* ---------- SNMP options ---------- */
    00273 #ifndef LWIP_SNMP
    00274 #define LWIP_SNMP                       0
    00275 #endif
    00276
    00278 #ifndef SNMP_CONCURRENT_REQUESTS
    00279 #define SNMP_CONCURRENT_REQUESTS        1
    00280 #endif
    00281
    00283 #ifndef SNMP_TRAP_DESTINATIONS
    00284 #define SNMP_TRAP_DESTINATIONS          1
    00285 #endif
    00286
    00287 #ifndef SNMP_PRIVATE_MIB
    00288 #define SNMP_PRIVATE_MIB                0
    00289 #endif
    00290
    00291 /* ---------- UDP options ---------- */
    00292 #ifndef LWIP_UDP
    00293 #define LWIP_UDP                        1
    00294 #endif
    00295
    00296 #ifndef UDP_TTL
    00297 #define UDP_TTL                         (IP_DEFAULT_TTL)
    00298 #endif
    00299
    00300 /* ---------- TCP options ---------- */
    00301 #ifndef LWIP_TCP
    00302 #define LWIP_TCP                        1
    00303 #endif
    00304
    00305 #ifndef TCP_TTL
    00306 #define TCP_TTL                         (IP_DEFAULT_TTL)
    00307 #endif
    00308
    00309 #ifndef TCP_WND
    00310 #define TCP_WND                         2048
    00311 #endif
    00312
    00313 #ifndef TCP_MAXRTX
    00314 #define TCP_MAXRTX                      12
    00315 #endif
    00316
    00317 #ifndef TCP_SYNMAXRTX
    00318 #define TCP_SYNMAXRTX                   6
    00319 #endif
    00320
    00321
    00322 /* Controls if TCP should queue segments that arrive out of
    00323    order. Define to 0 if your device is low on memory. */
    00324 #ifndef TCP_QUEUE_OOSEQ
    00325 #define TCP_QUEUE_OOSEQ                 1
    00326 #endif
    00327
    00328 /* TCP Maximum segment size. */
    00329 #ifndef TCP_MSS
    00330 #define TCP_MSS                         128 /* A *very* conservative default. */
    00331 #endif
    00332
    00333 /* TCP sender buffer space (bytes). */
    00334 #ifndef TCP_SND_BUF
    00335 #define TCP_SND_BUF                     256
    00336 #endif
    00337
    00338 /* TCP sender buffer space (pbufs). This must be at least = 2 *
    00339    TCP_SND_BUF/TCP_MSS for things to work. */
    00340 #ifndef TCP_SND_QUEUELEN
    00341 #define TCP_SND_QUEUELEN                4 * TCP_SND_BUF/TCP_MSS
    00342 #endif
    00343
    00344
    00345 /* Maximum number of retransmissions of data segments. */
    00346
    00347 /* Maximum number of retransmissions of SYN segments. */
    00348
    00349 /* TCP writable space (bytes). This must be less than or equal
    00350    to TCP_SND_BUF. It is the amount of space which must be
    00351    available in the tcp snd_buf for select to return writable */
    00352 #ifndef TCP_SNDLOWAT
    00353 #define TCP_SNDLOWAT                    TCP_SND_BUF/2
    00354 #endif
    00355
    00356 /* Support loop interface (127.0.0.1) */
    00357 #ifndef LWIP_HAVE_LOOPIF
    00358 #define LWIP_HAVE_LOOPIF                0
    00359 #endif
    00360
    00361 #ifndef LWIP_EVENT_API
    00362 #define LWIP_EVENT_API                  0
    00363 #define LWIP_CALLBACK_API               1
    00364 #else
    00365 #define LWIP_EVENT_API                  1
    00366 #define LWIP_CALLBACK_API               0
    00367 #endif
    00368
    00369 #ifndef LWIP_COMPAT_SOCKETS
    00370 #define LWIP_COMPAT_SOCKETS             1
    00371 #endif
    00372
    00373
    00374 #ifndef TCPIP_THREAD_PRIO
    00375 #define TCPIP_THREAD_PRIO               1
    00376 #endif
    00377
    00378 #ifndef SLIPIF_THREAD_PRIO
    00379 #define SLIPIF_THREAD_PRIO              1
    00380 #endif
    00381
    00382 #ifndef PPP_THREAD_PRIO
    00383 #define PPP_THREAD_PRIO                 1
    00384 #endif
    00385
    00386 #ifndef DEFAULT_THREAD_PRIO
    00387 #define DEFAULT_THREAD_PRIO             1
    00388 #endif
    00389
    00390
    00391 /* ---------- Socket Options ---------- */
    00392 /* Enable SO_REUSEADDR and SO_REUSEPORT options */
    00393 #ifdef SO_REUSE
    00394 /* I removed the lot since this was an ugly hack. It broke the raw-API.
    00395    It also came with many ugly goto's, Christiaan Simons. */
    00396 #error "SO_REUSE currently unavailable, this was a hack"
    00397 #endif
    00398
    00399
    00400 /* ---------- Statistics options ---------- */
    00401 #ifndef LWIP_STATS
    00402 #define LWIP_STATS                      1
    00403 #endif
    00404
    00405 #if LWIP_STATS
    00406
    00407 #ifndef LWIP_STATS_DISPLAY
    00408 #define LWIP_STATS_DISPLAY 0
    00409 #endif
    00410
    00411 #ifndef LINK_STATS
    00412 #define LINK_STATS  1
    00413 #endif
    00414
    00415 #ifndef IP_STATS
    00416 #define IP_STATS    1
    00417 #endif
    00418
    00419 #ifndef IPFRAG_STATS
    00420 #define IPFRAG_STATS    1
    00421 #endif
    00422
    00423 #ifndef ICMP_STATS
    00424 #define ICMP_STATS  1
    00425 #endif
    00426
    00427 #ifndef UDP_STATS
    00428 #define UDP_STATS   1
    00429 #endif
    00430
    00431 #ifndef TCP_STATS
    00432 #define TCP_STATS   1
    00433 #endif
    00434
    00435 #ifndef MEM_STATS
    00436 #define MEM_STATS   1
    00437 #endif
    00438
    00439 #ifndef MEMP_STATS
    00440 #define MEMP_STATS  1
    00441 #endif
    00442
    00443 #ifndef PBUF_STATS
    00444 #define PBUF_STATS  1
    00445 #endif
    00446
    00447 #ifndef SYS_STATS
    00448 #define SYS_STATS   1
    00449 #endif
    00450
    00451 #ifndef RAW_STATS
    00452 #define RAW_STATS   0
    00453 #endif
    00454
    00455 #else
    00456
    00457 #define LINK_STATS  0
    00458 #define IP_STATS    0
    00459 #define IPFRAG_STATS    0
    00460 #define ICMP_STATS  0
    00461 #define UDP_STATS   0
    00462 #define TCP_STATS   0
    00463 #define MEM_STATS   0
    00464 #define MEMP_STATS  0
    00465 #define PBUF_STATS  0
    00466 #define SYS_STATS   0
    00467 #define RAW_STATS   0
    00468 #define LWIP_STATS_DISPLAY  0
    00469
    00470 #endif /* LWIP_STATS */
    00471
    00472 /* ---------- PPP options ---------- */
    00473
    00474 #ifndef PPP_SUPPORT
    00475 #define PPP_SUPPORT                     0      /* Set for PPP */
    00476 #endif
    00477
    00478 #if PPP_SUPPORT
    00479
    00480 #define NUM_PPP                         1      /* Max PPP sessions. */
    00481
    00482
    00483
    00484 #ifndef PAP_SUPPORT
    00485 #define PAP_SUPPORT                     0      /* Set for PAP. */
    00486 #endif
    00487
    00488 #ifndef CHAP_SUPPORT
    00489 #define CHAP_SUPPORT                    0      /* Set for CHAP. */
    00490 #endif
    00491
    00492 #define MSCHAP_SUPPORT                  0      /* Set for MSCHAP (NOT FUNCTIONAL!) */
    00493 #define CBCP_SUPPORT                    0      /* Set for CBCP (NOT FUNCTIONAL!) */
    00494 #define CCP_SUPPORT                     0      /* Set for CCP (NOT FUNCTIONAL!) */
    00495
    00496 #ifndef VJ_SUPPORT
    00497 #define VJ_SUPPORT                      0      /* Set for VJ header compression. */
    00498 #endif
    00499
    00500 #ifndef MD5_SUPPORT
    00501 #define MD5_SUPPORT                     0      /* Set for MD5 (see also CHAP) */
    00502 #endif
    00503
    00504
    00505 /*
    00506  * Timeouts.
    00507  */
    00508 #define FSM_DEFTIMEOUT                  6       /* Timeout time in seconds */
    00509 #define FSM_DEFMAXTERMREQS              2       /* Maximum Terminate-Request transmissions */
    00510 #define FSM_DEFMAXCONFREQS              10      /* Maximum Configure-Request transmissions */
    00511 #define FSM_DEFMAXNAKLOOPS              5       /* Maximum number of nak loops */
    00512
    00513 #define UPAP_DEFTIMEOUT                 6       /* Timeout (seconds) for retransmitting req */
    00514 #define UPAP_DEFREQTIME                 30      /* Time to wait for auth-req from peer */
    00515
    00516 #define CHAP_DEFTIMEOUT                 6       /* Timeout time in seconds */
    00517 #define CHAP_DEFTRANSMITS               10      /* max # times to send challenge */
    00518
    00519
    00520 /* Interval in seconds between keepalive echo requests, 0 to disable. */
    00521 #if 1
    00522 #define LCP_ECHOINTERVAL                0
    00523 #else
    00524 #define LCP_ECHOINTERVAL                10
    00525 #endif
    00526
    00527 /* Number of unanswered echo requests before failure. */
    00528 #define LCP_MAXECHOFAILS                3
    00529
    00530 /* Max Xmit idle time (in jiffies) before resend flag char. */
    00531 #define PPP_MAXIDLEFLAG                 100
    00532
    00533 /*
    00534  * Packet sizes
    00535  *
    00536  * Note - lcp shouldn't be allowed to negotiate stuff outside these
    00537  *    limits.  See lcp.h in the pppd directory.
    00538  * (XXX - these constants should simply be shared by lcp.c instead
    00539  *    of living in lcp.h)
    00540  */
    00541 #define PPP_MTU                         1500     /* Default MTU (size of Info field) */
    00542 #if 0
    00543 #define PPP_MAXMTU  65535 - (PPP_HDRLEN + PPP_FCSLEN)
    00544 #else
    00545 #define PPP_MAXMTU                      1500 /* Largest MTU we allow */
    00546 #endif
    00547 #define PPP_MINMTU                      64
    00548 #define PPP_MRU                         1500     /* default MRU = max length of info field */
    00549 #define PPP_MAXMRU                      1500     /* Largest MRU we allow */
    00550 #define PPP_DEFMRU                      296             /* Try for this */
    00551 #define PPP_MINMRU                      128             /* No MRUs below this */
    00552
    00553
    00554 #define MAXNAMELEN                      256     /* max length of hostname or name for auth */
    00555 #define MAXSECRETLEN                    256     /* max length of password or secret */
    00556
    00557 #endif /* PPP_SUPPORT */
    00558
    00559 /* checksum options - set to zero for hardware checksum support */
    00560
    00561 #ifndef CHECKSUM_GEN_IP
    00562 #define CHECKSUM_GEN_IP                 1
    00563 #endif
    00564
    00565 #ifndef CHECKSUM_GEN_UDP
    00566 #define CHECKSUM_GEN_UDP                1
    00567 #endif
    00568
    00569 #ifndef CHECKSUM_GEN_TCP
    00570 #define CHECKSUM_GEN_TCP                1
    00571 #endif
    00572
    00573 #ifndef CHECKSUM_CHECK_IP
    00574 #define CHECKSUM_CHECK_IP               1
    00575 #endif
    00576
    00577 #ifndef CHECKSUM_CHECK_UDP
    00578 #define CHECKSUM_CHECK_UDP              1
    00579 #endif
    00580
    00581 #ifndef CHECKSUM_CHECK_TCP
    00582 #define CHECKSUM_CHECK_TCP              1
    00583 #endif
    00584
    00585 /* Debugging options all default to off */
    00586
    00587 #ifndef DBG_TYPES_ON
    00588 #define DBG_TYPES_ON                    0
    00589 #endif
    00590
    00591 #ifndef ETHARP_DEBUG
    00592 #define ETHARP_DEBUG                    DBG_OFF
    00593 #endif
    00594
    00595 #ifndef NETIF_DEBUG
    00596 #define NETIF_DEBUG                     DBG_OFF
    00597 #endif
    00598
    00599 #ifndef PBUF_DEBUG
    00600 #define PBUF_DEBUG                      DBG_OFF
    00601 #endif
    00602
    00603 #ifndef API_LIB_DEBUG
    00604 #define API_LIB_DEBUG                   DBG_OFF
    00605 #endif
    00606
    00607 #ifndef API_MSG_DEBUG
    00608 #define API_MSG_DEBUG                   DBG_OFF
    00609 #endif
    00610
    00611 #ifndef SOCKETS_DEBUG
    00612 #define SOCKETS_DEBUG                   DBG_OFF
    00613 #endif
    00614
    00615 #ifndef ICMP_DEBUG
    00616 #define ICMP_DEBUG                      DBG_OFF
    00617 #endif
    00618
    00619 #ifndef INET_DEBUG
    00620 #define INET_DEBUG                      DBG_OFF
    00621 #endif
    00622
    00623 #ifndef IP_DEBUG
    00624 #define IP_DEBUG                        DBG_OFF
    00625 #endif
    00626
    00627 #ifndef IP_REASS_DEBUG
    00628 #define IP_REASS_DEBUG                  DBG_OFF
    00629 #endif
    00630
    00631 #ifndef RAW_DEBUG
    00632 #define RAW_DEBUG                       DBG_OFF
    00633 #endif
    00634
    00635 #ifndef MEM_DEBUG
    00636 #define MEM_DEBUG                       DBG_OFF
    00637 #endif
    00638
    00639 #ifndef MEMP_DEBUG
    00640 #define MEMP_DEBUG                      DBG_OFF
    00641 #endif
    00642
    00643 #ifndef SYS_DEBUG
    00644 #define SYS_DEBUG                       DBG_OFF
    00645 #endif
    00646
    00647 #ifndef TCP_DEBUG
    00648 #define TCP_DEBUG                       DBG_OFF
    00649 #endif
    00650
    00651 #ifndef TCP_INPUT_DEBUG
    00652 #define TCP_INPUT_DEBUG                 DBG_OFF
    00653 #endif
    00654
    00655 #ifndef TCP_FR_DEBUG
    00656 #define TCP_FR_DEBUG                    DBG_OFF
    00657 #endif
    00658
    00659 #ifndef TCP_RTO_DEBUG
    00660 #define TCP_RTO_DEBUG                   DBG_OFF
    00661 #endif
    00662
    00663 #ifndef TCP_REXMIT_DEBUG
    00664 #define TCP_REXMIT_DEBUG                DBG_OFF
    00665 #endif
    00666
    00667 #ifndef TCP_CWND_DEBUG
    00668 #define TCP_CWND_DEBUG                  DBG_OFF
    00669 #endif
    00670
    00671 #ifndef TCP_WND_DEBUG
    00672 #define TCP_WND_DEBUG                   DBG_OFF
    00673 #endif
    00674
    00675 #ifndef TCP_OUTPUT_DEBUG
    00676 #define TCP_OUTPUT_DEBUG                DBG_OFF
    00677 #endif
    00678
    00679 #ifndef TCP_RST_DEBUG
    00680 #define TCP_RST_DEBUG                   DBG_OFF
    00681 #endif
    00682
    00683 #ifndef TCP_QLEN_DEBUG
    00684 #define TCP_QLEN_DEBUG                  DBG_OFF
    00685 #endif
    00686
    00687 #ifndef UDP_DEBUG
    00688 #define UDP_DEBUG                       DBG_OFF
    00689 #endif
    00690
    00691 #ifndef TCPIP_DEBUG
    00692 #define TCPIP_DEBUG                     DBG_OFF
    00693 #endif
    00694
    00695 #ifndef PPP_DEBUG
    00696 #define PPP_DEBUG                       DBG_OFF
    00697 #endif
    00698
    00699 #ifndef SLIP_DEBUG
    00700 #define SLIP_DEBUG                      DBG_OFF
    00701 #endif
    00702
    00703 #ifndef DHCP_DEBUG
    00704 #define DHCP_DEBUG                      DBG_OFF
    00705 #endif
    00706
    00707 #ifndef SNMP_MSG_DEBUG
    00708 #define SNMP_MSG_DEBUG                  DBG_OFF
    00709 #endif
    00710
    00711 #ifndef SNMP_MIB_DEBUG
    00712 #define SNMP_MIB_DEBUG                  DBG_OFF
    00713 #endif
    00714
    00715 #ifndef DBG_MIN_LEVEL
    00716 #define DBG_MIN_LEVEL                   DBG_LEVEL_OFF
    00717 #endif
    00718
    00719 #endif /* __LWIP_OPT_H__ */
    00720
    00721
    00722