1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
|
2013-03-03 Mike Jones <mike@proclivis.com>
* src/core/snmp/msg_out.c: Applied lwip bugfix #29256.
ip_addr_set_hton(...) does not exist in this revision,
so an equivalent solution was provided. The application
was retested. Any application that worked around the problem by
using htonl(...) will need to be changed by removing it.
[ Bugzilla 1001789 ]
2012-05-26 Ilija Kocho <ilijak@siva.com.mk>
* tests/nc_test_slave.c: Reduced stack sizes of IDLE, LOAD and TMAIN
threads as well as NUM_LOAD_THREADS to 5 (was 10) in order to fit the
test for targets with as low as 128KiB RAM.
Bug fix: MAX_BUF fixed so that in_buf[] and out_buf[] can accomodate
10KiB messages.
[ Bugzilla 1001344 ]
2012-03-06 Ilija Kocho <ilijak@siva.com.mk>
* src/core/tcp_out.c: Fix compiler warning about unused variables.
[Bugzilla 1001521]
2011-08-23 Ilija Kocho <ilijak@siva.com.mk>
* tests/nc_test_slave.c: Reduced stack sizes of IDLE, LOAD and TMAIN
threads as well as NUM_LOAD_THREADS to 5 (was 10) in order to fit the
test for targets with as low as 128KiB RAM.
[ Bugzilla 1001344 ]
2011-08-25 John Dallaway <john@dallaway.org.uk>
* include/lwipopts.h: Fix naming of
CYGNUM_LWIP_NETIF_LOOPBACK_MAX_PBUFS. Patch from Christophe Coutand.
[ Bugzilla 1001323 ]
2011-08-23 Ilija Kocho <ilijak@siva.com.mk>
* cdl/lwip_net.cdl: New CDL option CYGIMP_LWIP_ENDIAN_BY_HAL.
* include/lwipopts.h: Add HAL override of htonl() and htons().
[ Bugzilla 1001275 ]
2011-03-08 John Dallaway <john@dallaway.org.uk>
* cdl/lwip_net.cdl: Require CYGPKG_ISOINFRA.
* include/arch/cc.h: Define ERRNO if CYGINT_ISO_ERRNO is
implemented. Based on patch from Will Wagner. [ Bugzilla 1001169 ]
2011-01-30 Ilija Kocho <ilijak@siva.com.mk>
* cdl/lwip_net.cdl: New CDL option CYGSEM_LWIP_MEM_SECTION.
* include/lwipopts.h: Enter MEM_SECTION entity.
* src/mem.c, src/memp.c: Add an ability to use GCC section
attribute for statically allocated buffers, pbufs, and heap.
2011-01-02 Ilija Kocho <ilijak@siva.com.mk>
* src/ecos/sequential.c, src/ecos/simple.c: Fixed miltiple-line
comment warnings.
2010-12-10 Christophe Coutand <ccoutand@stmi.com>
* include/lwipopts.h: Fix compilation error when compiling SNMP
code.
2010-08-02 John Dallaway <john@dallaway.org.uk>
* include/network.h: Match braces when including from C++ code.
Issue reported by Will Wagner.
2010-02-07 John Dallaway <john@dallaway.org.uk>
* cdl/lwip_net.cdl: Rename CFLAGS_ADD and CFLAGS_REMOVE options to
match package macro name.
2010-01-25 Simon Kallweit <simon.kallweit@intefo.ch>
* all: Updated to lwIP 1.3.2
2007-03-22 John Eigelaar <jeigelaar@mweb.co.za>
* include/lwip/netif.h, include/lwip/inet.h: Added externC macro
to public fucntions to make them C++ compliant.
2006-05-09 Andrew Lunn <andrew.lunn@ascom.ch>
* src/ecos/init.c (arp_timer): Only compile this function when
Ethernet is supported.
* include/lwipopts.h: PAP_SUPPORT & CHAP_SUPPORT must be either 0
or 1 otherwise we get compiler errors.
2006-03-26 Uwe Kindler <uwe_kindler@web.de>
* Updated the complete lwIP source to the latest lwIP
CVS version 1.1.1
* src/ecos/init.c Added call to netif_set_up(netif) in
function lwip_set_addr() - this is required since lwIP
version 1.0.0
* cdl/lwip_net.cdl Minor modifications for UDP configuration
options. Renamed CYGNUM_LWIP_TCPIP_THREAD_PRIORITY to
CYGNUM_LWIP_NETWORK_THREAD_PRIORITY and moved option outside
CYGPKG_LWIP_TCPIP component because the network thread needs to
run in all configurations.
* tests/nc_slave.c
* tests/tcpecho.c
* tests/udpecho.c
* tests/sockets.c
* tests/httpd.c Added eCos test infrastructure to tests and
made tests applicable depending on lwip configuration.
2006-03-15 Andrew Lunn <andrew.lunn@ascom.ch>
* tests/nc_test_slave.c (nc_slave): Fix some of the compiler
warnings.
2006-03-13 Uwe Kindler <uwe_kindler@web.de>
* cdl/lwip_net.cdl Changed default value of
CYGNUM_LWIP_MEMP_NUM_SYS_TIMEOUT (required for DHCP).
Replaced CYGPKG_LWIP_DHCP_OPTIONS with CYGPKG_LWIP_DHCP
and add CYGOPT_LWIP_DHCP_MANAGEMENT for automatic DHCP
management.
* include/lwip/ip_addr.h Add macro ip_addr_netcmp()
(copied from lwIP CVS).
* include/netif/etharp.h Updated file to version of
lwIP CVS.
* src/ecos/init.c Add include <pkgconf/net_lwip.h>
Add lwip_dhcp_fine_tmr() and lwip_dhcp_coarse_tmr()
for DHCP processing.
Change tcpip_init_done() to start DHCP timers and
ARP timer.
Changed lwip_set_addr() to properly setup IP adress
if DHCP is used.
Added lwip_dhcp_init() for start of DHCP client.
Removed start of ARP timer from ecosclue_init().
* src/netif/etharp.c Updated file to version of
lwIP CVS.
2006-03-02 Andrew Lunn <andrew.lunn@ascom.ch>
* cdl/lwip_net.cdl: Add the interfaces CYGPKG_NET_STACK,
CYGPKG_NET_STACK_INET and CYGPKG_NET_STACK_INET6 and say that we
implement a network stack and an IPv4 stack. Without these interfaces
some of the Ethernet device drivers won't be compiled.
2006-02-24 Uwe Kindler <uwe_kindler@web.de>
* cdl/lwip_net.cdl: Changed names of configuration options
according to eCos configuration option naming convention in
component writers guide.
* include/lwipopts.h: Changed mapping of eCos configuration
parameters to lwip configuration parameters. The mapping
was wrong because it expected a disabled eCos configuration
option is defined as 0 but a disabled eCos configuration option
is not defined.
* include/lwip/api.h Enumeration values of netconn_type are
defined conditional now to avoid compiler warnings if these
values are not evaluated in a switch statement.
* src/api/api_lib.c Compilation of code in several switch
statements is now conditional depending on configured
functionality.
* src/api/sockets.c Compilation of some code is now conditional
depending on configured functionality.
* src/ecos/init.c Changed initialisation values to match the
new configuration option names.
2005-10-07 Uwe Kindler <uwe_kindler@web.de>
* src/core/tcp_in.c: pbuf_free() assert triggered by
NULLified inseg.p
* include/lwip/tcp.h Do no longer try to free pbuf
when TCP_EVENT_RECV() is called without a callback
handler, and without packet.
* tests/nc_test_slave.c Fixed test_printf and diag_printf
format strings that caused errors or warnings.
* tests/nc_test_slave.c Included <lwip/inet.h> - required
for compilation
* src/ecos/init.c Added structs ip_addr ipaddr, netmask and gw
in lwip_init() if loop interface is used
2004-05-05 Jani Monoses <jani@iv.ro>
* src/netif/ppp/ppp.c: Decrease sleep period in main thread
from 250ms to 1ms. Was a leftover of debugging the code and
slowing things down.
2004-05-04 Jani Monoses <jani@iv.ro>
* cdl/lwip_net.cdl
* src/api/err.c
* src/api/tcpip.c
* src/api/sockets.c
* src/api/api_lib.c
* src/api/api_msg.c
* src/core/tcp_in.c
* src/core/ipv4/ip.c
* src/core/ipv4/ip_addr.c
* src/core/ipv4/ip_frag.c
* src/core/ipv4/icmp.c
* src/core/tcp_out.c
* src/core/mem.c
* src/core/raw.c
* src/core/tcp.c
* src/core/sys.c
* src/core/udp.c
* src/core/stats.c
* src/core/dhcp.c
* src/core/netif.c
* src/core/inet.c
* src/core/memp.c
* src/core/pbuf.c
* src/ecos/sio.c
* src/ecos/sys_arch.c
* src/ecos/init.c
* src/netif/ppp/vj.c
* src/netif/ppp/vj.h
* src/netif/ppp/randm.c
* src/netif/ppp/randm.h
* src/netif/ppp/vjbsdhdr.h
* src/netif/ppp/fsm.c
* src/netif/ppp/fsm.h
* src/netif/ppp/lcp.c
* src/netif/ppp/lcp.h
* src/netif/ppp/md5.c
* src/netif/ppp/md5.h
* src/netif/ppp/pap.c
* src/netif/ppp/pap.h
* src/netif/ppp/ppp.c
* src/netif/ppp/ppp.h
* src/netif/ppp/magic.c
* src/netif/ppp/magic.h
* src/netif/ppp/pppdebug.h
* src/netif/ppp/auth.c
* src/netif/ppp/auth.h
* src/netif/ppp/chap.c
* src/netif/ppp/chap.h
* src/netif/ppp/ipcp.c
* src/netif/ppp/ipcp.h
* src/netif/ppp/chpms.c
* src/netif/ppp/chpms.h
* src/netif/etharp.c
* src/netif/slipif.c
* src/netif/loopif.c
* tests/tcpecho.c
* tests/udpecho.c
* tests/nc_test_framework.h
* tests/nc_test_slave.c
* tests/httpd.c
* tests/sys_timeout.c
* tests/socket.c
* include/arch/cc.h
* include/arch/sys_arch.h
* include/arch/perf.h
* include/lwip/ip.h
* include/lwip/debug.h
* include/lwip/ip_addr.h
* include/lwip/api.h
* include/lwip/def.h
* include/lwip/err.h
* include/lwip/mem.h
* include/lwip/opt.h
* include/lwip/ip_frag.h
* include/lwip/raw.h
* include/lwip/sio.h
* include/lwip/tcp.h
* include/lwip/sys.h
* include/lwip/udp.h
* include/lwip/tcpip.h
* include/lwip/stats.h
* include/lwip/arch.h
* include/lwip/dhcp.h
* include/lwip/netif.h
* include/lwip/icmp.h
* include/lwip/inet.h
* include/lwip/memp.h
* include/lwip/pbuf.h
* include/lwip/snmp.h
* include/lwip/sockets.h
* include/lwip/api_msg.h
* include/netif/etharp.h
* include/netif/slipif.h
* include/netif/loopif.h
* include/network.h
* include/lwipopts.h : Initial import of the lwIP TCP/IP stack.
//===========================================================================
//####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
// Copyright (C) 2004, 2010, 2011 Free Software Foundation
//
// eCos is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2 or (at your option) any later version.
//
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
// for more details.
//
// You should have received a copy of the GNU General Public License along
// with eCos; if not, write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
//
// As a special exception, if other files instantiate templates or use macros
// or inline functions from this file, or you compile this file and link it
// with other works to produce a work based on this file, this file does not
// by itself cause the resulting work to be covered by the GNU General Public
// License. However the source code for this file must still be made available
// in accordance with section (3) of the GNU General Public License.
//
// This exception does not invalidate any other reasons why a work based on
// this file might be covered by the GNU General Public License.
//
// -------------------------------------------
//####ECOSGPLCOPYRIGHTEND####
//===========================================================================
|