fbernon
|
d4616a7fc6
|
Replace mem_malloc call by memp_malloc, and use a new MEMP_NUM_IGMP_GROUP option (see opt.h to define the value). It will avoid potential fragmentation problems, use a counter to know how many times a group is used on an netif, and free it when all applications leave it. MEMP_NUM_IGMP_GROUP got 8 as default value (and init.c got a sanity check if LWIP_IGMP!=0).
|
2007-09-04 15:15:20 +00:00 |
|
fbernon
|
79b0484e20
|
Minor changes (fix some warnings like "function declaration isn't a prototype" and "no previous prototype for 'lwip_init'"...)
|
2007-09-04 13:51:48 +00:00 |
|
fbernon
|
fca25479ad
|
Minor fix (else, cause build error). Since SO_REUSE is always used in the code (even if the current code is not working), it is defined in opt.h with 0 as default value (it's normal). So, the error is not if it is defined, but if it is defined to 1.
|
2007-08-31 09:42:32 +00:00 |
|
jgrubb
|
cb399272fd
|
Move deprecated options from opt.h to init.c
|
2007-08-30 22:33:55 +00:00 |
|
fbernon
|
3101bdf127
|
Add some others sanity checkings
|
2007-08-30 16:06:51 +00:00 |
|
fbernon
|
384ae9c407
|
Minor change (ident, remove comment, change trace text)
|
2007-08-30 15:53:15 +00:00 |
|
jifl
|
f39b9c85fe
|
Add further checks. Move compile-time checks out of LWIP_DEBUG ifdef
|
2007-08-30 15:33:51 +00:00 |
|
fbernon
|
bd65dd8098
|
init.c: Add first version of lwip_sanity_check for task #7142 "Sanity check user-configurable values".
|
2007-08-30 10:15:17 +00:00 |
|
fbernon
|
cd208314e0
|
igmp.h, igmp.c, tcpip.c, init.c, netif.c: change igmp_init and add igmp_start. igmp_start is call inside netif_add. Now, igmp initialization is in the same spirit than the others modules. Modify some IGMP debug traces.
|
2007-08-29 21:12:32 +00:00 |
|
fbernon
|
48db3a3e92
|
Add init.h, init.c, Change opt.h, tcpip.c: Task #7213 "Add a lwip_init function" Add lwip_init function to regroup all modules initializations, and to provide a place to add code for task #7142 "Sanity check user-configurable values". Ports maintainers should remove direct initializations calls from their code, and add init.c in their makefiles. Note that lwip_init() function is called inside tcpip_init, but can also be used by raw api users since all calls are disabled when matching options are disabled. Also note that their is new options in opt.h, you should configure in your lwipopts.h (they are enabled per default).
|
2007-08-29 08:11:06 +00:00 |
|