6baab6a4f8554d267f490addbc132e22d80dc697
[reactos.git] / lib / drivers / lwip / src / include / lwipopts.h
1 /*
2 ------------------------------------
3 ---------- Memory options ----------
4 ------------------------------------
5 */
6
7 /* This combo allows us to implement malloc, free, and realloc ourselves */
8 #define MEM_LIBC_MALLOC 1
9 #define MEMP_MEM_MALLOC 1
10
11 /* Define LWIP_COMPAT_MUTEX if the port has no mutexes and binary semaphores
12 should be used instead */
13 #define LWIP_COMPAT_MUTEX 1
14
15 #define MEM_ALIGNMENT 4
16
17 #define LWIP_ARP 0
18
19 #define ARP_QUEUEING 0
20
21 #define ETH_PAD_SIZE 2
22
23 #define IP_FORWARD 0
24
25 #define IP_REASS_MAX_PBUFS 0xFFFFFFFF
26
27 #define IP_DEFAULT_TTL 128
28
29 #define IP_SOF_BROADCAST 1
30
31 #define IP_SOF_BROADCAST_RECV 1
32
33 #define LWIP_ICMP 0
34
35 #define LWIP_RAW 0
36
37 #define LWIP_DHCP 0
38
39 #define LWIP_AUTOIP 0
40
41 #define LWIP_SNMP 0
42
43 #define LWIP_IGMP 0
44
45 #define LWIP_DNS 0
46
47 #define LWIP_UDP 0
48
49 #define LWIP_UDPLITE 0
50
51 #define LWIP_TCP 1
52
53 #define TCP_QUEUE_OOSEQ 1
54
55 #define TCP_MSS 1024
56
57 #define TCP_SND_BUF (TCP_MSS * 8)
58
59 #define TCP_SND_QUEUELEN (8 * (TCP_SND_BUF / TCP_MSS))
60
61 #define TCP_SNDLOWAT TCP_MSS
62
63 #define TCP_WND 0xFFFF
64
65 #define TCP_MAXRTX 12
66
67 #define TCP_SYNMAXRTX 4
68
69 #define TCP_LISTEN_BACKLOG 1
70
71 #define LWIP_TCP_TIMESTAMPS 1
72
73 #define LWIP_CALLBACK_API 1
74
75 #define LWIP_NETIF_API 1
76
77 #define LWIP_SOCKET 0
78
79 #define LWIP_NETCONN 0
80
81 #define LWIP_NETIF_HWADDRHINT 0
82
83 #define LWIP_STATS 0
84
85 #define ICMP_STATS 0
86
87 #define PPP_SUPPORT 0
88
89 #define PPPOE_SUPPORT 0
90
91 #define PPPOS_SUPPORT 0
92
93 /*
94 ---------------------------------------
95 ---------- Debugging options ----------
96 ---------------------------------------
97 */
98 /**
99 * LWIP_DBG_MIN_LEVEL: After masking, the value of the debug is
100 * compared against this value. If it is smaller, then debugging
101 * messages are written.
102 */
103 #define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL
104
105 /**
106 * LWIP_DBG_TYPES_ON: A mask that can be used to globally enable/disable
107 * debug messages of certain types.
108 */
109 #define LWIP_DBG_TYPES_ON LWIP_DBG_ON
110
111 /**
112 * NETIF_DEBUG: Enable debugging in netif.c.
113 */
114 #define NETIF_DEBUG LWIP_DBG_OFF
115
116 /**
117 * PBUF_DEBUG: Enable debugging in pbuf.c.
118 */
119 #define PBUF_DEBUG LWIP_DBG_OFF
120
121 /**
122 * INET_DEBUG: Enable debugging in inet.c.
123 */
124 #define INET_DEBUG LWIP_DBG_OFF
125
126 /**
127 * IP_DEBUG: Enable debugging for IP.
128 */
129 #define IP_DEBUG LWIP_DBG_OFF
130
131 /**
132 * IP_REASS_DEBUG: Enable debugging in ip_frag.c for both frag & reass.
133 */
134 #define IP_REASS_DEBUG LWIP_DBG_OFF
135
136 /**
137 * MEM_DEBUG: Enable debugging in mem.c.
138 */
139 #define MEM_DEBUG LWIP_DBG_OFF
140
141 /**
142 * MEMP_DEBUG: Enable debugging in memp.c.
143 */
144 #define MEMP_DEBUG LWIP_DBG_OFF
145
146 /**
147 * SYS_DEBUG: Enable debugging in sys.c.
148 */
149 #define SYS_DEBUG LWIP_DBG_OFF
150
151 /**
152 * TCP_DEBUG: Enable debugging for TCP.
153 */
154 #define TCP_DEBUG LWIP_DBG_ON
155
156 /**
157 * TCP_INPUT_DEBUG: Enable debugging in tcp_in.c for incoming debug.
158 */
159 #define TCP_INPUT_DEBUG LWIP_DBG_OFF
160
161 /**
162 * TCP_FR_DEBUG: Enable debugging in tcp_in.c for fast retransmit.
163 */
164 #define TCP_FR_DEBUG LWIP_DBG_OFF
165
166 /**
167 * TCP_RTO_DEBUG: Enable debugging in TCP for retransmit
168 * timeout.
169 */
170 #define TCP_RTO_DEBUG LWIP_DBG_OFF
171
172 /**
173 * TCP_CWND_DEBUG: Enable debugging for TCP congestion window.
174 */
175 #define TCP_CWND_DEBUG LWIP_DBG_OFF
176
177 /**
178 * TCP_WND_DEBUG: Enable debugging in tcp_in.c for window updating.
179 */
180 #define TCP_WND_DEBUG LWIP_DBG_OFF
181
182 /**
183 * TCP_OUTPUT_DEBUG: Enable debugging in tcp_out.c output functions.
184 */
185 #define TCP_OUTPUT_DEBUG LWIP_DBG_OFF
186
187 /**
188 * TCP_RST_DEBUG: Enable debugging for TCP with the RST message.
189 */
190 #define TCP_RST_DEBUG LWIP_DBG_OFF
191
192 /**
193 * TCP_QLEN_DEBUG: Enable debugging for TCP queue lengths.
194 */
195 #define TCP_QLEN_DEBUG LWIP_DBG_OFF
196
197 /**
198 * TCPIP_DEBUG: Enable debugging in tcpip.c.
199 */
200 #define TCPIP_DEBUG LWIP_DBG_OFF