lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #7142] Sanity check user-configurable values


From: Frédéric Bernon
Subject: [lwip-devel] [task #7142] Sanity check user-configurable values
Date: Fri, 03 Aug 2007 08:03:33 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6

Follow-up Comment #2, task #7142 (project lwip):

- Error if !UDP && DHCP
- Error if !UDP && IGMP

- Error if UDP && MEMP_NUM_UDP_PCB=0
- Error if TCP && MEMP_NUM_TCP_PCB=0

- Warning if MEMP_NUM_(NETBUF|NETCONN|TCPIP_MSG)!=0 and NO_SYS=1
- Warning if MEMP_NUM_(NETBUF|NETCONN|TCPIP_MSG)!=0 and NO_SYS=1

- Warning/Error if MEMP_SYS_TIMEOUT!=0 and NO_SYS=0 and we build tcpip.c ???

>Perhaps a warning if DHCP && AUTOIP && !DHCP_AUTOIP_COOP

It can be a normal situation if you want to let the application decide of the
IP initialization method (you can set DHCP, AUTOIP, DHCP+AUTOIP)....

>MEMP_NUM_NETCONN should be at most the sum of MEMP_NUM_{TCP,RAW,UDP}_PCB 

+MEMP_NUM_TCP_PCB_LISTEN?

>TCP_WND versus PBUF_POOL_SIZE*PBUF_POOL_BUFSIZE 

Sure of that? TCP_WND isn't "per PCB", vs a "global" PBUF_POOL" is shared by
all pcb ?



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?7142>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

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