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: Wed, 05 Sep 2007 10:35:23 +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 #22, task #7142 (project lwip):

If we want to centralize other sanity checkings, there also :

in tcp.h:

#if TCP_WND > 0xffff
#error TCP_WND must fit in an u16_t
#endif

in etharp.h:

#if ARP_TABLE_SIZE > 0x7f
#error ARP_TABLE_SIZE must fit in an s8_t
#endif

in inet.c:

#ifndef BYTE_ORDER
#error BYTE_ORDER is not defined
#endif

in autoip.c:

#if !LWIP_ARP
#error LWIP_ARP is need for LWIP_AUTOIP. Set it from your lwipopts.h.
#endif /* !LWIP_ARP */

in msg_in.c :

#if (SNMP_CONCURRENT_REQUESTS == 0)
#error "need at least one snmp_msg_pstat"
#endif

in msg_out.c : 
#if (SNMP_TRAP_DESTINATIONS == 0)
#error "need at least one trap destination"
#endif

Thoughts?


    _______________________________________________________

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]