108//SP193: should be at least ((TCP_WND/PBUF_POOL_BUFSIZE)+1). But that is too small to accommodate data not accepted by the application layer and multiple connections.
109//NETMAN will also always have PBUFs reserved for incoming frames (currently 64).
110#define PBUF_POOL_SIZE 128
111
119#define MEMP_NUM_TCPIP_MSG_INPKT 50
120
126//SP193: this should be around the size of MEM_SIZE (in PBUFs), to prevent transmissions from being potentially being dropped.
127#define MEMP_NUM_TCPIP_MSG_API 50
128
133#define MEMP_NUM_TCP_SEG TCP_SND_QUEUELEN
134
143#define LWIP_TCPIP_CORE_LOCKING 1
144
150#define LWIP_TCPIP_CORE_LOCKING_INPUT 1
151
152/*
153 ---------------------------------
154 ---------- TCP options ----------
155 ---------------------------------
156*/
157/* TCP Maximum segment size. */
158#define TCP_MSS 1460
159
160/* TCP sender buffer space (bytes). */
161#define TCP_SND_BUF (TCP_MSS*32)
162
163/* TCP receive window. */
164#define TCP_WND 65535
165
166/* ---------- DHCP options ---------- */
167#ifdef PS2IP_DHCP
168
171#define LWIP_DHCP 1
172#endif
173
174/* LWIP_DHCP_DOES_ACD_CHECK / LWIP_ACD left at upstream defaults (=1 when
175 * LWIP_DHCP=1) so the RFC 5227 Address Conflict Detection probe runs on
176 * any DHCP-offered IP. EE applications run on user home networks where
177 * IP collisions are a real (if uncommon) failure mode; the few KB of
178 * code and ~1-2 s extra DHCP-bind delay are worth the robustness. The
179 * IOP lwIP build forces both off because ps2link runs in controlled
180 * bench environments where the IRX size + tick savings matter more. */
181
182/*
183 ----------------------------------
184 ---------- DNS options -----------
185 ----------------------------------
186*/
191#ifdef PS2IP_DNS
192#define LWIP_DNS 1
193#endif
194
195/* ---------- Statistics options ---------- */
199#define LWIP_STATS 0
200
201/*
202 --------------------------------------
203 ---------- Checksum options ----------
204 --------------------------------------
205*/
206//Rely on the Ethernet checksums to reduce the number of checksum compuations. If you require any of these, re-enable them.