[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-devel] [task #7142] Sanity check user-configurable values
From: |
Goldschmidt Simon |
Subject: |
RE: [lwip-devel] [task #7142] Sanity check user-configurable values |
Date: |
Wed, 5 Sep 2007 12:38:55 +0200 |
> 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
Since those are directly related to the type of the array, I'd suggest
to leave them near the declaration. If someday the declaration type is
changed, it's more likely the test is also changed if it's directly
above the declaration...
- [lwip-devel] [task #7142] Sanity check user-configurable values, Frédéric Bernon, 2007/09/05
- RE: [lwip-devel] [task #7142] Sanity check user-configurable values,
Goldschmidt Simon <=
- [lwip-devel] [task #7142] Sanity check user-configurable values, Jonathan Larmour, 2007/09/05
- [lwip-devel] [task #7142] Sanity check user-configurable values, Frédéric Bernon, 2007/09/05
- [lwip-devel] [task #7142] Sanity check user-configurable values, Frédéric Bernon, 2007/09/05
- [lwip-devel] [task #7142] Sanity check user-configurable values, Simon Goldschmidt, 2007/09/07
- [lwip-devel] [task #7142] Sanity check user-configurable values, Frédéric Bernon, 2007/09/07
- [lwip-devel] [task #7142] Sanity check user-configurable values, Jonathan Larmour, 2007/09/07
- [lwip-devel] [task #7142] Sanity check user-configurable values, Frédéric Bernon, 2007/09/07
- [lwip-devel] [task #7142] Sanity check user-configurable values, Frédéric Bernon, 2007/09/12
- [lwip-devel] [task #7142] Sanity check user-configurable values, Jonathan Larmour, 2007/09/12
- [lwip-devel] [task #7142] Sanity check user-configurable values, Jonathan Larmour, 2007/09/21