lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] small change in tcp/ip initialization


From: Goldschmidt Simon
Subject: [lwip-devel] small change in tcp/ip initialization
Date: Fri, 2 Mar 2007 23:08:50 +0100

Hi list,

another change I'd like your comment on:

I'm not happy with the initialization of ip, udp and tcp in tcpip.c, in the function tcpip_thread(). The reason for this is that WE have the following startup code:

- initialize OS
- initialize lwIP
- initialize our raw-api connections
- start the OS

-> here, tcpip_thread() gets running and calls ip_init(), udp_init() and tcp_init() again, which leads to the situation that the previously initialized connections are thrown away by another initialization of the modules.

My idea was to move the calls to ip_/udp_/tcp_init() from tcpip_thread() to tcpip_init(). Any objections?

Simon


reply via email to

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