|
49 | 49 | * MEMCPY: override this if you have a faster implementation at hand than the
|
50 | 50 | * one included in your C library
|
51 | 51 | */
|
52 |
| -#define MEMCPY(dst,src,len) memcpy(dst,src,len) |
| 52 | +#define MEMCPY(dst,src,len) ets_memcpy(dst,src,len) |
53 | 53 |
|
54 | 54 | /**
|
55 | 55 | * SMEMCPY: override this with care! Some compilers (e.g. gcc) can inline a
|
56 | 56 | * call to memcpy() if the length is known at compile time and is small.
|
57 | 57 | */
|
58 |
| -#define SMEMCPY(dst,src,len) memcpy(dst,src,len) |
| 58 | +#define SMEMCPY(dst,src,len) ets_memcpy(dst,src,len) |
59 | 59 |
|
60 | 60 | /*
|
61 | 61 | ------------------------------------
|
|
135 | 135 | * that this option does not affect incoming packet sizes, which can be
|
136 | 136 | * controlled via IP_REASSEMBLY.
|
137 | 137 | */
|
138 |
| -#define IP_FRAG 1 |
| 138 | +#define IP_FRAG 0 |
139 | 139 |
|
140 | 140 | /**
|
141 | 141 | * IP_REASS_MAXAGE: Maximum time (in multiples of IP_TMR_INTERVAL - so seconds, normally)
|
|
278 | 278 | ---------- Thread options ----------
|
279 | 279 | ------------------------------------
|
280 | 280 | */
|
| 281 | +/** |
| 282 | + * TCPIP_THREAD_NAME: The name assigned to the main tcpip thread. |
| 283 | + */ |
| 284 | +#ifndef TCPIP_THREAD_NAME |
| 285 | +#define TCPIP_THREAD_NAME "tiT" |
| 286 | +#endif |
| 287 | + |
281 | 288 | /**
|
282 | 289 | * TCPIP_THREAD_STACKSIZE: The stack size used by the main tcpip thread.
|
283 | 290 | * The stack size value itself is platform-dependent, but is passed to
|
|
325 | 332 | ---------- Sequential layer options ----------
|
326 | 333 | ----------------------------------------------
|
327 | 334 | */
|
| 335 | +/** |
| 336 | + * LWIP_TCPIP_CORE_LOCKING: (EXPERIMENTAL!) |
| 337 | + * Don't use it if you're not an active lwIP project member |
| 338 | + */ |
| 339 | +#define LWIP_TCPIP_CORE_LOCKING 1 |
328 | 340 |
|
329 | 341 | /*
|
330 | 342 | ------------------------------------
|
|
365 | 377 | ---------- Statistics options ----------
|
366 | 378 | ----------------------------------------
|
367 | 379 | */
|
| 380 | +/** |
| 381 | + * LWIP_STATS==1: Enable statistics collection in lwip_stats. |
| 382 | + */ |
| 383 | +#ifndef LWIP_STATS |
| 384 | +#define LWIP_STATS 0 |
| 385 | +#endif |
368 | 386 |
|
369 | 387 | /*
|
370 | 388 | ---------------------------------
|
|
0 commit comments