lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] insane sanity check in 1.4.1?


From: Mason
Subject: Re: [lwip-devel] insane sanity check in 1.4.1?
Date: Fri, 18 Jan 2013 11:22:22 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

RAc wrote:

> lwipopts.h; taken from stock implementation somewhere

Reasonable defaults for a given release are given in src/include/lwip/opt.h
IMHO, one shouldn't blindly use lwipopts from a previous release.

> #define TCP_MSS (1500 - 40)

OK.

> #define TCP_SND_QUEUELEN (2* TCP_SND_BUF/TCP_MSS)

In 1.4.1, the default definition is

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

-- 
Regards.



reply via email to

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