lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] R: Re: lwip-users Digest, Vol 198, Issue 3


From: goldsimon
Subject: Re: [lwip-users] R: Re: lwip-users Digest, Vol 198, Issue 3
Date: Tue, 04 Feb 2020 19:07:02 +0100
User-agent: K-9 Mail for Android

Please do not reply to digest mails. That breaks email threading for sure and you risk people lose track of your story.

Regards,
Simon


Am 4. Februar 2020 18:29:20 MEZ schrieb Renato Barresi <address@hidden>:
Hi Sylvain,

I changed VJ_SUPPORT to 0 and still got the same behavior. 

I'm sending the PPP debug trace.

Thank you for your help!

Regards, 

Renato


Updated lwipopts.h

#define NETIF_DEBUG             LWIP_DBG_ON
#define HTTPD_DEBUG LWIP_DBG_ON
#define TCP_DEBUG               LWIP_DBG_ON

#define PPP_DEBUG                       LWIP_DBG_ON
#define PRINTPKT_SUPPORT                1
#define PPP_PROTOCOLNAME 1

 /*PPP*/
#define PPP_USE_PBUF_RAM                0

#define PPP_NUM_TIMEOUTS_PER_PCB        (1 + PPP_IPV4_SUPPORT + PPP_IPV6_SUPPORT + CCP_SUPPORT)

#define VJ_SUPPORT                      0
#define CCP_SUPPORT                     0
#define EAP_SUPPORT                     0

#define PPP_MRU                         1500
#define PPP_DEFMRU                      1500
#define PPP_MAXMRU                      1500
#define PPP_MINMRU                      128

/*ICMP*/
#define IP_DEFAULT_TTL                  255

#define MEMP_NUM_PBUF                   120
#define MEMP_NUM_TCP_PCB                40

/*TCP*/
#define LWIP_TCP_SACK_OUT               1
#define TCP_TTL                    255
#define TCP_MAXRTX                      12
#define TCP_SYNMAXRTX                   6
#define TCP_MSS                         1460
#define TCP_WND                         (4 * TCP_MSS)
#define TCP_SND_BUF                     (4 * TCP_MSS)

//#define TCP_SND_QUEUELEN                ((4 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS))
//#define MEMP_NUM_TCP_SEG                16

 /*HTTP*/
//#define LWIP_HTTPD_SUPPORT_REQUESTLIST      1
//#define LWIP_HTTPD_SUPPORT_11_KEEPALIVE     1
#define HTTPD_MAX_RETRIES                   15
#define HTTPD_POLL_INTERVAL                 6
#define HTTPD_TCP_PRIO                      TCP_PRIO_MIN
//#define LWIP_HTTPD_REQ_QUEUELEN             15
//#define LWIP_HTTPD_MAX_REQ_LENGTH           LWIP_MIN(1023, (LWIP_HTTPD_REQ_QUEUELEN * PBUF_POOL_BUFSIZE))
//#define HTTPD_MAX_WRITE_LEN(pcb)     ((u16_t)(3 * altcp_mss(pcb)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]