]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/blob - CHANGELOG
36c55d5afe16a45de7b4e426117aecbb87768301
[pes-rpp/rpp-lwip.git] / CHANGELOG
1 FUTURE
2
3   * TODO: The lwIP source code makes some invalid assumptions on processor
4     word-length, storage sizes and alignment. See the mailing lists for
5     problems with exoteric (/DSP) architectures showing these problems.
6     We still have to fix some of these issues neatly.
7
8   * TODO: the PPP code is broken in a few ways. There are namespace
9     collisions on BSD systems and many assumptions on word-length
10     (sizeof(int)). In ppp.c an assumption is made on the availability of
11     a thread subsystem. Either PPP needs to be moved to contrib/ports/???
12     or rearranged to be more generic.
13
14 HISTORY
15
16 (CVS HEAD)
17
18   * [Enter new changes just after this line - do not remove this line]
19
20   ++ New features:
21
22   2007-10-06 Simon Goldschmidt
23   * ip_frag.c, memp.c, mib2.c, ip_frag.h, memp_std.h, opt.h: Changed IP_REASSEMBLY
24     to enqueue the received pbufs so that multiple packets can be reassembled
25     simultaneously and no static reassembly buffer is needed.
26
27   2007-10-05 Simon Goldschmidt
28   * tcpip.c, etharp.h, etharp.c: moved ethernet_input from tcpip.c to etharp.c so
29     all netifs (or ports) can use it.
30
31   2007-10-05 Frédéric Bernon
32   * netifapi.h, netifapi.c: add function netifapi_netif_set_default. Change the 
33     common function to reduce a little bit the footprint (for all functions using
34     only the "netif" parameter).
35
36   2007-10-03 Frédéric Bernon
37   * netifapi.h, netifapi.c: add functions netifapi_netif_set_up, netifapi_netif_set_down,
38     netifapi_autoip_start and netifapi_autoip_stop. Use a common function to reduce
39     a little bit the footprint (for all functions using only the "netif" parameter).
40
41   2007-09-15 Frédéric Bernon
42   * udp.h, udp.c, sockets.c: Changes for "#20503 IGMP Improvement". Add IP_MULTICAST_IF
43     option in socket API, and a new field "multicast_ip" in "struct udp_pcb" (for
44     netconn and raw API users), only if LWIP_IGMP=1. Add getsockopt processing for
45     IP_MULTICAST_TTL and IP_MULTICAST_IF.
46
47   2007-09-10 Frédéric Bernon
48   * snmp.h, mib2.c: enable to remove SNMP timer (which consumne several cycles
49     even when it's not necessary). snmp_agent.txt tell to call snmp_inc_sysuptime()
50     each 10ms (but, it's intrusive if you use sys_timeout feature). Now, you can
51     decide to call snmp_add_sysuptime(100) each 1000ms (which is bigger "step", but
52     call to a lower frequency). Or, you can decide to not call snmp_inc_sysuptime()
53     or snmp_add_sysuptime(), and to define the SNMP_GET_SYSUPTIME(sysuptime) macro.
54     This one is undefined by default in mib2.c. SNMP_GET_SYSUPTIME is called inside
55     snmp_get_sysuptime(u32_t *value), and enable to change "sysuptime" value only
56     when it's queried (any direct call to "sysuptime" is changed by a call to 
57     snmp_get_sysuptime).
58
59   2007-09-09 Frédéric Bernon, Bill Florac
60   * igmp.h, igmp.c, netif.h, netif.c, ip.c: To enable to have interfaces with IGMP,
61     and others without it, there is a new NETIF_FLAG_IGMP flag to set in netif->flags
62     if you want IGMP on an interface. igmp_stop() is now called inside netif_remove().
63     igmp_report_groups() is now called inside netif_set_link_up() (need to have
64     LWIP_NETIF_LINK_CALLBACK=1) to resend reports once the link is up (avoid to wait
65     the next query message to receive the matching multicast streams).
66
67   2007-09-08 Frédéric Bernon
68   * sockets.c, ip.h, api.h, tcp.h: declare a "struct ip_pcb" which only contains
69     IP_PCB. Add in the netconn's "pcb" union a "struct ip_pcb *ip;" (no size change).
70     Use this new field to access to common pcb fields (ttl, tos, so_options, etc...).
71     Enable to access to these fields with LWIP_TCP=0.
72
73   2007-09-05 Frédéric Bernon
74   * udp.c, ipv4/icmp.c, ipv4/ip.c, ipv6/icmp.c, ipv6/ip6.c, ipv4/icmp.h,
75     ipv6/icmp.h, opt.h: Integrate "task #7272 : LWIP_ICMP option". The new option
76     LWIP_ICMP enable/disable ICMP module inside the IP stack (enable per default).
77     Be careful, disabling ICMP make your product non-compliant to RFC1122, but
78     help to reduce footprint, and to reduce "visibility" on the Internet.
79
80   2007-09-05 Frédéric Bernon, Bill Florac
81   * opt.h, sys.h, tcpip.c, slipif.c, ppp.c, sys_arch.txt: Change parameters list
82     for sys_thread_new (see "task #7252 : Create sys_thread_new_ex()"). Two new
83     parameters have to be provided: a task name, and a task stack size. For this
84     one, since it's platform dependant, you could define the best one for you in
85     your lwipopts.h. For port maintainers, you can just add these new parameters
86     in your sys_arch.c file, and but it's not mandatory, use them in your OS
87     specific functions.
88
89   2007-09-05 Frédéric Bernon
90   * inet.c, autoip.c, msg_in.c, msg_out.c, init.c: Move some build time checkings
91     inside init.c for task #7142 "Sanity check user-configurable values".
92
93   2007-09-04 Frédéric Bernon, Bill Florac
94   * igmp.h, igmp.c, memp_std.h, memp.c, init.c, opt.h: Replace mem_malloc call by
95     memp_malloc, and use a new MEMP_NUM_IGMP_GROUP option (see opt.h to define the
96     value). It will avoid potential fragmentation problems, use a counter to know
97     how many times a group is used on an netif, and free it when all applications
98     leave it. MEMP_NUM_IGMP_GROUP got 8 as default value (and init.c got a sanity
99     check if LWIP_IGMP!=0).
100
101   2007-09-03 Frédéric Bernon
102   * igmp.h, igmp.c, sockets.c, api_msg.c: Changes for "#20503 IGMP Improvement".
103     Initialize igmp_mac_filter to NULL in netif_add (this field should be set in
104     the netif's "init" function). Use the "imr_interface" field (for socket layer)
105     and/or the "interface" field (for netconn layer), for join/leave operations.
106     The igmp_join/leavegroup first parameter change from a netif to an ipaddr.
107     This field could be a netif's ipaddr, or "any" (same meaning than ip_addr_isany).
108
109   2007-08-30 Frédéric Bernon
110   * Add netbuf.h, netbuf.c, Change api.h, api_lib.c: #7249 "Split netbuf functions
111     from api/api_lib". Now netbuf API is independant of netconn, and can be used
112     with other API (application based on raw API, or future "socket2" API). Ports
113     maintainers just have to add src/api/netbuf.c in their makefile/projects.
114
115   2007-08-30 Frédéric Bernon, Jonathan Larmour
116   * init.c: Add first version of lwip_sanity_check for task #7142 "Sanity check
117     user-configurable values".
118
119   2007-08-29 Frédéric Bernon
120   * igmp.h, igmp.c, tcpip.c, init.c, netif.c: change igmp_init and add igmp_start.
121     igmp_start is call inside netif_add. Now, igmp initialization is in the same
122     spirit than the others modules. Modify some IGMP debug traces.
123
124   2007-08-29 Frédéric Bernon
125   * Add init.h, init.c, Change opt.h, tcpip.c: Task  #7213 "Add a lwip_init function"
126     Add lwip_init function to regroup all modules initializations, and to provide
127     a place to add code for task #7142 "Sanity check user-configurable values".
128     Ports maintainers should remove direct initializations calls from their code,
129     and add init.c in their makefiles. Note that lwip_init() function is called
130     inside tcpip_init, but can also be used by raw api users since all calls are
131     disabled when matching options are disabled. Also note that their is new options
132     in opt.h, you should configure in your lwipopts.h (they are enabled per default).
133
134   2007-08-26 Marc Boucher
135   * api_msg.c: do_close_internal(): Reset the callbacks and arg (conn) to NULL
136     since they can under certain circumstances be called with an invalid conn
137     pointer after the connection has been closed (and conn has been freed). 
138
139   2007-08-25 Frédéric Bernon (Artem Migaev's Patch)
140   * netif.h, netif.c: Integrate "patch #6163 : Function to check if link layer is up".
141     Add a netif_is_link_up() function if LWIP_NETIF_LINK_CALLBACK option is set.
142
143   2007-08-22 Frédéric Bernon
144   * netif.h, netif.c, opt.h: Rename LWIP_NETIF_CALLBACK in LWIP_NETIF_STATUS_CALLBACK
145     to be coherent with new LWIP_NETIF_LINK_CALLBACK option before next release.
146
147   2007-08-22 Frédéric Bernon
148   * tcpip.h, tcpip.c, ethernetif.c, opt.h: remove options ETHARP_TCPIP_INPUT &
149     ETHARP_TCPIP_ETHINPUT, now, only "ethinput" code is supported, even if the 
150     name is tcpip_input (we keep the name of 1.2.0 function).
151
152   2007-08-17 Jared Grubb
153   * memp_std.h, memp.h, memp.c, mem.c, stats.c: (Task #7136) Centralize mempool 
154     settings into new memp_std.h and optional user file lwippools.h. This adds
155     more dynamic mempools, and allows the user to create an arbitrary number of
156     mempools for mem_malloc.
157
158   2007-08-16 Marc Boucher
159   * api_msg.c: Initialize newconn->state to NETCONN_NONE in accept_function;
160     otherwise it was left to NETCONN_CLOSE and sent_tcp() could prematurely
161     close the connection.
162
163   2007-08-16 Marc Boucher
164   * sockets.c: lwip_accept(): check netconn_peer() error return.
165
166   2007-08-16 Marc Boucher
167   * mem.c, mem.h: Added mem_calloc().
168
169   2007-08-16 Marc Boucher
170   * tcpip.c, tcpip.h memp.c, memp.h: Added distinct memp (MEMP_TCPIP_MSG_INPKT)
171     for input packets to prevent floods from consuming all of MEMP_TCPIP_MSG
172     and starving other message types.
173     Renamed MEMP_TCPIP_MSG to MEMP_TCPIP_MSG_API
174
175   2007-08-16 Marc Boucher
176   * pbuf.c, pbuf.h, etharp.c, tcp_in.c, sockets.c: Split pbuf flags in pbuf
177     type and flgs (later renamed to flags).
178     Use enum pbuf_flag as pbuf_type.  Renumber PBUF_FLAG_*.
179     Improved lwip_recvfrom().  TCP push now propagated.
180
181   2007-08-16 Marc Boucher
182   * ethernetif.c, contrib/ports/various: ethbroadcast now a shared global
183     provided by etharp.
184
185   2007-08-16 Marc Boucher
186   * ppp_oe.c ppp_oe.h, auth.c chap.c fsm.c lcp.c ppp.c ppp.h,
187     etharp.c ethernetif.c, etharp.h, opt.h tcpip.h, tcpip.c:
188     Added PPPoE support and various PPP improvements.
189
190   2007-07-25 Simon Goldschmidt
191   * api_lib.c, ip_frag.c, pbuf.c, api.h, pbuf.h: Introduced pbuf_copy_partial,
192     making netbuf_copy_partial use this function.
193
194   2007-07-25 Simon Goldschmidt
195   * tcp_in.c: Fix bug #20506: Slow start / initial congestion window starts with
196     2 * mss (instead of 1 * mss previously) to comply with some newer RFCs and
197     other stacks.
198
199   2007-07-13 Jared Grubb (integrated by Frédéric Bernon)
200   * opt.h, netif.h, netif.c, ethernetif.c: Add new configuration option to add
201     a link callback in the netif struct, and functions to handle it. Be carefull
202     for port maintainers to add the NETIF_FLAG_LINK_UP flag (like in ethernetif.c)
203     if you want to be sure to be compatible with future changes...
204
205   2007-06-30 Frédéric Bernon
206   * sockets.h, sockets.c: Implement MSG_PEEK flag for recv/recvfrom functions.
207
208   2007-06-21 Simon Goldschmidt
209   * etharp.h, etharp.c: Combined etharp_request with etharp_raw for both
210     LWIP_AUTOIP =0 and =1 to remove redundant code.
211
212   2007-06-21 Simon Goldschmidt
213   * mem.c, memp.c, mem.h, memp.h, opt.h: task #6863: Introduced the option
214     MEM_USE_POOLS to use 4 pools with different sized elements instead of a
215     heap. This both prevents memory fragmentation and gives a higher speed
216     at the cost of more memory consumption. Turned off by default.
217
218   2007-06-21 Simon Goldschmidt
219   * api_lib.c, api_msg.c, api.h, api_msg.h: Converted the length argument of
220     netconn_write (and therefore also api_msg_msg.msg.w.len) from u16_t into
221     int to be able to send a bigger buffer than 64K with one time (mainly
222     used from lwip_send).
223
224   2007-06-21 Simon Goldschmidt
225   * tcp.h, api_msg.c: Moved the nagle algorithm from netconn_write/do_write
226     into a define (tcp_output_nagle) in tcp.h to provide it to raw api users, too.
227
228   2007-06-21 Simon Goldschmidt
229   * api.h, api_lib.c, api_msg.c: Fixed bug #20021: Moved sendbuf-processing in
230     netconn_write from api_lib.c to api_msg.c to also prevent multiple context-
231     changes on low memory or empty send-buffer.
232
233   2007-06-18 Simon Goldschmidt
234   * etharp.c, etharp.h: Changed etharp to use a defined hardware address length
235     of 6 to avoid loading netif->hwaddr_len every time (since this file is only
236     used for ethernet and struct eth_addr already had a defined length of 6).
237
238   2007-06-17 Simon Goldschmidt
239   * sockets.c, sockets.h: Implemented socket options SO_NO_CHECK for UDP sockets
240     to disable UDP checksum generation on transmit.
241
242   2007-06-13 Frédéric Bernon, Simon Goldschmidt
243   * debug.h, api_msg.c: change LWIP_ERROR to use it to check errors like invalid
244     pointers or parameters, and let the possibility to redefined it in cc.h. Use
245     this macro to check "conn" parameter in api_msg.c functions.
246
247   2007-06-11 Simon Goldschmidt
248   * sockets.c, sockets.h: Added UDP lite support for sockets
249
250   2007-06-10 Simon Goldschmidt
251   * udp.h, opt.h, api_msg.c, ip.c, udp.c: Included switch LWIP_UDPLITE (enabled
252     by default) to switch off UDP-Lite support if not needed (reduces udp.c code
253     size)
254
255   2007-06-09 Dominik Spies (integrated by Frédéric Bernon)
256   * autoip.h, autoip.c, dhcp.h, dhcp.c, netif.h, netif.c, etharp.h, etharp.c, opt.h:
257     AutoIP implementation available for IPv4, with new options LWIP_AUTOIP and
258     LWIP_DHCP_AUTOIP_COOP if you want to cooperate with DHCP. Some tips to adapt
259     (see TODO mark in the source code).
260
261   2007-06-09 Simon Goldschmidt
262   * etharp.h, etharp.c, ethernetif.c: Modified order of parameters for
263     etharp_output() to match netif->output so etharp_output() can be used
264     directly as netif->output to save one function call.
265
266   2007-06-08 Simon Goldschmidt
267   * netif.h, ethernetif.c, slipif.c, loopif.c: Added define
268     NETIF_INIT_SNMP(netif, type, speed) to initialize per-netif snmp variables,
269     added initialization of those to ethernetif, slipif and loopif.
270
271   2007-05-18 Simon Goldschmidt
272   * opt.h, ip_frag.c, ip_frag.h, ip.c: Added option IP_FRAG_USES_STATIC_BUF
273     (defaulting to off for now) that can be set to 0 to send fragmented
274     packets by passing PBUF_REFs down the stack.
275
276   2007-05-23 Frédéric Bernon
277   * api_lib.c: Implement SO_RCVTIMEO for accept and recv on TCP
278     connections, such present in patch #5959.
279
280   2007-05-23 Frédéric Bernon
281   * api.h, api_lib.c, api_msg.c, sockets.c: group the different NETCONN_UDPxxx
282     code in only one part...
283
284   2007-05-18 Simon Goldschmidt
285   * opt.h, memp.h, memp.c: Added option MEMP_OVERFLOW_CHECK to check for memp
286     elements to overflow. This is achieved by adding some bytes before and after
287     each pool element (increasing their size, of course), filling them with a
288     prominent value and checking them on freeing the element.
289     Set it to 2 to also check every element in every pool each time memp_malloc()
290     or memp_free() is called (slower but more helpful).
291
292   2007-05-10 Simon Goldschmidt
293   * opt.h, memp.h, memp.c, pbuf.c (see task #6831): use a new memp pool for
294     PBUF_POOL pbufs instead of the old pool implementation in pbuf.c to reduce
295     code size.
296
297   2007-05-11 Frédéric Bernon
298   * sockets.c, api_lib.c, api_msg.h, api_msg.c, netifapi.h, netifapi.c, tcpip.c:
299     Include a function pointer instead of a table index in the message to reduce
300     footprint. Disable some part of lwip_send and lwip_sendto if some options are
301     not set (LWIP_TCP, LWIP_UDP, LWIP_RAW).
302
303   2007-05-10 Simon Goldschmidt
304   * *.h (except netif/ppp/*.h): Included patch #5448: include '#ifdef __cplusplus
305     \ extern "C" {' in all header files. Now you can write your application using
306     the lwIP stack in C++ and simply #include the core files. Note I have left
307     out the netif/ppp/*h header files for now, since I don't know which files are
308     included by applications and which are for internal use only.
309
310   2007-05-09 Simon Goldschmidt
311   * opt.h, *.c/*.h: Included patch #5920: Create define to override C-library
312     memcpy. 2 Defines are created: MEMCPY() for normal memcpy, SMEMCPY() for
313     situations where some compilers might inline the copy and save a function
314     call. Also replaced all calls to memcpy() with calls to (S)MEMCPY().
315
316   2007-05-08 Simon Goldschmidt
317   * mem.h: If MEM_LIBC_MALLOC==1, allow the defines (e.g. mem_malloc() -> malloc())
318     to be overriden in case the C-library malloc implementation is not protected
319     against concurrent access.
320
321   2007-05-04 Simon Goldschmidt (Atte Kojo)
322   * etharp.c: Introduced fast one-entry-cache to speed up ARP lookup when sending
323     multiple packets to the same host.
324
325   2007-05-04 Frédéric Bernon, Jonathan Larmour
326   * sockets.c, api.h, api_lib.c, api_msg.h, api_msg.c: Fix bug #19162 "lwip_sento: a possible
327     to corrupt remote addr/port connection state". Reduce problems "not enought memory" with
328     netbuf (if we receive lot of datagrams). Improve lwip_sendto (only one exchange between
329     sockets api and api_msg which run in tcpip_thread context). Add netconn_sento function.
330     Warning, if you directly access to "fromaddr" & "fromport" field from netbuf struct,
331     these fields are now renamed "addr" & "port".
332
333   2007-04-11 Jonathan Larmour
334   * sys.h, api_lib.c: Provide new sys_mbox_tryfetch function. Require ports to provide new
335     sys_arch_mbox_tryfetch function to get a message if one is there, otherwise return
336     with SYS_MBOX_EMPTY. sys_arch_mbox_tryfetch can be implemented as a function-like macro
337     by the port in sys_arch.h if desired.
338
339   2007-04-06 Frédéric Bernon, Simon Goldschmidt
340   * opt.h, tcpip.h, tcpip.c, netifapi.h, netifapi.c: New configuration option LWIP_NETIF_API
341     allow to use thread-safe functions to add/remove netif in list, and to start/stop dhcp
342     clients, using new functions from netifapi.h. Disable as default (no port change to do).
343
344   2007-04-05 Frédéric Bernon
345   * sockets.c: remplace ENOBUFS errors on alloc_socket by ENFILE to be more BSD compliant.
346
347   2007-04-04 Simon Goldschmidt
348   * arch.h, api_msg.c, dhcp.c, msg_in.c, sockets.c: Introduced #define LWIP_UNUSED_ARG(x)
349     use this for and architecture-independent form to tell the compiler you intentionally
350     are not using this variable. Can be overriden in cc.h.
351
352   2007-03-28 Frédéric Bernon
353   * opt.h, netif.h, dhcp.h, dhcp.c: New configuration option LWIP_NETIF_HOSTNAME allow to
354     define a hostname in netif struct (this is just a pointer, so, you can use a hardcoded
355     string, point on one of your's ethernetif field, or alloc a string you will free yourself).
356     It will be used by DHCP to register a client hostname, but can also be use when you call
357     snmp_set_sysname.
358
359   2007-03-28 Frédéric Bernon
360   * netif.h, netif.c: A new NETIF_FLAG_ETHARP flag is defined in netif.h, to allow to 
361     initialize a network interface's flag with. It tell this interface is an ethernet
362     device, and we can use ARP with it to do a "gratuitous ARP" (RFC 3220 "IP Mobility
363     Support for IPv4" section 4.6) when interface is "up" with netif_set_up().
364
365   2007-03-26 Frédéric Bernon, Jonathan Larmour
366   * opt.h, tcpip.c: New configuration option LWIP_ARP allow to disable ARP init at build
367     time if you only use PPP or SLIP. The default is enable. Note we don't have to call 
368     etharp_init in your port's initilization sequence if you use tcpip.c, because this call
369     is done in tcpip_init function.
370
371   2007-03-22 Frédéric Bernon
372   * stats.h, stats.c, msg_in.c: Stats counters can be change to u32_t if necessary with the
373     new option LWIP_STATS_LARGE. If you need this option, define LWIP_STATS_LARGE to 1 in
374     your lwipopts.h. More, unused counters are not defined in the stats structs, and not 
375     display by stats_display(). Note that some options (SYS_STATS and RAW_STATS) are defined
376     but never used. Fix msg_in.c with the correct #if test for a stat display.
377
378   2007-03-21 Kieran Mansley
379   * netif.c, netif.h: Apply patch#4197 with some changes (originator: rireland@hmgsl.com). 
380     Provides callback on netif up/down state change.
381
382   2007-03-11 Frédéric Bernon, Mace Gael, Steve Reynolds
383   * sockets.h, sockets.c, api.h, api_lib.c, api_msg.h, api_msg.c, igmp.h, igmp.c,
384     ip.c, netif.h, tcpip.c, opt.h:
385     New configuration option LWIP_IGMP to enable IGMP processing. Based on only one 
386     filter per all network interfaces. Declare a new function in netif to enable to
387     control the MAC filter (to reduce lwIP traffic processing).
388
389   2007-03-11 Frédéric Bernon
390   * tcp.h, tcp.c, sockets.c, tcp_out.c, tcp_in.c, opt.h: Keepalive values can
391     be configured at run time with LWIP_TCP_KEEPALIVE, but don't change this
392     unless you know what you're doing (default are RFC1122 compliant). Note
393     that TCP_KEEPIDLE and TCP_KEEPINTVL have to be set in seconds.
394
395   2007-03-08 Frédéric Bernon
396   * tcp.h: Keepalive values can be configured at compile time, but don't change
397     this unless you know what you're doing (default are RFC1122 compliant).
398
399   2007-03-08 Frédéric Bernon
400   * sockets.c, api.h, api_lib.c, tcpip.c, sys.h, sys.c, err.c, opt.h:
401     Implement LWIP_SO_RCVTIMEO configuration option to enable/disable SO_RCVTIMEO
402     on UDP sockets/netconn.
403
404   2007-03-08 Simon Goldschmidt
405   * snmp_msg.h, msg_in.c: SNMP UDP ports can be configured at compile time.
406
407   2007-03-06 Frédéric Bernon
408   * api.h, api_lib.c, sockets.h, sockets.c, tcpip.c, sys.h, sys.c, err.h: 
409     Implement SO_RCVTIMEO on UDP sockets/netconn.
410
411   2007-02-28 Kieran Mansley (based on patch from Simon Goldschmidt)
412   * api_lib.c, tcpip.c, memp.c, memp.h: make API msg structs allocated
413     on the stack and remove the API msg type from memp
414
415   2007-02-26 Jonathan Larmour (based on patch from Simon Goldschmidt)
416   * sockets.h, sockets.c: Move socket initialization to new
417     lwip_socket_init() function.
418     NOTE: this changes the API with ports. Ports will have to be
419     updated to call lwip_socket_init() now.
420
421   2007-02-26 Jonathan Larmour (based on patch from Simon Goldschmidt)
422   * api_lib.c: Use memcpy in netbuf_copy_partial.
423
424
425   ++ Bug fixes:
426
427   2007-10-09 Simon Goldschmidt
428   * udp.c, inet.c, inet.h: Fixed UDPLite: send: Checksum was always generated too
429     short and also was generated wrong if checksum coverage != tot_len;
430     receive: checksum was calculated wrong if checksum coverage != tot_len
431
432   2007-10-08 Simon Goldschmidt
433   * mem.c: lfree was not updated in mem_realloc!
434
435   2007-10-07 Frédéric Bernon
436   * sockets.c, api.h, api_lib.c: First step to fix "bug #20900 : Potential
437     crash error problem with netconn_peer & netconn_addr". VERY IMPORTANT:
438     this change cause an API breakage for netconn_addr, since a parameter
439     type change. Any compiler should cause an error without any changes in
440     yours netconn_peer calls (so, it can't be a "silent change"). It also
441     reduce a little bit the footprint for socket layer (lwip_getpeername &
442     lwip_getsockname use now a common lwip_getaddrname function since 
443     netconn_peer & netconn_addr have the same parameters).
444
445   2007-09-20 Simon Goldschmidt
446   * tcp.c: Fixed bug #21080 (tcp_bind without check pcbs in TIME_WAIT state)
447     by checking  tcp_tw_pcbs also
448
449   2007-09-19 Simon Goldschmidt
450   * icmp.c: Fixed bug #21107 (didn't reset IP TTL in ICMP echo replies)
451
452   2007-09-15 Mike Kleshov
453   * mem.c: Fixed bug #21077 (inaccuracy in calculation of lwip_stat.mem.used)
454
455   2007-09-06 Frédéric Bernon
456   * several-files: replace some #include "arch/cc.h" by "lwip/arch.h", or simply remove
457     it as long as "lwip/opt.h" is included before (this one include "lwip/debug.h" which
458     already include "lwip/arch.h"). Like that, default defines are provided by "lwip/arch.h"
459     if they are not defined in cc.h, in the same spirit than "lwip/opt.h" for lwipopts.h.
460
461   2007-08-30 Frédéric Bernon
462   * igmp.h, igmp.c: Some changes to remove some redundant code, add some traces, 
463     and fix some coding style.
464
465   2007-08-28 Frédéric Bernon
466   * tcpip.c: Fix TCPIP_MSG_INPKT processing: now, tcpip_input can be used for any
467     kind of packets. These packets are considered like Ethernet packets (payload 
468     pointing to ethhdr) if the netif got the NETIF_FLAG_ETHARP flag. Else, packets 
469     are considered like IP packets (payload pointing to iphdr).
470
471   2007-08-27 Frédéric Bernon
472   * api.h, api_lib.c, api_msg.c: First fix for "bug #20900 : Potential crash error
473     problem with netconn_peer & netconn_addr". Introduce NETCONN_LISTEN netconn_state
474     and remove obsolete ones (NETCONN_RECV & NETCONN_ACCEPT).
475
476   2007-08-24 Kieran Mansley
477   * inet.c Modify (acc >> 16) test to ((acc >> 16) != 0) to help buggy
478     compiler (Paradigm C++)
479
480   2007-08-09 Frédéric Bernon, Bill Florac
481   * stats.h, stats.c, igmp.h, igmp.c, opt.h: Fix for bug #20503 : IGMP Improvement.
482     Introduce IGMP_STATS to centralize statistics management.
483
484   2007-08-09 Frédéric Bernon, Bill Florac
485   * udp.c: Fix for bug #20503 : IGMP Improvement. Enable to receive a multicast
486     packet on a udp pcb binded on an netif's IP address, and not on "any".
487
488   2007-08-09 Frédéric Bernon, Bill Florac
489   * igmp.h, igmp.c, ip.c: Fix minor changes from bug #20503 : IGMP Improvement.
490     This is mainly on using lookup/lookfor, and some coding styles...
491
492   2007-07-26 Frédéric Bernon (and "thedoctor")
493   * igmp.c: Fix bug #20595 to accept IGMPv3 "Query" messages.
494
495   2007-07-25 Simon Goldschmidt
496   * api_msg.c, tcp.c: Another fix for bug #20021: by not returning an error if
497     tcp_output fails in tcp_close, the code in do_close_internal gets simpler
498     (tcp_output is called again later from tcp timers).
499
500   2007-07-25 Simon Goldschmidt
501   * ip_frag.c: Fixed bug #20429: use the new pbuf_copy_partial instead of the old
502     copy_from_pbuf, which illegally modified the given pbuf.
503
504   2007-07-25 Simon Goldschmidt
505   * tcp_out.c: tcp_enqueue: pcb->snd_queuelen didn't work for chaine PBUF_RAMs:
506     changed snd_queuelen++ to snd_queuelen += pbuf_clen(p).
507
508   2007-07-24 Simon Goldschmidt
509   * api_msg.c, tcp.c: Fix bug #20480: Check the pcb passed to tcp_listen() for the
510     correct state (must be CLOSED).
511
512   2007-07-13 Thomas Taranowski (commited by Jared Grubb)
513   * memp.c: Fix bug #20478: memp_malloc returned NULL+MEMP_SIZE on failed
514     allocation. It now returns NULL.
515
516   2007-07-13 Frédéric Bernon
517   * api_msg.c: Fix bug #20318: api_msg "recv" callbacks don't call pbuf_free in
518     all error cases.
519
520   2007-07-13 Frédéric Bernon
521   * api_msg.c: Fix bug #20315: possible memory leak problem if tcp_listen failed,
522     because current code doesn't follow rawapi.txt documentation.
523
524   2007-07-13 Kieran Mansley
525   * src/core/tcp_in.c Apply patch#5741 from Oleg Tyshev to fix bug in
526     out of sequence processing of received packets
527
528   2007-07-03 Simon Goldschmidt
529   * nearly-all-files: Added assertions where PBUF_RAM pbufs are used and an
530     assumption is made that this pbuf is in one piece (i.e. not chained). These
531     assumptions clash with the possibility of converting to fully pool-based
532     pbuf implementations, where PBUF_RAM pbufs might be chained.
533
534   2007-07-03 Simon Goldschmidt
535   * api.h, api_lib.c, api_msg.c: Final fix for bug #20021 and some other problems
536     when closing tcp netconns: removed conn->sem, less context switches when
537     closing, both netconn_close and netconn_delete should safely close tcp
538     connections.
539
540   2007-07-02 Simon Goldschmidt
541   * ipv4/ip.h, ipv6/ip.h, opt.h, netif.h, etharp.h, ipv4/ip.c, netif.c, raw.c,
542     tcp_out.c, udp.c, etharp.c: Added option LWIP_NETIF_HWADDRHINT (default=off)
543     to cache ARP table indices with each pcb instead of single-entry cache for
544     the complete stack.
545
546   2007-07-02 Simon Goldschmidt
547   * tcp.h, tcp.c, tcp_in.c, tcp_out.c: Added some ASSERTS and casts to prevent
548     warnings when assigning to smaller types.
549
550   2007-06-28 Simon Goldschmidt
551   * tcp_out.c: Added check to prevent tcp_pcb->snd_queuelen from overflowing.
552
553   2007-06-28 Simon Goldschmidt
554   * tcp.h: Fixed bug #20287: Fixed nagle algorithm (sending was done too early if
555     a segment contained chained pbufs)
556
557   2007-06-28 Frédéric Bernon
558   * autoip.c: replace most of rand() calls by a macro LWIP_AUTOIP_RAND which compute
559     a "pseudo-random" value based on netif's MAC and some autoip fields. It's always
560     possible to define this macro in your own lwipopts.h to always use C library's
561     rand(). Note that autoip_create_rand_addr doesn't use this macro.
562
563   2007-06-28 Frédéric Bernon
564   * netifapi.h, netifapi.c, tcpip.h, tcpip.c: Update code to handle the option
565     LWIP_TCPIP_CORE_LOCKING, and do some changes to be coherent with last modifications
566     in api_lib/api_msg (use pointers and not type with table, etc...) 
567
568   2007-06-26 Simon Goldschmidt
569   * udp.h: Fixed bug #20259: struct udp_hdr was lacking the packin defines.
570
571   2007-06-25 Simon Goldschmidt
572   * udp.c: Fixed bug #20253: icmp_dest_unreach was called with a wrong p->payload
573     for udp packets with no matching pcb.
574
575   2007-06-25 Simon Goldschmidt
576   * udp.c: Fixed bug #20220: UDP PCB search in udp_input(): a non-local match
577     could get udp input packets if the remote side matched.
578
579   2007-06-13 Simon Goldschmidt
580   * netif.c: Fixed bug #20180 (TCP pcbs listening on IP_ADDR_ANY could get
581     changed in netif_set_ipaddr if previous netif->ip_addr.addr was 0.
582
583   2007-06-13 Simon Goldschmidt
584   * api_msg.c: pcb_new sets conn->err if protocol is not implemented
585     -> netconn_new_..() does not allocate a new connection for unsupported
586     protocols.
587
588   2007-06-13 Frédéric Bernon, Simon Goldschmidt
589   * api_lib.c: change return expression in netconn_addr and netconn_peer, because
590     conn->err was reset to ERR_OK without any reasons (and error was lost)...
591
592   2007-06-13 Frédéric Bernon, Matthias Weisser
593   * opt.h, mem.h, mem.c, memp.c, pbuf.c, ip_frag.c, vj.c: Fix bug #20162. Rename
594     MEM_ALIGN in LWIP_MEM_ALIGN and MEM_ALIGN_SIZE in LWIP_MEM_ALIGN_SIZE to avoid
595     some macro names collision with some OS macros.
596
597   2007-06-11 Simon Goldschmidt
598   * udp.c: UDP Lite: corrected the use of chksum_len (based on RFC3828: if it's 0,
599     create checksum over the complete packet. On RX, if it's < 8 (and not 0),
600     discard the packet. Also removed the duplicate 'udphdr->chksum = 0' for both
601     UDP & UDP Lite.
602
603   2007-06-11 Srinivas Gollakota & Oleg Tyshev
604   * tcp_out.c: Fix for bug #20075 : "A problem with keep-alive timer and TCP flags"
605     where TCP flags wasn't initialized in tcp_keepalive.
606
607   2007-06-03 Simon Goldschmidt
608   * udp.c: udp_input(): Input pbuf was not freed if pcb had no recv function
609     registered, p->payload was modified without modifying p->len if sending
610     icmp_dest_unreach() (had no negative effect but was definitively wrong).
611
612   2007-06-03 Simon Goldschmidt
613   * icmp.c: Corrected bug #19937: For responding to an icmp echo request, icmp
614     re-used the input pbuf even if that didn't have enough space to include the
615     link headers. Now the space is tested and a new pbuf is allocated for the
616     echo response packet if the echo request pbuf isn't big enough.
617
618   2007-06-01 Simon Goldschmidt
619   * sockets.c: Checked in patch #5914: Moved sockopt processing into tcpip_thread.
620
621   2007-05-23 Frédéric Bernon
622   * api_lib.c, sockets.c: Fixed bug #5958 for netconn_listen (acceptmbox only
623     allocated by do_listen if success) and netconn_accept errors handling. In
624     most of api_lib functions, we replace some errors checkings like "if (conn==NULL)"
625     by ASSERT, except for netconn_delete.
626
627   2007-05-23 Frédéric Bernon
628   * api_lib.c: Fixed bug #5957 "Safe-thread problem inside netconn_recv" to return
629     an error code if it's impossible to fetch a pbuf on a TCP connection (and not
630     directly close the recvmbox).
631
632   2007-05-22 Simon Goldschmidt
633   * tcp.c: Fixed bug #1895 (tcp_bind not correct) by introducing a list of
634     bound but unconnected (and non-listening) tcp_pcbs.
635
636   2007-05-22 Frédéric Bernon
637   * sys.h, sys.c, api_lib.c, tcpip.c: remove sys_mbox_fetch_timeout() (was only
638     used for LWIP_SO_RCVTIMEO option) and use sys_arch_mbox_fetch() instead of
639     sys_mbox_fetch() in api files. Now, users SHOULD NOT use internal lwIP features
640     like "sys_timeout" in their application threads.
641
642   2007-05-22 Frédéric Bernon
643   * api.h, api_lib.c, api_msg.h, api_msg.c: change the struct api_msg_msg to see
644     which parameters are used by which do_xxx function, and to avoid "misusing"
645     parameters (patch #5938).
646
647   2007-05-22 Simon Goldschmidt
648   * api_lib.c, api_msg.c, raw.c, api.h, api_msg.h, raw.h: Included patch #5938:
649     changed raw_pcb.protocol from u16_t to u8_t since for IPv4 and IPv6, proto
650     is only 8 bits wide. This affects the api, as there, the protocol was
651     u16_t, too.
652
653   2007-05-18 Simon Goldschmidt
654   * memp.c: addition to patch #5913: smaller pointer was returned but
655     memp_memory was the same size -> did not save memory.
656
657   2007-05-16 Simon Goldschmidt
658   * loopif.c, slipif.c: Fix bug #19729: free pbuf if netif->input() returns
659     != ERR_OK.
660
661   2007-05-16 Simon Goldschmidt
662   * api_msg.c, udp.c: If a udp_pcb has a local_ip set, check if it is the same
663     as the one of the netif used for sending to prevent sending from old
664     addresses after a netif address gets changed (partly fixes bug #3168).
665
666   2007-05-16 Frédéric Bernon
667   * tcpip.c, igmp.h, igmp.c: Fixed bug "#19800 : IGMP: igmp_tick() will not work
668     with NO_SYS=1". Note that igmp_init is always in tcpip_thread (and not in 
669     tcpip_init) because we have to be sure that network interfaces are already
670     added (mac filter is updated only in igmp_init for the moment).
671
672   2007-05-16 Simon Goldschmidt
673   * mem.c, memp.c: Removed semaphores from memp, changed sys_sem_wait calls
674     into sys_arch_sem_wait calls to prevent timers from running while waiting
675     for the heap. This fixes bug #19167.
676
677   2007-05-13 Simon Goldschmidt
678   * tcp.h, sockets.h, sockets.c: Fixed bug from patch #5865 by moving the defines
679     for socket options (lwip_set/-getsockopt) used with level IPPROTO_TCP from
680     tcp.h to sockets.h.
681
682   2007-05-07 Simon Goldschmidt
683   * mem.c: Another attempt to fix bug #17922.
684
685   2007-05-04 Simon Goldschmidt
686   * pbuf.c, pbuf.h, etharp.c: Further update to ARP queueing: Changed pbuf_copy()
687     implementation so that it can be reused (don't allocate the target
688     pbuf inside pbuf_copy()).
689
690   2007-05-04 Simon Goldschmidt
691   * memp.c: checked in patch #5913: in memp_malloc() we can return memp as mem
692     to save a little RAM (next pointer of memp is not used while not in pool).
693
694   2007-05-03 "maq"
695   * sockets.c: Fix ioctl FIONREAD when some data remains from last recv.
696     (patch #3574).
697
698   2007-04-23 Simon Goldschmidt
699   * loopif.c, loopif.h, opt.h, src/netif/FILES: fix bug #2595: "loopif results
700     in NULL reference for incoming TCP packets". Loopif has to be configured
701     (using LWIP_LOOPIF_MULTITHREADING) to directly call netif->input()
702     (multithreading environments, e.g. netif->input() = tcpip_input()) or
703     putting packets on a list that is fed to the stack by calling loopif_poll()
704     (single-thread / NO_SYS / polling environment where e.g.
705     netif->input() = ip_input).
706
707   2007-04-17 Jonathan Larmour
708   * pbuf.c: Use s32_t in pbuf_realloc(), as an s16_t can't reliably hold
709     the difference between two u16_t's.
710   * sockets.h: FD_SETSIZE needs to match number of sockets, which is
711     MEMP_NUM_NETCONN in sockets.c right now.
712
713   2007-04-12 Jonathan Larmour
714   * icmp.c: Reset IP header TTL in ICMP ECHO responses (bug #19580).
715
716   2007-04-12 Kieran Mansley
717   * tcp.c, tcp_in.c, tcp_out.c, tcp.h: Modify way the retransmission
718     timer is reset to fix bug#19434, with help from Oleg Tyshev.
719
720   2007-04-11 Simon Goldschmidt
721   * etharp.c, pbuf.c, pbuf.h: 3rd fix for bug #11400 (arp-queuing): More pbufs than
722     previously thought need to be copied (everything but PBUF_ROM!). Cleaned up
723     pbuf.c: removed functions no needed any more (by etharp).
724
725   2007-04-11 Kieran Mansley
726   * inet.c, ip_addr.h, sockets.h, sys.h, tcp.h: Apply patch #5745: Fix
727     "Constant is long" warnings with 16bit compilers.  Contributed by
728     avatar@mmlab.cse.yzu.edu.tw
729
730   2007-04-05 Frédéric Bernon, Jonathan Larmour
731   * api_msg.c: Fix bug #16830: "err_tcp() posts to connection mailbox when no pend on
732     the mailbox is active". Now, the post is only done during a connect, and do_send,
733     do_write and do_join_leave_group don't do anything if a previous error was signaled.
734
735   2007-04-03 Frédéric Bernon
736   * ip.c: Don't set the IP_DF ("Don't fragment") flag in the IP header in IP output
737     packets. See patch #5834.
738
739   2007-03-30 Frédéric Bernon
740   * api_msg.c: add a "pcb_new" helper function to avoid redundant code, and to add
741     missing  pcb allocations checking (in do_bind, and for each raw_new). Fix style.
742
743   2007-03-30 Frédéric Bernon
744   * most of files: prefix all debug.h define with "LWIP_" to avoid any conflict with
745     others environment defines (these were too "generic").
746
747   2007-03-28 Frédéric Bernon
748   * api.h, api_lib.c, sockets.c: netbuf_ref doesn't check its internal pbuf_alloc call
749     result and can cause a crash. lwip_send now check netbuf_ref result.
750
751   2007-03-28 Simon Goldschmidt
752   * sockets.c Remove "#include <errno.h>" from sockets.c to avoid multiple
753     definition of macros (in errno.h and lwip/arch.h) if LWIP_PROVIDE_ERRNO is
754     defined. This is the way it should have been already (looking at
755     doc/sys_arch.txt)
756
757   2007-03-28 Kieran Mansley
758   * opt.h Change default PBUF_POOL_BUFSIZE (again) to accomodate default MSS +
759     IP and TCP headers *and* physical link headers
760
761   2007-03-26 Frédéric Bernon (based on patch from Dmitry Potapov)
762   * api_lib.c: patch for netconn_write(), fixes a possible race condition which cause
763     to send some garbage. It is not a definitive solution, but the patch does solve
764     the problem for most cases.
765
766   2007-03-22 Frédéric Bernon
767   * api_msg.h, api_msg.c: Remove obsolete API_MSG_ACCEPT and do_accept (never used).
768
769   2007-03-22 Frédéric Bernon
770   * api_lib.c: somes resources couldn't be freed if there was errors during
771     netconn_new_with_proto_and_callback.
772
773   2007-03-22 Frédéric Bernon
774   * ethernetif.c: update netif->input calls to check return value. In older ports,
775     it's a good idea to upgrade them, even if before, there could be another problem
776     (access to an uninitialized mailbox).
777
778   2007-03-21 Simon Goldschmidt
779   * sockets.c: fixed bug #5067 (essentialy a signed/unsigned warning fixed
780     by casting to unsigned).
781
782   2007-03-21 Frédéric Bernon
783   * api_lib.c, api_msg.c, tcpip.c: integrate sys_mbox_fetch(conn->mbox, NULL) calls from
784     api_lib.c to tcpip.c's tcpip_apimsg(). Now, use a local variable and not a
785     dynamic one from memp to send tcpip_msg to tcpip_thread in a synchrone call.
786     Free tcpip_msg from tcpip_apimsg is not done in tcpip_thread. This give a
787     faster and more reliable communication between api_lib and tcpip.
788
789   2007-03-21 Frédéric Bernon
790   * opt.h: Add LWIP_NETIF_CALLBACK (to avoid compiler warning) and set it to 0.
791
792   2007-03-21 Frédéric Bernon
793   * api_msg.c, igmp.c, igmp.h: Fix C++ style comments
794
795   2007-03-21 Kieran Mansley
796   * opt.h Change default PBUF_POOL_BUFSIZE to accomodate default MSS +
797     IP and TCP headers
798
799   2007-03-21 Kieran Mansley
800   * Fix all uses of pbuf_header to check the return value.  In some
801     cases just assert if it fails as I'm not sure how to fix them, but
802     this is no worse than before when they would carry on regardless
803     of the failure.
804
805   2007-03-21 Kieran Mansley
806   * sockets.c, igmp.c, igmp.h, memp.h: Fix C++ style comments and
807     comment out missing header include in icmp.c
808
809   2007-03-20 Frédéric Bernon
810   * memp.h, stats.c: Fix stats_display function where memp_names table wasn't
811     synchronized with memp.h.
812
813   2007-03-20 Frédéric Bernon
814   * tcpip.c: Initialize tcpip's mbox, and verify if initialized in tcpip_input,
815     tcpip_ethinput, tcpip_callback, tcpip_apimsg, to fix a init problem with 
816     network interfaces. Also fix a compiler warning.
817
818   2007-03-20 Kieran Mansley
819   * udp.c: Only try and use pbuf_header() to make space for headers if
820     not a ROM or REF pbuf.
821
822   2007-03-19 Frédéric Bernon
823   * api_msg.h, api_msg.c, tcpip.h, tcpip.c: Add return types to tcpip_apimsg()
824     and api_msg_post().
825
826   2007-03-19 Frédéric Bernon
827   * Remove unimplemented "memp_realloc" function from memp.h.
828
829   2007-03-11 Simon Goldschmidt
830   * pbuf.c: checked in patch #5796: pbuf_alloc: len field claculation caused
831     memory corruption.
832
833   2007-03-11 Simon Goldschmidt (based on patch from Dmitry Potapov)
834   * api_lib.c, sockets.c, api.h, api_msg.h, sockets.h: Fixed bug #19251
835     (missing `const' qualifier in socket functions), to get more compatible to
836     standard POSIX sockets.
837
838   2007-03-11 Frédéric Bernon (based on patch from Dmitry Potapov)
839   * sockets.c: Add asserts inside bind, connect and sendto to check input
840     parameters. Remove excessive set_errno() calls after get_socket(), because
841     errno is set inside of get_socket(). Move last sock_set_errno() inside
842     lwip_close.
843
844   2007-03-09 Simon Goldschmidt
845   * memp.c: Fixed bug #11400: New etharp queueing introduced bug: memp_memory
846     was allocated too small.
847
848   2007-03-06 Simon Goldschmidt
849   * tcpip.c: Initialize dhcp timers in tcpip_thread (if LWIP_DHCP) to protect
850     the stack from concurrent access.
851
852   2007-03-06 Frédéric Bernon, Dmitry Potapov
853   * tcpip.c, ip_frag.c, ethernetif.c: Fix some build problems, and a redundancy
854     call to "lwip_stats.link.recv++;" in low_level_input() & ethernetif_input().
855
856   2007-03-06 Simon Goldschmidt
857   * ip_frag.c, ip_frag.h: Reduce code size: don't include code in those files
858     if IP_FRAG == 0 and IP_REASSEMBLY == 0
859
860   2007-03-06 Frédéric Bernon, Simon Goldschmidt
861   * opt.h, ip_frag.h, tcpip.h, tcpip.c, ethernetif.c: add new configuration
862     option named ETHARP_TCPIP_ETHINPUT, which enable the new tcpip_ethinput.
863     Allow to do ARP processing for incoming packets inside tcpip_thread
864     (protecting ARP layer against concurrent access). You can also disable
865     old code using tcp_input with new define ETHARP_TCPIP_INPUT set to 0.
866     Older ports have to use tcpip_ethinput.
867
868   2007-03-06 Simon Goldschmidt (based on patch from Dmitry Potapov)
869   * err.h, err.c: fixed compiler warning "initialization dircards qualifiers
870     from pointer target type"
871
872   2007-03-05 Frédéric Bernon
873   * opt.h, sockets.h: add new configuration options (LWIP_POSIX_SOCKETS_IO_NAMES,
874     ETHARP_TRUST_IP_MAC, review SO_REUSE)
875
876   2007-03-04 Frédéric Bernon
877   * api_msg.c: Remove some compiler warnings : parameter "pcb" was never
878     referenced.
879
880   2007-03-04 Frédéric Bernon
881   * api_lib.c: Fix "[patch #5764] api_lib.c cleanup: after patch #5687" (from
882     Dmitry Potapov).
883     The api_msg struct stay on the stack (not moved to netconn struct).
884
885   2007-03-04 Simon Goldschmidt (based on patch from Dmitry Potapov)
886   * pbuf.c: Fix BUG#19168 - pbuf_free can cause deadlock (if
887     SYS_LIGHTWEIGHT_PROT=1 & freeing PBUF_RAM when mem_sem is not available)
888     Also fixed cast warning in pbuf_alloc()
889
890   2007-03-04 Simon Goldschmidt
891   * etharp.c, etharp.h, memp.c, memp.h, opt.h: Fix BUG#11400 - don't corrupt
892     existing pbuf chain when enqueuing multiple pbufs to a pending ARP request
893
894   2007-03-03 Frédéric Bernon
895   * udp.c: remove obsolete line "static struct udp_pcb *pcb_cache = NULL;"
896     It is static, and never used in udp.c except udp_init().
897
898   2007-03-02 Simon Goldschmidt
899   * tcpip.c: Moved call to ip_init(), udp_init() and tcp_init() from
900     tcpip_thread() to tcpip_init(). This way, raw API connections can be
901     initialized before tcpip_thread is running (e.g. before OS is started)
902
903   2007-03-02 Frédéric Bernon
904   * rawapi.txt: Fix documentation mismatch with etharp.h about etharp_tmr's call
905     interval.
906
907   2007-02-28 Kieran Mansley 
908   * pbuf.c: Fix BUG#17645 - ensure pbuf payload pointer is not moved
909     outside the region of the pbuf by pbuf_header()
910
911   2007-02-28 Kieran Mansley 
912   * sockets.c: Fix BUG#19161 - ensure milliseconds timeout is non-zero
913     when supplied timeout is also non-zero 
914
915 (STABLE-1.2.0)
916
917   2006-12-05 Leon Woestenberg
918   * CHANGELOG: Mention STABLE-1.2.0 release.
919
920   ++ New features:
921
922   2006-12-01 Christiaan Simons
923   * mem.h, opt.h: Added MEM_LIBC_MALLOC option.
924     Note this is a workaround. Currently I have no other options left.
925
926   2006-10-26 Christiaan Simons (accepted patch by Jonathan Larmour)
927   * ipv4/ip_frag.c: rename MAX_MTU to IP_FRAG_MAX_MTU and move define
928     to include/lwip/opt.h.
929   * ipv4/lwip/ip_frag.h: Remove unused IP_REASS_INTERVAL.
930     Move IP_REASS_MAXAGE and IP_REASS_BUFSIZE to include/lwip/opt.h.
931   * opt.h: Add above new options.
932
933   2006-08-18 Christiaan Simons
934   * tcp_{in,out}.c: added SNMP counters.
935   * ipv4/ip.c: added SNMP counters.
936   * ipv4/ip_frag.c: added SNMP counters.
937
938   2006-08-08 Christiaan Simons
939   * etharp.{c,h}: added etharp_find_addr() to read
940     (stable) ethernet/IP address pair from ARP table
941
942   2006-07-14 Christiaan Simons
943   * mib_structs.c: added
944   * include/lwip/snmp_structs.h: added
945   * netif.{c,h}, netif/ethernetif.c: added SNMP statistics to netif struct
946
947   2006-07-06 Christiaan Simons
948   * snmp/asn1_{enc,dec}.c added
949   * snmp/mib2.c added
950   * snmp/msg_{in,out}.c added
951   * include/lwip/snmp_asn1.h added
952   * include/lwip/snmp_msg.h added
953   * doc/snmp_agent.txt added
954
955   2006-03-29 Christiaan Simons
956   * inet.c, inet.h: Added platform byteswap support.
957     Added LWIP_PLATFORM_BYTESWAP define (defaults to 0) and
958     optional LWIP_PLATFORM_HTONS(), LWIP_PLATFORM_HTONL() macros.
959
960   ++ Bug fixes:
961
962   2006-11-30 Christiaan Simons
963   * dhcp.c: Fixed false triggers of request_timeout.
964
965   2006-11-28 Christiaan Simons
966   * netif.c: In netif_add() fixed missing clear of ip_addr, netmask, gw and flags.
967
968   2006-10-11 Christiaan Simons
969   * api_lib.c etharp.c, ip.c, memp.c, stats.c, sys.{c,h} tcp.h:
970     Partially accepted patch #5449 for ANSI C compatibility / build fixes.
971   * ipv4/lwip/ip.h ipv6/lwip/ip.h: Corrected UDP-Lite protocol
972     identifier from 170 to 136 (bug #17574).
973
974   2006-10-10 Christiaan Simons
975   * api_msg.c: Fixed Nagle algorithm as reported by Bob Grice.
976
977   2006-08-17 Christiaan Simons
978   * udp.c: Fixed bug #17200, added check for broadcast
979     destinations for PCBs bound to a unicast address.
980
981   2006-08-07 Christiaan Simons
982   * api_msg.c: Flushing TCP output in do_close() (bug #15926).
983
984   2006-06-27 Christiaan Simons
985   * api_msg.c: Applied patch for cold case (bug #11135).
986     In accept_function() ensure newconn->callback is always initialized.
987
988   2006-06-15 Christiaan Simons
989   * mem.h: added MEM_SIZE_F alias to fix an ancient cold case (bug #1748),
990     facilitate printing of mem_size_t and u16_t statistics.
991
992   2006-06-14 Christiaan Simons
993   * api_msg.c: Applied patch #5146 to handle allocation failures
994     in accept() by Kevin Lawson.
995
996   2006-05-26 Christiaan Simons
997   * api_lib.c: Removed conn->sem creation and destruction 
998     from netconn_write() and added sys_sem_new to netconn_new_*.
999
1000 (STABLE-1_1_1)
1001
1002   2006-03-03  Christiaan Simons
1003   * ipv4/ip_frag.c: Added bound-checking assertions on ip_reassbitmap
1004     access and added pbuf_alloc() return value checks.
1005
1006   2006-01-01  Leon Woestenberg <leon.woestenberg@gmx.net>
1007   * tcp_{in,out}.c, tcp_out.c: Removed 'even sndbuf' fix in TCP, which is
1008     now handled by the checksum routine properly.
1009
1010   2006-02-27  Leon Woestenberg <leon.woestenberg@gmx.net>
1011    * pbuf.c: Fix alignment; pbuf_init() would not work unless
1012      pbuf_pool_memory[] was properly aligned. (Patch by Curt McDowell.)
1013
1014   2005-12-20  Leon Woestenberg <leon.woestenberg@gmx.net>
1015   * tcp.c: Remove PCBs which stay in LAST_ACK state too long. Patch
1016     submitted by Mitrani Hiroshi.
1017
1018   2005-12-15  Christiaan Simons
1019   * inet.c: Disabled the added summing routine to preserve code space.
1020
1021   2005-12-14  Leon Woestenberg <leon.woestenberg@gmx.net>
1022   * tcp_in.c: Duplicate FIN ACK race condition fix by Kelvin Lawson.
1023     Added Curt McDowell's optimized checksumming routine for future
1024     inclusion. Need to create test case for unaliged, aligned, odd,
1025     even length combination of cases on various endianess machines.
1026
1027   2005-12-09  Christiaan Simons
1028   * inet.c: Rewrote standard checksum routine in proper portable C.
1029
1030   2005-11-25  Christiaan Simons
1031   * udp.c tcp.c: Removed SO_REUSE hack. Should reside in socket code only.
1032   * *.c: introduced cc.h LWIP_DEBUG formatters matching the u16_t, s16_t,
1033     u32_t, s32_t typedefs. This solves most debug word-length assumes.
1034
1035   2005-07-17 Leon Woestenberg <leon.woestenberg@gmx.net>
1036   * inet.c: Fixed unaligned 16-bit access in the standard checksum
1037     routine by Peter Jolasson.
1038   * slipif.c: Fixed implementation assumption of single-pbuf datagrams.
1039
1040   2005-02-04 Leon Woestenberg <leon.woestenberg@gmx.net>
1041   * tcp_out.c: Fixed uninitialized 'queue' referenced in memerr branch.
1042   * tcp_{out|in}.c: Applied patch fixing unaligned access.
1043
1044   2005-01-04 Leon Woestenberg <leon.woestenberg@gmx.net>
1045   * pbuf.c: Fixed missing semicolon after LWIP_DEBUG statement.
1046
1047   2005-01-03 Leon Woestenberg <leon.woestenberg@gmx.net>
1048   * udp.c: UDP pcb->recv() was called even when it was NULL.
1049
1050 (STABLE-1_1_0)
1051
1052   2004-12-28 Leon Woestenberg <leon.woestenberg@gmx.net>
1053   * etharp.*: Disabled multiple packets on the ARP queue.
1054     This clashes with TCP queueing.
1055
1056   2004-11-28 Leon Woestenberg <leon.woestenberg@gmx.net>
1057   * etharp.*: Fixed race condition from ARP request to ARP timeout.
1058     Halved the ARP period, doubled the period counts.
1059     ETHARP_MAX_PENDING now should be at least 2. This prevents
1060     the counter from reaching 0 right away (which would allow
1061     too little time for ARP responses to be received).
1062
1063   2004-11-25 Leon Woestenberg <leon.woestenberg@gmx.net>
1064   * dhcp.c: Decline messages were not multicast but unicast.
1065   * etharp.c: ETHARP_CREATE is renamed to ETHARP_TRY_HARD.
1066     Do not try hard to insert arbitrary packet's source address,
1067     etharp_ip_input() now calls etharp_update() without ETHARP_TRY_HARD. 
1068     etharp_query() now always DOES call ETHARP_TRY_HARD so that users
1069     querying an address will see it appear in the cache (DHCP could
1070     suffer from this when a server invalidly gave an in-use address.)
1071   * ipv4/ip_addr.h: Renamed ip_addr_maskcmp() to _netcmp() as we are
1072     comparing network addresses (identifiers), not the network masks
1073     themselves.
1074   * ipv4/ip_addr.c: ip_addr_isbroadcast() now checks that the given
1075     IP address actually belongs to the network of the given interface.
1076
1077   2004-11-24 Kieran Mansley <kjm25@cam.ac.uk>
1078   * tcp.c: Increment pcb->snd_buf when ACK is received in SYN_SENT state.
1079
1080 (STABLE-1_1_0-RC1)
1081
1082   2004-10-16 Kieran Mansley <kjm25@cam.ac.uk>
1083   * tcp.c: Add code to tcp_recved() to send an ACK (window update) immediately,
1084     even if one is already pending, if the rcv_wnd is above a threshold
1085     (currently TCP_WND/2). This avoids waiting for a timer to expire to send a
1086     delayed ACK in order to open the window if the stack is only receiving data.
1087
1088   2004-09-12 Kieran Mansley <kjm25@cam.ac.uk>
1089   * tcp*.*: Retransmit time-out handling improvement by Sam Jansen.
1090
1091   2004-08-20 Tony Mountifield <tony@softins.co.uk>
1092   * etharp.c: Make sure the first pbuf queued on an ARP entry
1093     is properly ref counted.
1094
1095   2004-07-27 Tony Mountifield <tony@softins.co.uk>
1096   * debug.h: Added (int) cast in LWIP_DEBUGF() to avoid compiler
1097     warnings about comparison.
1098   * pbuf.c: Stopped compiler complaining of empty if statement
1099     when LWIP_DEBUGF() empty.  Closed an unclosed comment.
1100   * tcp.c: Stopped compiler complaining of empty if statement
1101     when LWIP_DEBUGF() empty.
1102   * ip.h Corrected IPH_TOS() macro: returns a byte, so doesn't need htons().
1103   * inet.c: Added a couple of casts to quiet the compiler.
1104     No need to test isascii(c) before isdigit(c) or isxdigit(c).
1105
1106   2004-07-22 Tony Mountifield <tony@softins.co.uk>
1107   * inet.c: Made data types consistent in inet_ntoa().
1108     Added casts for return values of checksum routines, to pacify compiler.
1109   * ip_frag.c, tcp_out.c, sockets.c, pbuf.c
1110     Small corrections to some debugging statements, to pacify compiler.
1111
1112   2004-07-21 Tony Mountifield <tony@softins.co.uk>
1113   * etharp.c: Removed spurious semicolon and added missing end-of-comment.
1114   * ethernetif.c Updated low_level_output() to match prototype for
1115     netif->linkoutput and changed low_level_input() similarly for consistency.
1116   * api_msg.c: Changed recv_raw() from int to u8_t, to match prototype
1117     of raw_recv() in raw.h and so avoid compiler error.
1118   * sockets.c: Added trivial (int) cast to keep compiler happier.
1119   * ip.c, netif.c Changed debug statements to use the tidier ip4_addrN() macros.
1120
1121 (STABLE-1_0_0)
1122
1123   ++ Changes:
1124
1125   2004-07-05 Leon Woestenberg <leon.woestenberg@gmx.net>
1126   * sockets.*: Restructured LWIP_PRIVATE_TIMEVAL. Make sure
1127     your cc.h file defines this either 1 or 0. If non-defined,
1128     defaults to 1.
1129   * .c: Added <string.h> and <errno.h> includes where used.
1130   * etharp.c: Made some array indices unsigned.
1131
1132   2004-06-27 Leon Woestenberg <leon.woestenberg@gmx.net>
1133   * netif.*: Added netif_set_up()/down().
1134   * dhcp.c: Changes to restart program flow.
1135
1136   2004-05-07 Leon Woestenberg <leon.woestenberg@gmx.net>
1137   * etharp.c: In find_entry(), instead of a list traversal per candidate, do a
1138     single-pass lookup for different candidates. Should exploit locality.
1139
1140   2004-04-29 Leon Woestenberg <leon.woestenberg@gmx.net>
1141   * tcp*.c: Cleaned up source comment documentation for Doxygen processing.
1142   * opt.h: ETHARP_ALWAYS_INSERT option removed to comply with ARP RFC.
1143   * etharp.c: update_arp_entry() only adds new ARP entries when adviced to by
1144     the caller. This deprecates the ETHARP_ALWAYS_INSERT overrule option.
1145
1146   ++ Bug fixes:
1147
1148   2004-04-27 Leon Woestenberg <leon.woestenberg@gmx.net>
1149   * etharp.c: Applied patch of bug #8708 by Toni Mountifield with a solution
1150     suggested by Timmy Brolin. Fix for 32-bit processors that cannot access
1151     non-aligned 32-bit words, such as soms 32-bit TCP/IP header fields. Fix
1152     is to prefix the 14-bit Ethernet headers with two padding bytes.
1153
1154   2004-04-23 Leon Woestenberg <leon.woestenberg@gmx.net>
1155   * ip_addr.c: Fix in the ip_addr_isbroadcast() check.
1156   * etharp.c: Fixed the case where the packet that initiates the ARP request
1157     is not queued, and gets lost. Fixed the case where the packets destination
1158     address is already known; we now always queue the packet and perform an ARP
1159     request.
1160
1161 (STABLE-0_7_0)
1162
1163   ++ Bug fixes:
1164
1165   * Fixed TCP bug for SYN_SENT to ESTABLISHED state transition.
1166   * Fixed TCP bug in dequeueing of FIN from out of order segment queue.
1167   * Fixed two possible NULL references in rare cases.
1168
1169 (STABLE-0_6_6)
1170
1171   ++ Bug fixes:
1172
1173   * Fixed DHCP which did not include the IP address in DECLINE messages.
1174
1175   ++ Changes:
1176
1177   * etharp.c has been hauled over a bit.
1178
1179 (STABLE-0_6_5)
1180
1181   ++ Bug fixes:
1182
1183   * Fixed TCP bug induced by bad window resizing with unidirectional TCP traffic.
1184   * Packets sent from ARP queue had invalid source hardware address.
1185
1186   ++ Changes:
1187
1188   * Pass-by ARP requests do now update the cache.
1189
1190   ++ New features:
1191
1192   * No longer dependent on ctype.h.
1193   * New socket options.
1194   * Raw IP pcb support.
1195
1196 (STABLE-0_6_4)
1197
1198   ++ Bug fixes:
1199
1200   * Some debug formatters and casts fixed.
1201   * Numereous fixes in PPP.
1202
1203   ++ Changes:
1204
1205   * DEBUGF now is LWIP_DEBUGF
1206   * pbuf_dechain() has been re-enabled.
1207   * Mentioned the changed use of CVS branches in README.
1208
1209 (STABLE-0_6_3)
1210
1211   ++ Bug fixes:
1212
1213   * Fixed pool pbuf memory leak in pbuf_alloc().
1214     Occured if not enough PBUF_POOL pbufs for a packet pbuf chain.
1215     Reported by Savin Zlobec.
1216
1217   * PBUF_POOL chains had their tot_len field not set for non-first
1218     pbufs. Fixed in pbuf_alloc().
1219
1220   ++ New features:
1221
1222   * Added PPP stack contributed by Marc Boucher
1223
1224   ++ Changes:
1225
1226   * Now drops short packets for ICMP/UDP/TCP protocols. More robust.
1227
1228   * ARP queueuing now queues the latest packet instead of the first.
1229     This is the RFC recommended behaviour, but can be overridden in
1230     lwipopts.h.
1231
1232 (0.6.2)
1233
1234   ++ Bugfixes:
1235
1236   * TCP has been fixed to deal with the new use of the pbuf->ref
1237     counter.
1238
1239   * DHCP dhcp_inform() crash bug fixed.
1240
1241   ++ Changes:
1242
1243   * Removed pbuf_pool_free_cache and pbuf_pool_alloc_cache. Also removed
1244     pbuf_refresh(). This has sped up pbuf pool operations considerably.
1245     Implemented by David Haas.
1246
1247 (0.6.1)
1248
1249   ++ New features:
1250
1251   * The packet buffer implementation has been enhanced to support
1252     zero-copy and copy-on-demand for packet buffers which have their
1253     payloads in application-managed memory.
1254     Implemented by David Haas.
1255
1256     Use PBUF_REF to make a pbuf refer to RAM. lwIP will use zero-copy
1257     if an outgoing packet can be directly sent on the link, or perform
1258     a copy-on-demand when necessary.
1259
1260     The application can safely assume the packet is sent, and the RAM
1261     is available to the application directly after calling udp_send()
1262     or similar function.
1263
1264   ++ Bugfixes:
1265
1266   * ARP_QUEUEING should now correctly work for all cases, including
1267     PBUF_REF.
1268     Implemented by Leon Woestenberg.
1269
1270   ++ Changes:
1271
1272   * IP_ADDR_ANY is no longer a NULL pointer. Instead, it is a pointer
1273     to a '0.0.0.0' IP address.
1274
1275   * The packet buffer implementation is changed. The pbuf->ref counter
1276     meaning has changed, and several pbuf functions have been
1277     adapted accordingly.
1278
1279   * netif drivers have to be changed to set the hardware address length field
1280     that must be initialized correctly by the driver (hint: 6 for Ethernet MAC).
1281     See the contrib/ports/c16x cs8900 driver as a driver example.
1282
1283   * netif's have a dhcp field that must be initialized to NULL by the driver.
1284     See the contrib/ports/c16x cs8900 driver as a driver example.
1285
1286 (0.5.x) This file has been unmaintained up to 0.6.1. All changes are
1287   logged in CVS but have not been explained here.
1288
1289 (0.5.3) Changes since version 0.5.2
1290
1291   ++ Bugfixes:
1292
1293   * memp_malloc(MEMP_API_MSG) could fail with multiple application
1294     threads because it wasn't protected by semaphores.
1295
1296   ++ Other changes:
1297
1298   * struct ip_addr now packed.
1299
1300   * The name of the time variable in arp.c has been changed to ctime
1301     to avoid conflicts with the time() function.
1302
1303 (0.5.2) Changes since version 0.5.1
1304
1305   ++ New features:
1306
1307   * A new TCP function, tcp_tmr(), now handles both TCP timers.
1308
1309   ++ Bugfixes:
1310
1311   * A bug in tcp_parseopt() could cause the stack to hang because of a
1312     malformed TCP option.
1313
1314   * The address of new connections in the accept() function in the BSD
1315     socket library was not handled correctly.
1316
1317   * pbuf_dechain() did not update the ->tot_len field of the tail.
1318
1319   * Aborted TCP connections were not handled correctly in all
1320     situations.
1321
1322   ++ Other changes:
1323
1324   * All protocol header structs are now packed.
1325
1326   * The ->len field in the tcp_seg structure now counts the actual
1327     amount of data, and does not add one for SYN and FIN segments.
1328
1329 (0.5.1) Changes since version 0.5.0
1330
1331   ++ New features:
1332
1333   * Possible to run as a user process under Linux.
1334
1335   * Preliminary support for cross platform packed structs.
1336
1337   * ARP timer now implemented.
1338
1339   ++ Bugfixes:
1340
1341   * TCP output queue length was badly initialized when opening
1342     connections.
1343
1344   * TCP delayed ACKs were not sent correctly.
1345
1346   * Explicit initialization of BSS segment variables.
1347
1348   * read() in BSD socket library could drop data.
1349
1350   * Problems with memory alignment.
1351
1352   * Situations when all TCP buffers were used could lead to
1353     starvation.
1354
1355   * TCP MSS option wasn't parsed correctly.
1356
1357   * Problems with UDP checksum calculation.
1358
1359   * IP multicast address tests had endianess problems.
1360
1361   * ARP requests had wrong destination hardware address.
1362
1363   ++ Other changes:
1364
1365   * struct eth_addr changed from u16_t[3] array to u8_t[6].
1366
1367   * A ->linkoutput() member was added to struct netif.
1368
1369   * TCP and UDP ->dest_* struct members where changed to ->remote_*.
1370
1371   * ntoh* macros are now null definitions for big endian CPUs.
1372
1373 (0.5.0) Changes since version 0.4.2
1374
1375   ++ New features:
1376
1377   * Redesigned operating system emulation layer to make porting easier.
1378
1379   * Better control over TCP output buffers.
1380
1381   * Documenation added.
1382
1383   ++ Bugfixes:
1384
1385   * Locking issues in buffer management.
1386
1387   * Bugfixes in the sequential API.
1388
1389   * IP forwarding could cause memory leakage. This has been fixed.
1390
1391   ++ Other changes:
1392
1393   * Directory structure somewhat changed; the core/ tree has been
1394     collapsed.
1395
1396 (0.4.2) Changes since version 0.4.1
1397
1398   ++ New features:
1399
1400   * Experimental ARP implementation added.
1401
1402   * Skeleton Ethernet driver added.
1403
1404   * Experimental BSD socket API library added.
1405
1406   ++ Bugfixes:
1407
1408   * In very intense situations, memory leakage could occur. This has
1409     been fixed.
1410
1411   ++ Other changes:
1412
1413   * Variables named "data" and "code" have been renamed in order to
1414     avoid name conflicts in certain compilers.
1415
1416   * Variable++ have in appliciable cases been translated to ++variable
1417     since some compilers generate better code in the latter case.
1418
1419 (0.4.1) Changes since version 0.4
1420
1421   ++ New features:
1422
1423   * TCP: Connection attempts time out earlier than data
1424     transmissions. Nagle algorithm implemented. Push flag set on the
1425     last segment in a burst.
1426
1427   * UDP: experimental support for UDP-Lite extensions.
1428
1429   ++ Bugfixes:
1430
1431   * TCP: out of order segments were in some cases handled incorrectly,
1432     and this has now been fixed. Delayed acknowledgements was broken
1433     in 0.4, has now been fixed. Binding to an address that is in use
1434     now results in an error. Reset connections sometimes hung an
1435     application; this has been fixed.
1436
1437   * Checksum calculation sometimes failed for chained pbufs with odd
1438     lengths. This has been fixed.
1439
1440   * API: a lot of bug fixes in the API. The UDP API has been improved
1441     and tested. Error reporting and handling has been
1442     improved. Logical flaws and race conditions for incoming TCP
1443     connections has been found and removed.
1444
1445   * Memory manager: alignment issues. Reallocating memory sometimes
1446     failed, this has been fixed.
1447
1448   * Generic library: bcopy was flawed and has been fixed.
1449
1450   ++ Other changes:
1451
1452   * API: all datatypes has been changed from generic ones such as
1453     ints, to specified ones such as u16_t. Functions that return
1454     errors now have the correct type (err_t).
1455
1456   * General: A lot of code cleaned up and debugging code removed. Many
1457     portability issues have been fixed.
1458
1459   * The license was changed; the advertising clause was removed.
1460
1461   * C64 port added.
1462
1463   * Thanks: Huge thanks go to Dagan Galarneau, Horst Garnetzke, Petri
1464     Kosunen, Mikael Caleres, and Frits Wilmink for reporting and
1465     fixing bugs!
1466
1467 (0.4) Changes since version 0.3.1
1468
1469   * Memory management has been radically changed; instead of
1470     allocating memory from a shared heap, memory for objects that are
1471     rapidly allocated and deallocated is now kept in pools. Allocation
1472     and deallocation from those memory pools is very fast. The shared
1473     heap is still present but is used less frequently.
1474
1475   * The memory, memory pool, and packet buffer subsystems now support
1476     4-, 2-, or 1-byte alignment.
1477
1478   * "Out of memory" situations are handled in a more robust way.
1479
1480   * Stack usage has been reduced.
1481
1482   * Easier configuration of lwIP parameters such as memory usage,
1483     TTLs, statistics gathering, etc. All configuration parameters are
1484     now kept in a single header file "lwipopts.h".
1485
1486   * The directory structure has been changed slightly so that all
1487     architecture specific files are kept under the src/arch
1488     hierarchy.
1489
1490   * Error propagation has been improved, both in the protocol modules
1491     and in the API.
1492
1493   * The code for the RTXC architecture has been implemented, tested
1494     and put to use.
1495
1496   * Bugs have been found and corrected in the TCP, UDP, IP, API, and
1497     the Internet checksum modules.
1498
1499   * Bugs related to porting between a 32-bit and a 16-bit architecture
1500     have been found and corrected.
1501
1502   * The license has been changed slightly to conform more with the
1503     original BSD license, including the advertisement clause.
1504
1505 (0.3.1) Changes since version 0.3
1506
1507   * Fix of a fatal bug in the buffer management. Pbufs with allocated
1508     RAM never returned the RAM when the pbuf was deallocated.
1509
1510   * TCP congestion control, window updates and retransmissions did not
1511     work correctly. This has now been fixed.
1512
1513   * Bugfixes in the API.
1514
1515 (0.3) Changes since version 0.2
1516
1517   * New and improved directory structure. All include files are now
1518     kept in a dedicated include/ directory.
1519
1520   * The API now has proper error handling. A new function,
1521     netconn_err(), now returns an error code for the connection in
1522     case of errors.
1523
1524   * Improvements in the memory management subsystem. The system now
1525     keeps a pointer to the lowest free memory block. A new function,
1526     mem_malloc2() tries to allocate memory once, and if it fails tries
1527     to free some memory and retry the allocation.
1528
1529   * Much testing has been done with limited memory
1530     configurations. lwIP now does a better job when overloaded.
1531
1532   * Some bugfixes and improvements to the buffer (pbuf) subsystem.
1533
1534   * Many bugfixes in the TCP code:
1535
1536     - Fixed a bug in tcp_close().
1537
1538     - The TCP receive window was incorrectly closed when out of
1539       sequence segments was received. This has been fixed.
1540
1541     - Connections are now timed-out of the FIN-WAIT-2 state.
1542
1543     - The initial congestion window could in some cases be too
1544       large. This has been fixed.
1545
1546     - The retransmission queue could in some cases be screwed up. This
1547       has been fixed.
1548
1549     - TCP RST flag now handled correctly.
1550
1551     - Out of sequence data was in some cases never delivered to the
1552       application. This has been fixed.
1553
1554     - Retransmitted segments now contain the correct acknowledgment
1555       number and advertised window.
1556
1557     - TCP retransmission timeout backoffs are not correctly computed
1558       (ala BSD). After a number of retransmissions, TCP now gives up
1559       the connection.
1560
1561   * TCP connections now are kept on three lists, one for active
1562     connections, one for listening connections, and one for
1563     connections that are in TIME-WAIT. This greatly speeds up the fast
1564     timeout processing for sending delayed ACKs.
1565
1566   * TCP now provides proper feedback to the application when a
1567     connection has been successfully set up.
1568
1569   * More comments have been added to the code. The code has also been
1570     somewhat cleaned up.
1571
1572 (0.2) Initial public release.