lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Initialization of global Vars


From: Christian Steffen
Subject: [lwip-users] Initialization of global Vars
Date: Mon, 22 Feb 2010 16:12:03 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1

Hello,

I develop an application by using the FreeRtos and the LWIP.

The global variables like tcp_active_pcbs or tcp_tw_pcbs are not initialized with NULL. It is all ok when I have a zero initialized RAM, but I haven't it.

When I initialize the following variables with NULL, then is all fine.

tcp_active_pcbs
tcp_listen_pcbs.listen_pcbs
tcp_listen_pcbs.pcbs
tcp_bound_pcbs
tcp_tw_pcbs
netif_list
netif_default
udp_pcbs

Is there any reason, why the global variables not initialized?

Best regards
Christian Steffen
--
+++     Hensel Elektronik GmbH
+++     Hinrichsdorfer Straße 7c
+++     18146 Rostock
+++
+++     phone   +49 381 659 13 18
+++     fax     +49 381 659 13 28
+++     email   address@hidden
+++     web     www.hensel-elektronik.de
+++
+++     Hensel Elektronik GmbH
+++     Gesellschaft mit beschränkter Haftung
+++     Sitz der Gesellschaft: Rostock
+++     HRB 547  Amtsgericht Rostock
+++     Geschäftsführer: Hans-Joachim Hensel





reply via email to

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