OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [lwIP_AVR32_UC3/] [NETWORK/] [lwip-port/] [AT32UC3A/] [lwip/] [opt.h] - Blame information for rev 583

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.