]> git.sur5r.net Git - freertos/blob - Demo/lwIP_Demo_Rowley_ARM7/lwip-1.1.0/src/include/lwip/opt.h
Start to re-arrange files to include FreeRTOS+ in main download.
[freertos] / Demo / lwIP_Demo_Rowley_ARM7 / lwip-1.1.0 / src / include / lwip / opt.h
1 /*\r
2  * Copyright (c) 2001-2004 Swedish Institute of Computer Science.\r
3  * All rights reserved. \r
4  * \r
5  * Redistribution and use in source and binary forms, with or without modification, \r
6  * are permitted provided that the following conditions are met:\r
7  *\r
8  * 1. Redistributions of source code must retain the above copyright notice,\r
9  *    this list of conditions and the following disclaimer.\r
10  * 2. Redistributions in binary form must reproduce the above copyright notice,\r
11  *    this list of conditions and the following disclaimer in the documentation\r
12  *    and/or other materials provided with the distribution.\r
13  * 3. The name of the author may not be used to endorse or promote products\r
14  *    derived from this software without specific prior written permission. \r
15  *\r
16  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED \r
17  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF \r
18  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT \r
19  * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, \r
20  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT \r
21  * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS \r
22  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN \r
23  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING \r
24  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY \r
25  * OF SUCH DAMAGE.\r
26  *\r
27  * This file is part of the lwIP TCP/IP stack.\r
28  * \r
29  * Author: Adam Dunkels <adam@sics.se>\r
30  *\r
31  */\r
32 #ifndef __LWIP_OPT_H__\r
33 #define __LWIP_OPT_H__\r
34 \r
35 /* Include user defined options first */\r
36 #include "lwipopts.h"\r
37 #include "lwip/debug.h"\r
38 \r
39 /* Define default values for unconfigured parameters. */\r
40 \r
41 /* Platform specific locking */\r
42 \r
43 /*\r
44  * enable SYS_LIGHTWEIGHT_PROT in lwipopts.h if you want inter-task protection\r
45  * for certain critical regions during buffer allocation, deallocation and memory\r
46  * allocation and deallocation.\r
47  */\r
48 #ifndef SYS_LIGHTWEIGHT_PROT\r
49 #define SYS_LIGHTWEIGHT_PROT            0\r
50 #endif\r
51 \r
52 #ifndef NO_SYS\r
53 #define NO_SYS                          0\r
54 #endif\r
55 /* ---------- Memory options ---------- */\r
56 /* MEM_ALIGNMENT: should be set to the alignment of the CPU for which\r
57    lwIP is compiled. 4 byte alignment -> define MEM_ALIGNMENT to 4, 2\r
58    byte alignment -> define MEM_ALIGNMENT to 2. */\r
59 \r
60 #ifndef MEM_ALIGNMENT\r
61 #define MEM_ALIGNMENT                   1\r
62 #endif\r
63 \r
64 /* MEM_SIZE: the size of the heap memory. If the application will send\r
65 a lot of data that needs to be copied, this should be set high. */\r
66 #ifndef MEM_SIZE\r
67 #define MEM_SIZE                        1600\r
68 #endif\r
69 \r
70 #ifndef MEMP_SANITY_CHECK\r
71 #define MEMP_SANITY_CHECK               0\r
72 #endif\r
73 \r
74 /* MEMP_NUM_PBUF: the number of memp struct pbufs. If the application\r
75    sends a lot of data out of ROM (or other static memory), this\r
76    should be set high. */\r
77 #ifndef MEMP_NUM_PBUF\r
78 #define MEMP_NUM_PBUF                   16\r
79 #endif\r
80 \r
81 /* Number of raw connection PCBs */\r
82 #ifndef MEMP_NUM_RAW_PCB\r
83 #define MEMP_NUM_RAW_PCB                4\r
84 #endif\r
85 \r
86 /* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One\r
87    per active UDP "connection". */\r
88 #ifndef MEMP_NUM_UDP_PCB\r
89 #define MEMP_NUM_UDP_PCB                4\r
90 #endif\r
91 /* MEMP_NUM_TCP_PCB: the number of simulatenously active TCP\r
92    connections. */\r
93 #ifndef MEMP_NUM_TCP_PCB\r
94 #define MEMP_NUM_TCP_PCB                5\r
95 #endif\r
96 /* MEMP_NUM_TCP_PCB_LISTEN: the number of listening TCP\r
97    connections. */\r
98 #ifndef MEMP_NUM_TCP_PCB_LISTEN\r
99 #define MEMP_NUM_TCP_PCB_LISTEN         8\r
100 #endif\r
101 /* MEMP_NUM_TCP_SEG: the number of simultaneously queued TCP\r
102    segments. */\r
103 #ifndef MEMP_NUM_TCP_SEG\r
104 #define MEMP_NUM_TCP_SEG                16\r
105 #endif\r
106 /* MEMP_NUM_SYS_TIMEOUT: the number of simulateously active\r
107    timeouts. */\r
108 #ifndef MEMP_NUM_SYS_TIMEOUT\r
109 #define MEMP_NUM_SYS_TIMEOUT            3\r
110 #endif\r
111 \r
112 /* The following four are used only with the sequential API and can be\r
113    set to 0 if the application only will use the raw API. */\r
114 /* MEMP_NUM_NETBUF: the number of struct netbufs. */\r
115 #ifndef MEMP_NUM_NETBUF\r
116 #define MEMP_NUM_NETBUF                 2\r
117 #endif\r
118 /* MEMP_NUM_NETCONN: the number of struct netconns. */\r
119 #ifndef MEMP_NUM_NETCONN\r
120 #define MEMP_NUM_NETCONN                4\r
121 #endif\r
122 /* MEMP_NUM_APIMSG: the number of struct api_msg, used for\r
123    communication between the TCP/IP stack and the sequential\r
124    programs. */\r
125 #ifndef MEMP_NUM_API_MSG\r
126 #define MEMP_NUM_API_MSG                8\r
127 #endif\r
128 /* MEMP_NUM_TCPIPMSG: the number of struct tcpip_msg, which is used\r
129    for sequential API communication and incoming packets. Used in\r
130    src/api/tcpip.c. */\r
131 #ifndef MEMP_NUM_TCPIP_MSG\r
132 #define MEMP_NUM_TCPIP_MSG              8\r
133 #endif\r
134 \r
135 /* ---------- Pbuf options ---------- */\r
136 /* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */\r
137 \r
138 #ifndef PBUF_POOL_SIZE\r
139 #define PBUF_POOL_SIZE                  16\r
140 #endif\r
141 \r
142 /* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */\r
143 \r
144 #ifndef PBUF_POOL_BUFSIZE\r
145 #define PBUF_POOL_BUFSIZE               128\r
146 #endif\r
147 \r
148 /* PBUF_LINK_HLEN: the number of bytes that should be allocated for a\r
149    link level header. Defaults to 14 for Ethernet. */\r
150 \r
151 #ifndef PBUF_LINK_HLEN\r
152 #define PBUF_LINK_HLEN                  14\r
153 #endif\r
154 \r
155 \r
156 \r
157 /* ---------- ARP options ---------- */\r
158 \r
159 /** Number of active hardware address, IP address pairs cached */\r
160 #ifndef ARP_TABLE_SIZE\r
161 #define ARP_TABLE_SIZE                  10\r
162 #endif\r
163 \r
164 /**\r
165  * If enabled, outgoing packets are queued during hardware address\r
166  * resolution.\r
167  *\r
168  * This feature has not stabilized yet. Single-packet queueing is\r
169  * believed to be stable, multi-packet queueing is believed to\r
170  * clash with the TCP segment queueing.\r
171  * \r
172  * As multi-packet-queueing is currently disabled, enabling this\r
173  * _should_ work, but we need your testing feedback on lwip-users.\r
174  *\r
175  */\r
176 #ifndef ARP_QUEUEING\r
177 #define ARP_QUEUEING                    1\r
178 #endif\r
179 \r
180 /* This option is deprecated */\r
181 #ifdef ETHARP_QUEUE_FIRST\r
182 #error ETHARP_QUEUE_FIRST option is deprecated. Remove it from your lwipopts.h.\r
183 #endif\r
184 \r
185 /* This option is removed to comply with the ARP standard */\r
186 #ifdef ETHARP_ALWAYS_INSERT\r
187 #error ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.\r
188 #endif\r
189 \r
190 /* ---------- IP options ---------- */\r
191 /* Define IP_FORWARD to 1 if you wish to have the ability to forward\r
192    IP packets across network interfaces. If you are going to run lwIP\r
193    on a device with only one network interface, define this to 0. */\r
194 #ifndef IP_FORWARD\r
195 #define IP_FORWARD                      0\r
196 #endif\r
197 \r
198 /* If defined to 1, IP options are allowed (but not parsed). If\r
199    defined to 0, all packets with IP options are dropped. */\r
200 #ifndef IP_OPTIONS\r
201 #define IP_OPTIONS                      1\r
202 #endif\r
203 \r
204 /** IP reassembly and segmentation. Even if they both deal with IP\r
205  *  fragments, note that these are orthogonal, one dealing with incoming\r
206  *  packets, the other with outgoing packets\r
207  */\r
208 \r
209 /** Reassemble incoming fragmented IP packets */\r
210 #ifndef IP_REASSEMBLY\r
211 #define IP_REASSEMBLY                   1\r
212 #endif\r
213 \r
214 /** Fragment outgoing IP packets if their size exceeds MTU */\r
215 #ifndef IP_FRAG\r
216 #define IP_FRAG                         1\r
217 #endif\r
218 \r
219 /* ---------- ICMP options ---------- */\r
220 \r
221 #ifndef ICMP_TTL\r
222 #define ICMP_TTL                        255\r
223 #endif\r
224 \r
225 /* ---------- RAW options ---------- */\r
226 \r
227 #ifndef LWIP_RAW\r
228 #define LWIP_RAW                        1\r
229 #endif\r
230 \r
231 #ifndef RAW_TTL\r
232 #define RAW_TTL                        255\r
233 #endif\r
234 \r
235 /* ---------- DHCP options ---------- */\r
236 \r
237 #ifndef LWIP_DHCP\r
238 #define LWIP_DHCP                       0\r
239 #endif\r
240 \r
241 /* 1 if you want to do an ARP check on the offered address\r
242    (recommended). */\r
243 #ifndef DHCP_DOES_ARP_CHECK\r
244 #define DHCP_DOES_ARP_CHECK             1\r
245 #endif\r
246 \r
247 /* ---------- UDP options ---------- */\r
248 #ifndef LWIP_UDP\r
249 #define LWIP_UDP                        1\r
250 #endif\r
251 \r
252 #ifndef UDP_TTL\r
253 #define UDP_TTL                         255\r
254 #endif\r
255 \r
256 /* ---------- TCP options ---------- */\r
257 #ifndef LWIP_TCP\r
258 #define LWIP_TCP                        1\r
259 #endif\r
260 \r
261 #ifndef TCP_TTL\r
262 #define TCP_TTL                         255\r
263 #endif\r
264 \r
265 #ifndef TCP_WND\r
266 #define TCP_WND                         2048\r
267 #endif \r
268 \r
269 #ifndef TCP_MAXRTX\r
270 #define TCP_MAXRTX                      12\r
271 #endif\r
272 \r
273 #ifndef TCP_SYNMAXRTX\r
274 #define TCP_SYNMAXRTX                   6\r
275 #endif\r
276 \r
277 \r
278 /* Controls if TCP should queue segments that arrive out of\r
279    order. Define to 0 if your device is low on memory. */\r
280 #ifndef TCP_QUEUE_OOSEQ\r
281 #define TCP_QUEUE_OOSEQ                 1\r
282 #endif\r
283 \r
284 /* TCP Maximum segment size. */\r
285 #ifndef TCP_MSS\r
286 #define TCP_MSS                         128 /* A *very* conservative default. */\r
287 #endif\r
288 \r
289 /* TCP sender buffer space (bytes). */\r
290 #ifndef TCP_SND_BUF\r
291 #define TCP_SND_BUF                     256\r
292 #endif\r
293 \r
294 /* TCP sender buffer space (pbufs). This must be at least = 2 *\r
295    TCP_SND_BUF/TCP_MSS for things to work. */\r
296 #ifndef TCP_SND_QUEUELEN\r
297 #define TCP_SND_QUEUELEN                4 * TCP_SND_BUF/TCP_MSS\r
298 #endif\r
299 \r
300 \r
301 /* Maximum number of retransmissions of data segments. */\r
302 \r
303 /* Maximum number of retransmissions of SYN segments. */\r
304 \r
305 /* TCP writable space (bytes). This must be less than or equal\r
306    to TCP_SND_BUF. It is the amount of space which must be\r
307    available in the tcp snd_buf for select to return writable */\r
308 #ifndef TCP_SNDLOWAT\r
309 #define TCP_SNDLOWAT                    TCP_SND_BUF/2\r
310 #endif\r
311 \r
312 /* Support loop interface (127.0.0.1) */\r
313 #ifndef LWIP_HAVE_LOOPIF\r
314 #define LWIP_HAVE_LOOPIF                1\r
315 #endif\r
316 \r
317 #ifndef LWIP_EVENT_API\r
318 #define LWIP_EVENT_API                  0\r
319 #define LWIP_CALLBACK_API               1\r
320 #else \r
321 #define LWIP_EVENT_API                  1\r
322 #define LWIP_CALLBACK_API               0\r
323 #endif \r
324 \r
325 #ifndef LWIP_COMPAT_SOCKETS\r
326 #define LWIP_COMPAT_SOCKETS             1\r
327 #endif\r
328 \r
329 \r
330 #ifndef TCPIP_THREAD_PRIO\r
331 #define TCPIP_THREAD_PRIO               1\r
332 #endif\r
333 \r
334 #ifndef SLIPIF_THREAD_PRIO\r
335 #define SLIPIF_THREAD_PRIO              1\r
336 #endif\r
337 \r
338 #ifndef PPP_THREAD_PRIO\r
339 #define PPP_THREAD_PRIO                 1\r
340 #endif\r
341 \r
342 #ifndef DEFAULT_THREAD_PRIO\r
343 #define DEFAULT_THREAD_PRIO             1\r
344 #endif\r
345 \r
346 \r
347 /* ---------- Socket Options ---------- */\r
348 /* Enable SO_REUSEADDR and SO_REUSEPORT options */ \r
349 #ifndef SO_REUSE\r
350 # define SO_REUSE 0\r
351 #endif                                                                        \r
352 \r
353 \r
354 /* ---------- Statistics options ---------- */\r
355 #ifndef LWIP_STATS\r
356 #define LWIP_STATS                      1\r
357 #endif\r
358 \r
359 #if LWIP_STATS\r
360 \r
361 #ifndef LWIP_STATS_DISPLAY\r
362 #define LWIP_STATS_DISPLAY 0\r
363 #endif\r
364 \r
365 #ifndef LINK_STATS\r
366 #define LINK_STATS      1\r
367 #endif\r
368 \r
369 #ifndef IP_STATS\r
370 #define IP_STATS        1\r
371 #endif\r
372 \r
373 #ifndef IPFRAG_STATS\r
374 #define IPFRAG_STATS    1\r
375 #endif\r
376 \r
377 #ifndef ICMP_STATS\r
378 #define ICMP_STATS      1\r
379 #endif\r
380 \r
381 #ifndef UDP_STATS\r
382 #define UDP_STATS       1\r
383 #endif\r
384 \r
385 #ifndef TCP_STATS\r
386 #define TCP_STATS       1\r
387 #endif\r
388 \r
389 #ifndef MEM_STATS\r
390 #define MEM_STATS       1\r
391 #endif\r
392 \r
393 #ifndef MEMP_STATS\r
394 #define MEMP_STATS      1\r
395 #endif\r
396 \r
397 #ifndef PBUF_STATS\r
398 #define PBUF_STATS      1\r
399 #endif\r
400 \r
401 #ifndef SYS_STATS\r
402 #define SYS_STATS       1\r
403 #endif\r
404 \r
405 #ifndef RAW_STATS\r
406 #define RAW_STATS       0\r
407 #endif\r
408 \r
409 #else\r
410 \r
411 #define LINK_STATS      0\r
412 #define IP_STATS        0\r
413 #define IPFRAG_STATS    0\r
414 #define ICMP_STATS      0\r
415 #define UDP_STATS       0\r
416 #define TCP_STATS       0\r
417 #define MEM_STATS       0\r
418 #define MEMP_STATS      0\r
419 #define PBUF_STATS      0\r
420 #define SYS_STATS       0\r
421 #define RAW_STATS       0\r
422 #define LWIP_STATS_DISPLAY      0\r
423 \r
424 #endif /* LWIP_STATS */\r
425 \r
426 /* ---------- PPP options ---------- */\r
427 \r
428 #ifndef PPP_SUPPORT\r
429 #define PPP_SUPPORT                     0      /* Set for PPP */\r
430 #endif\r
431 \r
432 #if PPP_SUPPORT \r
433 \r
434 #define NUM_PPP                         1      /* Max PPP sessions. */\r
435 \r
436 \r
437 \r
438 #ifndef PAP_SUPPORT\r
439 #define PAP_SUPPORT                     0      /* Set for PAP. */\r
440 #endif\r
441 \r
442 #ifndef CHAP_SUPPORT\r
443 #define CHAP_SUPPORT                    0      /* Set for CHAP. */\r
444 #endif\r
445 \r
446 #define MSCHAP_SUPPORT                  0      /* Set for MSCHAP (NOT FUNCTIONAL!) */\r
447 #define CBCP_SUPPORT                    0      /* Set for CBCP (NOT FUNCTIONAL!) */\r
448 #define CCP_SUPPORT                     0      /* Set for CCP (NOT FUNCTIONAL!) */\r
449 \r
450 #ifndef VJ_SUPPORT\r
451 #define VJ_SUPPORT                      0      /* Set for VJ header compression. */\r
452 #endif\r
453 \r
454 #ifndef MD5_SUPPORT\r
455 #define MD5_SUPPORT                     0      /* Set for MD5 (see also CHAP) */\r
456 #endif\r
457 \r
458 \r
459 /*\r
460  * Timeouts.\r
461  */\r
462 #define FSM_DEFTIMEOUT                  6       /* Timeout time in seconds */\r
463 #define FSM_DEFMAXTERMREQS              2       /* Maximum Terminate-Request transmissions */\r
464 #define FSM_DEFMAXCONFREQS              10      /* Maximum Configure-Request transmissions */\r
465 #define FSM_DEFMAXNAKLOOPS              5       /* Maximum number of nak loops */\r
466 \r
467 #define UPAP_DEFTIMEOUT                 6       /* Timeout (seconds) for retransmitting req */\r
468 #define UPAP_DEFREQTIME                 30      /* Time to wait for auth-req from peer */\r
469 \r
470 #define CHAP_DEFTIMEOUT                 6       /* Timeout time in seconds */\r
471 #define CHAP_DEFTRANSMITS               10      /* max # times to send challenge */\r
472 \r
473 \r
474 /* Interval in seconds between keepalive echo requests, 0 to disable. */\r
475 #if 1\r
476 #define LCP_ECHOINTERVAL                0\r
477 #else\r
478 #define LCP_ECHOINTERVAL                10\r
479 #endif\r
480 \r
481 /* Number of unanswered echo requests before failure. */\r
482 #define LCP_MAXECHOFAILS                3\r
483 \r
484 /* Max Xmit idle time (in jiffies) before resend flag char. */\r
485 #define PPP_MAXIDLEFLAG                 100\r
486 \r
487 /*\r
488  * Packet sizes\r
489  *\r
490  * Note - lcp shouldn't be allowed to negotiate stuff outside these\r
491  *    limits.  See lcp.h in the pppd directory.\r
492  * (XXX - these constants should simply be shared by lcp.c instead\r
493  *    of living in lcp.h)\r
494  */\r
495 #define PPP_MTU                         1500     /* Default MTU (size of Info field) */\r
496 #if 0\r
497 #define PPP_MAXMTU  65535 - (PPP_HDRLEN + PPP_FCSLEN)\r
498 #else\r
499 #define PPP_MAXMTU                      1500 /* Largest MTU we allow */\r
500 #endif\r
501 #define PPP_MINMTU                      64\r
502 #define PPP_MRU                         1500     /* default MRU = max length of info field */\r
503 #define PPP_MAXMRU                      1500     /* Largest MRU we allow */\r
504 #define PPP_DEFMRU                      296             /* Try for this */\r
505 #define PPP_MINMRU                      128             /* No MRUs below this */\r
506 \r
507 \r
508 #define MAXNAMELEN                      256     /* max length of hostname or name for auth */\r
509 #define MAXSECRETLEN                    256     /* max length of password or secret */\r
510 \r
511 #endif /* PPP_SUPPORT */\r
512 \r
513 /* checksum options - set to zero for hardware checksum support */\r
514 \r
515 #ifndef CHECKSUM_GEN_IP\r
516 #define CHECKSUM_GEN_IP                 1\r
517 #endif\r
518  \r
519 #ifndef CHECKSUM_GEN_UDP\r
520 #define CHECKSUM_GEN_UDP                1\r
521 #endif\r
522  \r
523 #ifndef CHECKSUM_GEN_TCP\r
524 #define CHECKSUM_GEN_TCP                1\r
525 #endif\r
526  \r
527 #ifndef CHECKSUM_CHECK_IP\r
528 #define CHECKSUM_CHECK_IP               1\r
529 #endif\r
530  \r
531 #ifndef CHECKSUM_CHECK_UDP\r
532 #define CHECKSUM_CHECK_UDP              1\r
533 #endif\r
534 \r
535 #ifndef CHECKSUM_CHECK_TCP\r
536 #define CHECKSUM_CHECK_TCP              1\r
537 #endif\r
538 \r
539 /* Debugging options all default to off */\r
540 \r
541 #ifndef DBG_TYPES_ON\r
542 #define DBG_TYPES_ON                    0\r
543 #endif\r
544 \r
545 #ifndef ETHARP_DEBUG\r
546 #define ETHARP_DEBUG                    DBG_OFF\r
547 #endif\r
548 \r
549 #ifndef NETIF_DEBUG\r
550 #define NETIF_DEBUG                     DBG_OFF\r
551 #endif\r
552 \r
553 #ifndef PBUF_DEBUG\r
554 #define PBUF_DEBUG                      DBG_OFF\r
555 #endif\r
556 \r
557 #ifndef API_LIB_DEBUG\r
558 #define API_LIB_DEBUG                   DBG_OFF\r
559 #endif\r
560 \r
561 #ifndef API_MSG_DEBUG\r
562 #define API_MSG_DEBUG                   DBG_OFF\r
563 #endif\r
564 \r
565 #ifndef SOCKETS_DEBUG\r
566 #define SOCKETS_DEBUG                   DBG_OFF\r
567 #endif\r
568 \r
569 #ifndef ICMP_DEBUG\r
570 #define ICMP_DEBUG                      DBG_OFF\r
571 #endif\r
572 \r
573 #ifndef INET_DEBUG\r
574 #define INET_DEBUG                      DBG_OFF\r
575 #endif\r
576 \r
577 #ifndef IP_DEBUG\r
578 #define IP_DEBUG                        DBG_OFF\r
579 #endif\r
580 \r
581 #ifndef IP_REASS_DEBUG\r
582 #define IP_REASS_DEBUG                  DBG_OFF\r
583 #endif\r
584 \r
585 #ifndef RAW_DEBUG\r
586 #define RAW_DEBUG                       DBG_OFF\r
587 #endif\r
588 \r
589 #ifndef MEM_DEBUG\r
590 #define MEM_DEBUG                       DBG_OFF\r
591 #endif\r
592 \r
593 #ifndef MEMP_DEBUG\r
594 #define MEMP_DEBUG                      DBG_OFF\r
595 #endif\r
596 \r
597 #ifndef SYS_DEBUG\r
598 #define SYS_DEBUG                       DBG_OFF\r
599 #endif\r
600 \r
601 #ifndef TCP_DEBUG\r
602 #define TCP_DEBUG                       DBG_OFF\r
603 #endif\r
604 \r
605 #ifndef TCP_INPUT_DEBUG\r
606 #define TCP_INPUT_DEBUG                 DBG_OFF\r
607 #endif\r
608 \r
609 #ifndef TCP_FR_DEBUG\r
610 #define TCP_FR_DEBUG                    DBG_OFF\r
611 #endif\r
612 \r
613 #ifndef TCP_RTO_DEBUG\r
614 #define TCP_RTO_DEBUG                   DBG_OFF\r
615 #endif\r
616 \r
617 #ifndef TCP_REXMIT_DEBUG\r
618 #define TCP_REXMIT_DEBUG                DBG_OFF\r
619 #endif\r
620 \r
621 #ifndef TCP_CWND_DEBUG\r
622 #define TCP_CWND_DEBUG                  DBG_OFF\r
623 #endif\r
624 \r
625 #ifndef TCP_WND_DEBUG\r
626 #define TCP_WND_DEBUG                   DBG_OFF\r
627 #endif\r
628 \r
629 #ifndef TCP_OUTPUT_DEBUG\r
630 #define TCP_OUTPUT_DEBUG                DBG_OFF\r
631 #endif\r
632 \r
633 #ifndef TCP_RST_DEBUG\r
634 #define TCP_RST_DEBUG                   DBG_OFF\r
635 #endif\r
636 \r
637 #ifndef TCP_QLEN_DEBUG\r
638 #define TCP_QLEN_DEBUG                  DBG_OFF\r
639 #endif\r
640 \r
641 #ifndef UDP_DEBUG\r
642 #define UDP_DEBUG                       DBG_OFF\r
643 #endif\r
644 \r
645 #ifndef TCPIP_DEBUG\r
646 #define TCPIP_DEBUG                     DBG_OFF\r
647 #endif\r
648 \r
649 #ifndef PPP_DEBUG \r
650 #define PPP_DEBUG                       DBG_OFF\r
651 #endif\r
652 \r
653 #ifndef SLIP_DEBUG \r
654 #define SLIP_DEBUG                      DBG_OFF\r
655 #endif\r
656 \r
657 #ifndef DHCP_DEBUG \r
658 #define DHCP_DEBUG                      DBG_OFF\r
659 #endif\r
660 \r
661 \r
662 #ifndef DBG_MIN_LEVEL\r
663 #define DBG_MIN_LEVEL                   DBG_LEVEL_OFF\r
664 #endif\r
665 \r
666 #endif /* __LWIP_OPT_H__ */\r
667 \r
668 \r
669 \r