Merge branch 'master' of https://github.com/RT-Thread/rt-thread
This commit is contained in:
commit
edfcc6041b
|
@ -117,6 +117,8 @@
|
||||||
|
|
||||||
/* the number of simultaneously queued TCP */
|
/* the number of simultaneously queued TCP */
|
||||||
#ifdef RT_LWIP_TCP_SEG_NUM
|
#ifdef RT_LWIP_TCP_SEG_NUM
|
||||||
|
#define MEMP_NUM_TCP_SEG RT_LWIP_TCP_SEG_NUM
|
||||||
|
#else
|
||||||
#define MEMP_NUM_TCP_SEG TCP_SND_QUEUELEN
|
#define MEMP_NUM_TCP_SEG TCP_SND_QUEUELEN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -135,12 +137,12 @@
|
||||||
/* ---------- Pbuf options ---------- */
|
/* ---------- Pbuf options ---------- */
|
||||||
/* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */
|
/* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */
|
||||||
#ifdef RT_LWIP_PBUF_NUM
|
#ifdef RT_LWIP_PBUF_NUM
|
||||||
#define PBUF_POOL_SIZE RT_LWIP_PBUF_NUM
|
#define PBUF_POOL_SIZE RT_LWIP_PBUF_NUM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */
|
/* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */
|
||||||
#ifdef RT_LWIP_PBUF_POOL_BUFSIZE
|
#ifdef RT_LWIP_PBUF_POOL_BUFSIZE
|
||||||
#define PBUF_POOL_BUFSIZE RT_LWIP_PBUF_POOL_BUFSIZE
|
#define PBUF_POOL_BUFSIZE RT_LWIP_PBUF_POOL_BUFSIZE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* PBUF_LINK_HLEN: the number of bytes that should be allocated for a
|
/* PBUF_LINK_HLEN: the number of bytes that should be allocated for a
|
||||||
|
@ -176,7 +178,7 @@
|
||||||
|
|
||||||
/* TCP sender buffer space (bytes). */
|
/* TCP sender buffer space (bytes). */
|
||||||
#ifdef RT_LWIP_TCP_SND_BUF
|
#ifdef RT_LWIP_TCP_SND_BUF
|
||||||
#define TCP_SND_BUF RT_LWIP_TCP_SND_BUF
|
#define TCP_SND_BUF RT_LWIP_TCP_SND_BUF
|
||||||
#else
|
#else
|
||||||
#define TCP_SND_BUF (TCP_MSS * 2)
|
#define TCP_SND_BUF (TCP_MSS * 2)
|
||||||
#endif
|
#endif
|
||||||
|
@ -307,7 +309,7 @@
|
||||||
* in this file.
|
* in this file.
|
||||||
*/
|
*/
|
||||||
#ifdef RT_LWIP_PPPOE
|
#ifdef RT_LWIP_PPPOE
|
||||||
#define PPPOE_SUPPORT 1
|
#define PPPOE_SUPPORT 1
|
||||||
#else
|
#else
|
||||||
#define PPPOE_SUPPORT 0
|
#define PPPOE_SUPPORT 0
|
||||||
#endif
|
#endif
|
||||||
|
@ -315,7 +317,7 @@
|
||||||
#ifdef RT_LWIP_PPPOS
|
#ifdef RT_LWIP_PPPOS
|
||||||
#define PPPOS_SUPPORT 1
|
#define PPPOS_SUPPORT 1
|
||||||
#else
|
#else
|
||||||
#define PPPOS_SUPPORT 0
|
#define PPPOS_SUPPORT 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PAP_SUPPORT 1 /* Set > 0 for PAP. */
|
#define PAP_SUPPORT 1 /* Set > 0 for PAP. */
|
||||||
|
|
Loading…
Reference in New Issue