mbed-os

Fork of mbed-os by erkin yucel

Committer:
xuaner
Date:
Thu Jul 20 14:26:57 2017 +0000
Revision:
1:3deb71413561
Parent:
0:f269e3021894
mbed_os

Who changed what in which revision?

UserRevisionLine numberNew contents of line
elessair 0:f269e3021894 1 HISTORY
elessair 0:f269e3021894 2
elessair 0:f269e3021894 3 (git master)
elessair 0:f269e3021894 4
elessair 0:f269e3021894 5 * [Enter new changes just after this line - do not remove this line]
elessair 0:f269e3021894 6
elessair 0:f269e3021894 7 ++ New features:
elessair 0:f269e3021894 8
elessair 0:f269e3021894 9 2016-07-27: Simon Goldschmidt
elessair 0:f269e3021894 10 * opt.h, timeouts.h/.c: added LWIP_TIMERS_CUSTOM to override the default
elessair 0:f269e3021894 11 implementation of timeouts
elessair 0:f269e3021894 12
elessair 0:f269e3021894 13 2016-07-xx: Dirk Ziegelmeier
elessair 0:f269e3021894 14 * Large overhaul of doxygen documentation
elessair 0:f269e3021894 15
elessair 0:f269e3021894 16 2016-04-05: Simon Goldschmidt
elessair 0:f269e3021894 17 * timers.h/.c: prepare for overriding current timeout implementation: all
elessair 0:f269e3021894 18 stack-internal caclic timers are avaliable in the lwip_cyclic_timers array
elessair 0:f269e3021894 19
elessair 0:f269e3021894 20 2016-03-23: Simon Goldschmidt
elessair 0:f269e3021894 21 * tcp: call accept-callback with ERR_MEM when allocating a pcb fails on
elessair 0:f269e3021894 22 passive open to inform the application about this error
elessair 0:f269e3021894 23 ATTENTION: applications have to handle NULL pcb in accept callback!
elessair 0:f269e3021894 24
elessair 0:f269e3021894 25 2016-02-22: Ivan Delamer
elessair 0:f269e3021894 26 * Initial 6LoWPAN support
elessair 0:f269e3021894 27
elessair 0:f269e3021894 28 2016-02-XX to 2016-03-XX: Dirk Ziegelmeier
elessair 0:f269e3021894 29 * Cleanup TCPIP thread sync methods in a way that it is possibe to use them
elessair 0:f269e3021894 30 in arbitrary code that needs things to be done in TCPIP thread. Used to
elessair 0:f269e3021894 31 decouple netconn, netif, ppp and 6LoWPAN from LWIP core.
elessair 0:f269e3021894 32
elessair 0:f269e3021894 33 2016-02-XX: Dirk Ziegelmeier
elessair 0:f269e3021894 34 * Implement dual-stack support in RAW, UDP and TCP. Add new IP address
elessair 0:f269e3021894 35 type IPADDR_ANY_TYPE for this. Netconn/Socket API: Dual-stack is
elessair 0:f269e3021894 36 automatically supported when an IPv6 netconn/socket is created.
elessair 0:f269e3021894 37
elessair 0:f269e3021894 38 2015-12-26: Martin Hentschel and Dirk Ziegelmeier
elessair 0:f269e3021894 39 * Rewrite SNMP agent. SNMPv2c + MIB compiler.
elessair 0:f269e3021894 40
elessair 0:f269e3021894 41 2015-11-12: Dirk Ziegelmeier
elessair 0:f269e3021894 42 * Decouple SNMP stack from lwIP core and move stack to apps/ directory.
elessair 0:f269e3021894 43 Breaking change: Users have to call snmp_init() now!
elessair 0:f269e3021894 44
elessair 0:f269e3021894 45 2015-11-12: Dirk Ziegelmeier
elessair 0:f269e3021894 46 * Implement possibility to declare private memory pools. This is useful to
elessair 0:f269e3021894 47 decouple some apps from the core (SNMP stack) or make contrib app usage
elessair 0:f269e3021894 48 simpler (httpserver_raw)
elessair 0:f269e3021894 49
elessair 0:f269e3021894 50 2015-10-09: Simon Goldschmidt
elessair 0:f269e3021894 51 * started to move "private" header files containing implementation details to
elessair 0:f269e3021894 52 "lwip/priv/" include directory to seperate the API from the implementation.
elessair 0:f269e3021894 53
elessair 0:f269e3021894 54 2015-10-07: Simon Goldschmidt
elessair 0:f269e3021894 55 * added sntp client as first "supported" application layer protocol implementation
elessair 0:f269e3021894 56 added 'apps' folder
elessair 0:f269e3021894 57
elessair 0:f269e3021894 58 2015-09-30: Dirk Ziegelmeier
elessair 0:f269e3021894 59 * snmp_structs.h, mib_structs.c, mib2.c: snmp: fixed ugly inheritance
elessair 0:f269e3021894 60 implementation by aggregating the "base class" (struct mib_node) in all
elessair 0:f269e3021894 61 derived node classes to get more type-safe code
elessair 0:f269e3021894 62
elessair 0:f269e3021894 63 2015-09-23: Simon Goldschmidt
elessair 0:f269e3021894 64 * netif.h/.c, nd6.c: task #13729: Convert netif addresses (IPv4 & IPv6) to
elessair 0:f269e3021894 65 ip_addr_t (so they can be used without conversion/temporary storage)
elessair 0:f269e3021894 66
elessair 0:f269e3021894 67 2015-09-08: Dirk Ziegelmeier
elessair 0:f269e3021894 68 * snmp: Separate mib2 counter/table callbacks from snmp agent. This both cleans
elessair 0:f269e3021894 69 up the code and should allow integration of a 3rd party agent/mib2. Simple
elessair 0:f269e3021894 70 counters are kept in MIB2_STATS, tree/table change function prototypes moved to
elessair 0:f269e3021894 71 snmp_mib2.h.
elessair 0:f269e3021894 72
elessair 0:f269e3021894 73 2015-09-03: Simon Goldschmidt
elessair 0:f269e3021894 74 * opt.h, dns.h/.c: DNS/IPv6: added support for AAAA records
elessair 0:f269e3021894 75
elessair 0:f269e3021894 76 2015-09-01: Simon Goldschmidt
elessair 0:f269e3021894 77 * task #12178: hardware checksum capabilities can be configured per netif
elessair 0:f269e3021894 78 (use NETIF_SET_CHECKSUM_CTRL() in your netif's init function)
elessair 0:f269e3021894 79
elessair 0:f269e3021894 80 2015-08-30: Simon Goldschmidt
elessair 0:f269e3021894 81 * PBUF_REF with "custom" pbufs is now supported for RX pbufs (see pcapif in
elessair 0:f269e3021894 82 contrib for an example, LWIP_SUPPORT_CUSTOM_PBUF is required)
elessair 0:f269e3021894 83
elessair 0:f269e3021894 84 2015-08-30: Simon Goldschmidt
elessair 0:f269e3021894 85 * support IPv4 source based routing: define LWIP_HOOK_IP4_ROUTE_SRC to point
elessair 0:f269e3021894 86 to a routing function
elessair 0:f269e3021894 87
elessair 0:f269e3021894 88 2015-08-05: Simon Goldschmidt
elessair 0:f269e3021894 89 * many files: allow multicast socket options IP_MULTICAST_TTL, IP_MULTICAST_IF
elessair 0:f269e3021894 90 and IP_MULTICAST_LOOP to be used without IGMP
elessair 0:f269e3021894 91
elessair 0:f269e3021894 92 2015-04-24: Simon Goldschmidt
elessair 0:f269e3021894 93 * dhcp.h/c, autoip.h/.c: added functions dhcp/autoip_supplied_address() to
elessair 0:f269e3021894 94 check for the source of address assignment (replacement for NETIF_FLAG_DHCP)
elessair 0:f269e3021894 95
elessair 0:f269e3021894 96 2015-04-10: Simon Goldschmidt
elessair 0:f269e3021894 97 * many files: task #13480: added LWIP_IPV4 define - IPv4 can be disabled,
elessair 0:f269e3021894 98 leaving an IPv6-only stack
elessair 0:f269e3021894 99
elessair 0:f269e3021894 100 2015-04-09: Simon Goldschmidt
elessair 0:f269e3021894 101 * nearly all files: task #12722 (improve IPv4/v6 address handling): renamed
elessair 0:f269e3021894 102 ip_addr_t to ip4_addr_t, renamed ipX_addr_t to ip_addr_t and added IP
elessair 0:f269e3021894 103 version; ip_addr_t is used for all generic IP addresses for the API,
elessair 0:f269e3021894 104 ip(4/6)_addr_t are only used internally or when initializing netifs or when
elessair 0:f269e3021894 105 calling version-related functions
elessair 0:f269e3021894 106
elessair 0:f269e3021894 107 2015-03-24: Simon Goldschmidt
elessair 0:f269e3021894 108 * opt.h, ip4_addr.h, ip4.c, ip6.c: loopif is not required for loopback traffic
elessair 0:f269e3021894 109 any more but passed through any netif (ENABLE_LOOPBACK has to be enabled)
elessair 0:f269e3021894 110
elessair 0:f269e3021894 111 2015-03-23: Simon Goldschmidt
elessair 0:f269e3021894 112 * opt.h, etharp.c: with ETHARP_TABLE_MATCH_NETIF== 1, duplicate (Auto)-IP
elessair 0:f269e3021894 113 addresses on multiple netifs should now be working correctly (if correctly
elessair 0:f269e3021894 114 addressed by routing, that is)
elessair 0:f269e3021894 115
elessair 0:f269e3021894 116 2015-03-23: Simon Goldschmidt
elessair 0:f269e3021894 117 * etharp.c: Stable etharp entries that are about to expire are now refreshed
elessair 0:f269e3021894 118 using unicast to prevent unnecessary broadcast. Only if no answer is received
elessair 0:f269e3021894 119 after 15 seconds, broadcast is used.
elessair 0:f269e3021894 120
elessair 0:f269e3021894 121 2015-03-06: Philip Gladstone
elessair 0:f269e3021894 122 * netif.h/.c: patch #8359 (Provide utility function to add an IPv6 address to
elessair 0:f269e3021894 123 an interface)
elessair 0:f269e3021894 124
elessair 0:f269e3021894 125 2015-03-05: Simon Goldschmidt
elessair 0:f269e3021894 126 * netif.c, ip4.c, dhcp.c, autoip.c: fixed bug #37068 (netif up/down handling
elessair 0:f269e3021894 127 is unclear): correclty separated administrative status of a netif (up/down)
elessair 0:f269e3021894 128 from 'valid address' status
elessair 0:f269e3021894 129 ATTENTION: netif_set_up() now always has to be called, even when dhcp/autoip
elessair 0:f269e3021894 130 is used!
elessair 0:f269e3021894 131
elessair 0:f269e3021894 132 2015-02-26: patch by TabascoEye
elessair 0:f269e3021894 133 * netif.c, udp.h/.c: fixed bug #40753 (re-bind UDP pcbs on change of IP address)
elessair 0:f269e3021894 134
elessair 0:f269e3021894 135 2015-02-22: chrysn, Simon Goldschmidt
elessair 0:f269e3021894 136 * *.*: Changed nearly all functions taking 'ip(X)_addr_t' pointer to take
elessair 0:f269e3021894 137 const pointers (changed user callbacks: raw_recv_fn, udp_recv_fn; changed
elessair 0:f269e3021894 138 port callbacks: netif_output_fn, netif_igmp_mac_filter_fn)
elessair 0:f269e3021894 139
elessair 0:f269e3021894 140 2015-02-19: Ivan Delamer
elessair 0:f269e3021894 141 * netif.h, dhcp.c: Removed unused netif flag for DHCP. The preferred way to evaluate
elessair 0:f269e3021894 142 if DHCP is active is through netif->dhcp field.
elessair 0:f269e3021894 143
elessair 0:f269e3021894 144 2015-02-19: Ivan Delamer
elessair 0:f269e3021894 145 * netif.h, slipif.c, ppp.c: Removed unused netif flag for point to point connections
elessair 0:f269e3021894 146
elessair 0:f269e3021894 147 2015-02-18: Simon Goldschmidt
elessair 0:f269e3021894 148 * api_lib.c: fixed bug #37958 "netconn API doesn't handle correctly
elessair 0:f269e3021894 149 connections half-closed by peer"
elessair 0:f269e3021894 150
elessair 0:f269e3021894 151 2015-02-18: Simon Goldschmidt
elessair 0:f269e3021894 152 * tcp.c: tcp_alloc() prefers killing CLOSING/LAST_ACK over active connections
elessair 0:f269e3021894 153 (see bug #39565)
elessair 0:f269e3021894 154
elessair 0:f269e3021894 155 2015-02-16: Claudius Zingerli, Sergio Caprile
elessair 0:f269e3021894 156 * opt.h, dhcp.h/.c: patch #8361 "Add support for NTP option in DHCP"
elessair 0:f269e3021894 157
elessair 0:f269e3021894 158 2015-02-14: Simon Goldschmidt
elessair 0:f269e3021894 159 * opt.h, snmp*: added support for write-access community and dedicated
elessair 0:f269e3021894 160 community for sending traps
elessair 0:f269e3021894 161
elessair 0:f269e3021894 162 2015-02-13: Simon Goldschmidt
elessair 0:f269e3021894 163 * opt.h, memp.c: added hook LWIP_HOOK_MEMP_AVAILABLE() to get informed when
elessair 0:f269e3021894 164 a memp pool was empty and an item is now available
elessair 0:f269e3021894 165
elessair 0:f269e3021894 166 2015-02-13: Simon Goldschmidt
elessair 0:f269e3021894 167 * opt.h, pbuf.h/.c, etharp.c: Added the option PBUF_LINK_ENCAPSULATION_HLEN to
elessair 0:f269e3021894 168 allocate additional header space for TX on netifs requiring additional headers
elessair 0:f269e3021894 169
elessair 0:f269e3021894 170 2015-02-12: chrysn
elessair 0:f269e3021894 171 * timers.h/.c: introduce sys_timeouts_sleeptime (returns the time left before
elessair 0:f269e3021894 172 the next timeout is due, for NO_SYS==1)
elessair 0:f269e3021894 173
elessair 0:f269e3021894 174 2015-02-11: Nick van Ijzendoorn
elessair 0:f269e3021894 175 * opt.h, sockets.h/c: patch #7702 "Include ability to increase the socket number
elessair 0:f269e3021894 176 with defined offset"
elessair 0:f269e3021894 177
elessair 0:f269e3021894 178 2015-02-11: Frederick Baksik
elessair 0:f269e3021894 179 * opt.h, def.h, others: patch #8423 "arch/perf.h" should be made an optional item
elessair 0:f269e3021894 180
elessair 0:f269e3021894 181 2015-02-11: Simon Goldschmidt
elessair 0:f269e3021894 182 * api_msg.c, opt.h: started to implement fullduplex sockets/netconns
elessair 0:f269e3021894 183 (note that this is highly unstable yet!)
elessair 0:f269e3021894 184
elessair 0:f269e3021894 185 2015-01-17: Simon Goldschmidt
elessair 0:f269e3021894 186 * api: allow enabling socket API without (public) netconn API - netconn API is
elessair 0:f269e3021894 187 still used by sockets, but keeping it private (static) should allow better
elessair 0:f269e3021894 188 compiler optimizations
elessair 0:f269e3021894 189
elessair 0:f269e3021894 190 2015-01-16: Simon Goldschmidt
elessair 0:f269e3021894 191 * tcp_in.c: fixed bug #20506 "Initial congestion window is very small" again
elessair 0:f269e3021894 192 by implementing the calculation formula from RFC3390
elessair 0:f269e3021894 193
elessair 0:f269e3021894 194 2014-12-10: Simon Goldschmidt
elessair 0:f269e3021894 195 * api: added option LWIP_NETCONN_SEM_PER_THREAD to use a semaphore per thread
elessair 0:f269e3021894 196 instead of using one per netconn and per select call
elessair 0:f269e3021894 197
elessair 0:f269e3021894 198 2014-12-08: Simon Goldschmidt
elessair 0:f269e3021894 199 * ip6.h: fixed bug #43778: IPv6 header version not set on 16-bit platform
elessair 0:f269e3021894 200 (macro IP6H_VTCFL_SET())
elessair 0:f269e3021894 201
elessair 0:f269e3021894 202 2014-12-08: Simon Goldschmidt
elessair 0:f269e3021894 203 * icmp.c, ip4.c, pbuf.c, udp.c, pbuf.h: task #11472 Support PBUF_REF for RX
elessair 0:f269e3021894 204 (IPv6 and IPv4/v6 reassembly might not work yet)
elessair 0:f269e3021894 205
elessair 0:f269e3021894 206 2014-11-06: Simon Goldschmidt
elessair 0:f269e3021894 207 * sockets.c/.h, init.c: lwip_socket_init() is not needed any more
elessair 0:f269e3021894 208 -> compatibility define
elessair 0:f269e3021894 209
elessair 0:f269e3021894 210 2014-09-16: Simon Goldschmidt
elessair 0:f269e3021894 211 * dns.c, opt.h: reduced ram usage by parsing DNS responses in place
elessair 0:f269e3021894 212
elessair 0:f269e3021894 213 2014-09-16: Simon Goldschmidt
elessair 0:f269e3021894 214 * pbuf.h/.c: added pbuf_take_at() and pbuf_put_at()
elessair 0:f269e3021894 215
elessair 0:f269e3021894 216 2014-09-15: Simon Goldschmidt
elessair 0:f269e3021894 217 * dns.c: added source port randomization to make the DNS client more robust
elessair 0:f269e3021894 218 (see bug #43144)
elessair 0:f269e3021894 219
elessair 0:f269e3021894 220 2013-09-02: Simon Goldschmidt
elessair 0:f269e3021894 221 * arch.h and many other files: added optional macros PACK_STRUCT_FLD_8() and
elessair 0:f269e3021894 222 PACK_STRUCT_FLD_S() to prevent gcc 4 from warning about struct members that
elessair 0:f269e3021894 223 do not need packing
elessair 0:f269e3021894 224
elessair 0:f269e3021894 225 2013-08-19: Simon Goldschmidt
elessair 0:f269e3021894 226 * netif.h: bug #42998: made NETIF_MAX_HWADDR_LEN overridable for some special
elessair 0:f269e3021894 227 networks
elessair 0:f269e3021894 228
elessair 0:f269e3021894 229 2013-03-17: Simon Goldschmidt (patch by Ghobad Emadi)
elessair 0:f269e3021894 230 * opt.h, etharp.c: Added LWIP_HOOK_ETHARP_GET_GW to implement IPv4 routing with
elessair 0:f269e3021894 231 multiple gateways
elessair 0:f269e3021894 232
elessair 0:f269e3021894 233 2013-04-20: Fatih Asici
elessair 0:f269e3021894 234 * opt.h, etharp.h/.c: patch #7993: Added support for transmitting packets
elessair 0:f269e3021894 235 with VLAN headers via hook function LWIP_HOOK_VLAN_SET and to check them
elessair 0:f269e3021894 236 via hook function LWIP_HOOK_VLAN_CHECK
elessair 0:f269e3021894 237
elessair 0:f269e3021894 238 2014-02-20: Simon Goldschmidt (based on patch by Artem Pisarenko)
elessair 0:f269e3021894 239 * patch #7885: modification of api modules to support FreeRTOS-MPU
elessair 0:f269e3021894 240 (don't pass stack-pointers to other threads)
elessair 0:f269e3021894 241
elessair 0:f269e3021894 242 2014-02-05: Simon Goldschmidt (patch by "xtian" and "alex_ab")
elessair 0:f269e3021894 243 * patch #6537/#7858: TCP window scaling support
elessair 0:f269e3021894 244
elessair 0:f269e3021894 245 2014-01-17: Jiri Engelthaler
elessair 0:f269e3021894 246 * icmp, icmp6, opt.h: patch #8027: Completed HW checksuming for IPv4 and
elessair 0:f269e3021894 247 IPv6 ICMP's
elessair 0:f269e3021894 248
elessair 0:f269e3021894 249 2012-08-22: Sylvain Rochet
elessair 0:f269e3021894 250 * New PPP stack for lwIP, developed in ppp-new branch.
elessair 0:f269e3021894 251 Based from pppd 2.4.5, released 2009-11-17, with huge changes to match
elessair 0:f269e3021894 252 code size and memory requirements for embedded devices, including:
elessair 0:f269e3021894 253 - Gluing together the previous low-level PPP code in lwIP to pppd 2.4.5, which
elessair 0:f269e3021894 254 is more or less what pppd sys-* files are, so that we get something working
elessair 0:f269e3021894 255 using the unix port.
elessair 0:f269e3021894 256 - Merged some patchs from lwIP Git repository which add interesting features
elessair 0:f269e3021894 257 or fix bugs.
elessair 0:f269e3021894 258 - Merged some patchs from Debian pppd package which add interesting features
elessair 0:f269e3021894 259 or fix bugs.
elessair 0:f269e3021894 260 - Ported PPP timeout handling to the lwIP timers system
elessair 0:f269e3021894 261 - Disabled all the PPP code using filesystem access, replaced in necessary cases
elessair 0:f269e3021894 262 to configuration variables.
elessair 0:f269e3021894 263 - Disabled all the PPP code forking processes.
elessair 0:f269e3021894 264 - Removed IPX support, lwIP does not support IPX.
elessair 0:f269e3021894 265 - Ported and improved random module from the previous PPP port.
elessair 0:f269e3021894 266 - Removed samba TDB (file-driven database) usage, because it needs a filesystem.
elessair 0:f269e3021894 267 - MS-CHAP required a DES implementation, we added the latest PolarSSL DES
elessair 0:f269e3021894 268 implementation which is under a BSD-ish license.
elessair 0:f269e3021894 269 - Also switched to PolarSSL MD4,MD5,SHA1 implementations, which are meant to be
elessair 0:f269e3021894 270 used in embedded devices with reduced memory footprint.
elessair 0:f269e3021894 271 - Removed PPP configuration file parsing support.
elessair 0:f269e3021894 272 - Added macro definition EAP_SUPPORT to make EAP support optional.
elessair 0:f269e3021894 273 - Added macro definition CHAP_SUPPORT to make CHAP support optional.
elessair 0:f269e3021894 274 - Added macro definition MSCHAP_SUPPORT to make MSCHAP support optional.
elessair 0:f269e3021894 275 - Added macro definition PAP_SUPPORT to make PAP support optional.
elessair 0:f269e3021894 276 - Cleared all Linux syscall calls.
elessair 0:f269e3021894 277 - Disabled demand support using a macro, so that it can be ported later.
elessair 0:f269e3021894 278 - Disabled ECP support using a macro, so that it can be ported later.
elessair 0:f269e3021894 279 - Disabled CCP support using a macro, so that it can be ported later.
elessair 0:f269e3021894 280 - Disabled CBCP support using a macro, so that it can be ported later.
elessair 0:f269e3021894 281 - Disabled LQR support using a macro, so that it can be ported later.
elessair 0:f269e3021894 282 - Print packet debug feature optional, through PRINTPKT_SUPPORT
elessair 0:f269e3021894 283 - Removed POSIX signal usage.
elessair 0:f269e3021894 284 - Fully ported PPPoS code from the previous port.
elessair 0:f269e3021894 285 - Fully ported PPPoE code from the previous port.
elessair 0:f269e3021894 286 - Fully ported VJ compression protocol code from the previous port.
elessair 0:f269e3021894 287 - Removed all malloc()/free() use from PPP, replaced by stack usage or PBUF.
elessair 0:f269e3021894 288 - Disabled PPP server support using a macro, so that it can be ported later.
elessair 0:f269e3021894 289 - Switched all PPP debug to lwIP debug system.
elessair 0:f269e3021894 290 - Created PPP Control Block (PPP PCB), removed PPP unit integer everywhere,
elessair 0:f269e3021894 291 removed all global variables everywhere, did everything necessary for
elessair 0:f269e3021894 292 the PPP stack to support more than one PPP session (pppd only support
elessair 0:f269e3021894 293 one session per process).
elessair 0:f269e3021894 294 - Removed the statically allocated output buffer, now using PBUF.
elessair 0:f269e3021894 295 - Improved structure size of all PPP modules, deep analyze of code to reduce
elessair 0:f269e3021894 296 variables size to the bare minimum. Switched all boolean type (char type in
elessair 0:f269e3021894 297 most architecture) to compiler generated bitfields.
elessair 0:f269e3021894 298 - Added PPP IPv6 support, glued lwIP IPv6 support to PPP.
elessair 0:f269e3021894 299 - Now using a persistent netif interface which can then be used in lwIP
elessair 0:f269e3021894 300 functions requiring a netif.
elessair 0:f269e3021894 301 - Now initializing PPP in lwip_init() function.
elessair 0:f269e3021894 302 - Reworked completely the PPP state machine, so that we don't end up in
elessair 0:f269e3021894 303 anymore in inconsistent state, especially with PPPoE.
elessair 0:f269e3021894 304 - Improved the way we handle PPP reconnection after disconnect, cleaning
elessair 0:f269e3021894 305 everything required so that we start the PPP connection again from a
elessair 0:f269e3021894 306 clean state.
elessair 0:f269e3021894 307 - Added PPP holdoff support, allow the lwIP user to wait a little bit before
elessair 0:f269e3021894 308 reconnecting, prevents connection flood, especially when using PPPoL2TP.
elessair 0:f269e3021894 309 - Added PPPoL2TP LAC support (a.k.a. UDP tunnels), adding a VPN client
elessair 0:f269e3021894 310 feature to lwIP, L2TP being a widely used tunnel protocol.
elessair 0:f269e3021894 311 - Switched all used PPP types to lwIP types (u8t, u16t, u32t, ...)
elessair 0:f269e3021894 312 - Added PPP API "sequential" thread-safe API, based from NETIFAPI.
elessair 0:f269e3021894 313
elessair 0:f269e3021894 314 2011-07-21: Simon Goldschmidt
elessair 0:f269e3021894 315 * sockets.c, opt.h: (bug #30185): added LWIP_FIONREAD_LINUXMODE that makes
elessair 0:f269e3021894 316 ioctl/FIONREAD return the size of the next pending datagram.
elessair 0:f269e3021894 317
elessair 0:f269e3021894 318 2011-05-25: Simon Goldschmidt
elessair 0:f269e3021894 319 * again nearly the whole stack, renamed ip.c to ip4.c, ip_addr.c to ip4_addr.c,
elessair 0:f269e3021894 320 combined ipv4/ipv6 inet_chksum.c, added ip.h, ip_addr.h: Combined IPv4
elessair 0:f269e3021894 321 and IPv6 code where possible, added defines to access IPv4/IPv6 in non-IP
elessair 0:f269e3021894 322 code so that the code is more readable.
elessair 0:f269e3021894 323
elessair 0:f269e3021894 324 2011-05-17: Patch by Ivan Delamer (only checked in by Simon Goldschmidt)
elessair 0:f269e3021894 325 * nearly the whole stack: Finally, we got decent IPv6 support, big thanks to
elessair 0:f269e3021894 326 Ivan! (this is work in progress: we're just post release anyway :-)
elessair 0:f269e3021894 327
elessair 0:f269e3021894 328
elessair 0:f269e3021894 329 ++ Bugfixes:
elessair 0:f269e3021894 330
elessair 0:f269e3021894 331 2016-07-20: Simon Goldschmidt
elessair 0:f269e3021894 332 * memp.h/.c: fixed bug #48442 (memp stats don't work for MEMP_MEM_MALLOC)
elessair 0:f269e3021894 333
elessair 0:f269e3021894 334 2016-07-21: Simon Goldschmidt (patch by Ambroz Bizjak)
elessair 0:f269e3021894 335 * tcp_in.c, tcp_out.c: fixed bug #48543 (TCP sent callback may prematurely
elessair 0:f269e3021894 336 report sent data when only part of a segment is acked) and don't include
elessair 0:f269e3021894 337 SYN/FIN in snd_buf counter
elessair 0:f269e3021894 338
elessair 0:f269e3021894 339 2016-07-19: Simon Goldschmidt
elessair 0:f269e3021894 340 * etharp.c: fixed bug #48477 (ARP input packet might update static entry)
elessair 0:f269e3021894 341
elessair 0:f269e3021894 342 2016-07-11: Simon Goldschmidt
elessair 0:f269e3021894 343 * tcp_in.c: fixed bug #48476 (TCP sent callback called wrongly due to picking
elessair 0:f269e3021894 344 up old pcb->acked
elessair 0:f269e3021894 345
elessair 0:f269e3021894 346 2016-06-30: Simon Goldschmidt (original patch by Fabian Koch)
elessair 0:f269e3021894 347 * tcp_in.c: fixed bug #48170 (Vulnerable to TCP RST spoofing)
elessair 0:f269e3021894 348
elessair 0:f269e3021894 349 2016-05-20: Dirk Ziegelmeier
elessair 0:f269e3021894 350 * sntp.h/.c: Fix return value of sntp_getserver() call to return a pointer
elessair 0:f269e3021894 351
elessair 0:f269e3021894 352 2016-04-05: Simon Goldschmidt (patch by Philip Gladstone)
elessair 0:f269e3021894 353 * udp.c: patch #8358: allow more combinations of listening PCB for IPv6
elessair 0:f269e3021894 354
elessair 0:f269e3021894 355 2016-04-05: Simon Goldschmidt
elessair 0:f269e3021894 356 * netconn/socket API: fixed bug# 43739 (Accept not reporting errors about
elessair 0:f269e3021894 357 aborted connections): netconn_accept() returns ERR_ABRT (sockets: ECONNABORTED)
elessair 0:f269e3021894 358 for aborted connections, ERR_CLSD (sockets: EINVAL) if the listening netconn
elessair 0:f269e3021894 359 is closed, which better seems to follow the standard.
elessair 0:f269e3021894 360
elessair 0:f269e3021894 361 2016-03-23: Florent Matignon
elessair 0:f269e3021894 362 * dhcp.c: fixed bug #38203: DHCP options are not recorded in all DHCP ack messages
elessair 0:f269e3021894 363
elessair 0:f269e3021894 364 2016-03-22: Simon Goldschmidt
elessair 0:f269e3021894 365 * tcp: changed accept handling to be done internally: the application does not
elessair 0:f269e3021894 366 have to call tcp_accepted() any more. Instead, when delaying accept (e.g. sockets
elessair 0:f269e3021894 367 do), call tcp_backlog_delayed()/tcp_backlog_accepted() (fixes bug #46696)
elessair 0:f269e3021894 368
elessair 0:f269e3021894 369 2016-03-22: Simon Goldschmidt
elessair 0:f269e3021894 370 * dns.c: ignore dns response parsing errors, only abort resolving for correct
elessair 0:f269e3021894 371 responses or error responses from correct server (bug #47459)
elessair 0:f269e3021894 372
elessair 0:f269e3021894 373 2016-03-17: Simon Goldschmidt
elessair 0:f269e3021894 374 * api_msg.c: fixed bug #47448 (netconn/socket leak if RST is received during close)
elessair 0:f269e3021894 375
elessair 0:f269e3021894 376 2016-03-17: Joel Cunningham
elessair 0:f269e3021894 377 * api_msg.c: don't fail closing a socket/netconn when failing to allocate the
elessair 0:f269e3021894 378 FIN segment; blocking the calling thread for a while is better than risking
elessair 0:f269e3021894 379 leaking a netconn/socket (see bug #46701)
elessair 0:f269e3021894 380
elessair 0:f269e3021894 381 2016-03-16: Joel Cunningham
elessair 0:f269e3021894 382 * tcp_out.c: reset rto timer on fast retransmission
elessair 0:f269e3021894 383
elessair 0:f269e3021894 384 2016-03-16: Deomid Ryabkov
elessair 0:f269e3021894 385 * tcp_out.c: fixed bug #46384 Segment size calculation bug with MSS != TCP_MSS
elessair 0:f269e3021894 386
elessair 0:f269e3021894 387 2016-03-05: Simon Goldschmidt
elessair 0:f269e3021894 388 * err.h/.c, sockets.c: ERR_IF is not necessarily a fatal error
elessair 0:f269e3021894 389
elessair 0:f269e3021894 390 2015-11-19: fix by Kerem Hadimli
elessair 0:f269e3021894 391 * sockets.c: fixed bug #46471: lwip_accept() leaks socket descriptors if new
elessair 0:f269e3021894 392 netconn was already closed because of peer behavior
elessair 0:f269e3021894 393
elessair 0:f269e3021894 394 2015-11-12: fix by Valery Ushakov
elessair 0:f269e3021894 395 * tcp_in.c: fixed bug #46365 tcp_accept_null() should call tcp_abort()
elessair 0:f269e3021894 396
elessair 0:f269e3021894 397 2015-10-02: Dirk Ziegelmeier/Simon Goldschmidt
elessair 0:f269e3021894 398 * snmp: cleaned up snmp structs API (fixed race conditions from bug #46089,
elessair 0:f269e3021894 399 reduce ram/rom usage of tables): incompatible change for private MIBs
elessair 0:f269e3021894 400
elessair 0:f269e3021894 401 2015-09-30: Simon Goldschmidt
elessair 0:f269e3021894 402 * ip4_addr.c: fixed bug #46072: ip4addr_aton() does not check the number range
elessair 0:f269e3021894 403 of all address parts
elessair 0:f269e3021894 404
elessair 0:f269e3021894 405 2015-08-28: Simon Goldschmidt
elessair 0:f269e3021894 406 * tcp.c, tcp_in.c: fixed bug #44023: TCP ssthresh value is unclear: ssthresh
elessair 0:f269e3021894 407 is set to the full send window for active open, too, and is updated once
elessair 0:f269e3021894 408 after SYN to ensure the correct send window is used
elessair 0:f269e3021894 409
elessair 0:f269e3021894 410 2015-08-28: Simon Goldschmidt
elessair 0:f269e3021894 411 * tcp: fixed bug #45559: Window scaling casts u32_t to u16_t without checks
elessair 0:f269e3021894 412
elessair 0:f269e3021894 413 2015-08-26: Simon Goldschmidt
elessair 0:f269e3021894 414 * ip6_frag.h/.c: fixed bug bug #41009: IPv6 reassembly broken on 64-bit platforms:
elessair 0:f269e3021894 415 define IPV6_FRAG_COPYHEADER==1 on these platforms to copy the IPv6 header
elessair 0:f269e3021894 416 instead of referencing it, which gives more room for struct ip6_reass_helper
elessair 0:f269e3021894 417
elessair 0:f269e3021894 418 2015-08-25: Simon Goldschmidt
elessair 0:f269e3021894 419 * sockets.c: fixed bug #45827: recvfrom: TCP window is updated with MSG_PEEK
elessair 0:f269e3021894 420
elessair 0:f269e3021894 421 2015-08-20: Manoj Kumar
elessair 0:f269e3021894 422 * snmp_msg.h, msg_in.c: fixed bug #43790: Sending octet string of Length >255
elessair 0:f269e3021894 423 from SNMP agent
elessair 0:f269e3021894 424
elessair 0:f269e3021894 425 2015-08-19: Jens Nielsen
elessair 0:f269e3021894 426 * icmp.c, ip4.c, tcp_in.c, udp.c, raw.c: fixed bug #45120: Broadcast & multiple
elessair 0:f269e3021894 427 interfaces handling
elessair 0:f269e3021894 428
elessair 0:f269e3021894 429 2015-08-19: Simon Goldschmidt (patch by "Sandra")
elessair 0:f269e3021894 430 * dns.c: fixed bug #45004: dns response without answer might be discarded
elessair 0:f269e3021894 431
elessair 0:f269e3021894 432 2015-08-18: Chrysn
elessair 0:f269e3021894 433 * timers.c: patch #8704 fix sys_timeouts_sleeptime function
elessair 0:f269e3021894 434
elessair 0:f269e3021894 435 2015-07-01: Erik Ekman
elessair 0:f269e3021894 436 * puf.c: fixed bug #45454 (pbuf_take_at() skips write and returns OK if offset
elessair 0:f269e3021894 437 is at start of pbuf in chain)
elessair 0:f269e3021894 438
elessair 0:f269e3021894 439 2015-05-19: Simon Goldschmidt
elessair 0:f269e3021894 440 * dhcp.h/.c: fixed bugs #45140 and #45141 (dhcp was not stopped correctly after
elessair 0:f269e3021894 441 fixing bug #38204)
elessair 0:f269e3021894 442
elessair 0:f269e3021894 443 2015-03-21: Simon Goldschmidt (patch by Homyak)
elessair 0:f269e3021894 444 * tcp_in.c: fixed bug #44766 (LWIP_WND_SCALE: tcphdr->wnd was not scaled in
elessair 0:f269e3021894 445 two places)
elessair 0:f269e3021894 446
elessair 0:f269e3021894 447 2015-03-21: Simon Goldschmidt
elessair 0:f269e3021894 448 * tcp_impl.h, tcp.c, tcp_in.c: fixed bug #41318 (Bad memory ref in tcp_input()
elessair 0:f269e3021894 449 after tcp_close())
elessair 0:f269e3021894 450
elessair 0:f269e3021894 451 2015-03-21: Simon Goldschmidt
elessair 0:f269e3021894 452 * tcp_in.c: fixed bug #38468 (tcp_sent() not called on half-open connection for
elessair 0:f269e3021894 453 data ACKed with the same ack as FIN)
elessair 0:f269e3021894 454
elessair 0:f269e3021894 455 2015-03-21: Simon Goldschmidt (patch by Christoffer Lind)
elessair 0:f269e3021894 456 * dhcp.h/.c: fixed bug #38204 (DHCP lease time not handled correctly)
elessair 0:f269e3021894 457
elessair 0:f269e3021894 458 2015-03-20: Simon Goldschmidt
elessair 0:f269e3021894 459 * dhcp.c: fixed bug #38714 (Missing option and client address in DHCPRELEASE message)
elessair 0:f269e3021894 460
elessair 0:f269e3021894 461 2015-03-19: Simon Goldschmidt
elessair 0:f269e3021894 462 * api.h, tcpip.h, api_lib.c, api_msg.c: fixed race conditions in assigning
elessair 0:f269e3021894 463 netconn->last_err (fixed bugs #38121 and #37676)
elessair 0:f269e3021894 464
elessair 0:f269e3021894 465 2015-03-09: Simon Goldschmidt
elessair 0:f269e3021894 466 * ip4.c: fixed the IPv4 part of bug #43904 (ip_route() must detect linkup status)
elessair 0:f269e3021894 467
elessair 0:f269e3021894 468 2015-03-04: Simon Goldschmidt
elessair 0:f269e3021894 469 * nd6.c: fixed bug #43784 (a host should send at least one Router Solicitation)
elessair 0:f269e3021894 470
elessair 0:f269e3021894 471 2015-03-04: Valery Ushakov
elessair 0:f269e3021894 472 * ip6.c: fixed bug #41094 (Byte-order bug in IPv6 fragmentation header test)
elessair 0:f269e3021894 473
elessair 0:f269e3021894 474 2015-03-04: Zach Smith
elessair 0:f269e3021894 475 * nd6.c: fixed bug #38153 (nd6_input() byte order issues)
elessair 0:f269e3021894 476
elessair 0:f269e3021894 477 2015-02-26: Simon Goldschmidt
elessair 0:f269e3021894 478 * netif.c, tcp.h/.c: fixed bug #44378 (TCP connections are not aborted on netif
elessair 0:f269e3021894 479 remove)
elessair 0:f269e3021894 480
elessair 0:f269e3021894 481 2015-02-25: Simon Goldschmidt
elessair 0:f269e3021894 482 * ip4.c, etharp.c: fixed bug #40177 (System hangs when dealing with corrupted
elessair 0:f269e3021894 483 packets), implemented task #12357 (Ensure that malicious packets don't
elessair 0:f269e3021894 484 assert-fail): improved some pbuf_header calls to not assert-fail.
elessair 0:f269e3021894 485
elessair 0:f269e3021894 486 2015-02-25: patch by Joel Cunningham
elessair 0:f269e3021894 487 * udp.h/.c, sockets.c: fixed bug #43028 (IP_MULTICAST_TTL affects unicast
elessair 0:f269e3021894 488 datagrams)
elessair 0:f269e3021894 489
elessair 0:f269e3021894 490 2015-02-25: patch by Greg Renda
elessair 0:f269e3021894 491 * ip4_frag.c: fixed bug #38210 (ip reassembly while remove oldest datagram)
elessair 0:f269e3021894 492
elessair 0:f269e3021894 493 2015-02-25: Simon Goldschmidt
elessair 0:f269e3021894 494 * sockets.c: fixed bug #38165 (socket with mulicast): ensure igmp membership
elessair 0:f269e3021894 495 are dropped when socket (not netconn!) is closed.
elessair 0:f269e3021894 496
elessair 0:f269e3021894 497 2015-02-25: Simon Goldschmidt
elessair 0:f269e3021894 498 * ip4.h/.c, udp.c: fixed bug #38061 (wrong multicast routing in IPv4) by
elessair 0:f269e3021894 499 adding an optional default netif for multicast routing
elessair 0:f269e3021894 500
elessair 0:f269e3021894 501 2015-02-25: Simon Goldschmidt
elessair 0:f269e3021894 502 * netconn API: fixed that netconn_connect still used message passing for
elessair 0:f269e3021894 503 LWIP_TCPIP_CORE_LOCKING==1
elessair 0:f269e3021894 504
elessair 0:f269e3021894 505 2015-02-22: patch by Jens Nielsen
elessair 0:f269e3021894 506 * icmp.c: fixed bug #38803 (Source address in broadcast ping reply)
elessair 0:f269e3021894 507
elessair 0:f269e3021894 508 2015-02-22: Simon Goldschmidt
elessair 0:f269e3021894 509 * udp.h, sockets.c: added proper accessor functions for pcb->multicast_ip
elessair 0:f269e3021894 510 (previously used by get/setsockopt only)
elessair 0:f269e3021894 511
elessair 0:f269e3021894 512 2015-02-18: Simon Goldschmidt
elessair 0:f269e3021894 513 * sockets.c: Fixed select not reporting received FIN as 'readable' in certain
elessair 0:f269e3021894 514 rare cases (bug #43779: select(), close(), and TCP retransmission error)
elessair 0:f269e3021894 515
elessair 0:f269e3021894 516 2015-02-17: Simon Goldschmidt
elessair 0:f269e3021894 517 * err.h, sockets.c, api_msg.c: fixed bug #38853 "connect() use a wrong errno":
elessair 0:f269e3021894 518 return ERR_ALREADY/EALRADY during connect, ERR_ISCONN/EISCONN when already
elessair 0:f269e3021894 519 connected
elessair 0:f269e3021894 520
elessair 0:f269e3021894 521 2015-02-17: Simon Goldschmidt
elessair 0:f269e3021894 522 * tcp_impl.h, tcp_out.c, tcp.c, api_msg.c: fixed bug #37614 "Errors from
elessair 0:f269e3021894 523 ipX_output are not processed". Now tcp_output(_segment) checks for the return
elessair 0:f269e3021894 524 value of ipX_output and does not try to send more on error. A netif driver
elessair 0:f269e3021894 525 can call tcp_txnow() (from tcpip_thread!) to try to send again if TX buffers
elessair 0:f269e3021894 526 are available again.
elessair 0:f269e3021894 527
elessair 0:f269e3021894 528 2015-02-14: patches by Freddie Chopin
elessair 0:f269e3021894 529 * snmp*: made community writable, fixed some const pointers
elessair 0:f269e3021894 530
elessair 0:f269e3021894 531 2015-02-13: Simon Goldschmidt
elessair 0:f269e3021894 532 * msg_in.c: fixed bug #22070 "MIB_OBJECT_WRITE_ONLY not implemented in SNMP"
elessair 0:f269e3021894 533
elessair 0:f269e3021894 534 2015-02-12: Simon Goldschmidt
elessair 0:f269e3021894 535 * ip.h, ip4.c, ip6.c: fixed bug #36403 "ip4_input() and ip6_input() always pass
elessair 0:f269e3021894 536 inp to higher layers": now the accepting netif is passed up, but the input
elessair 0:f269e3021894 537 netif is available through ip_current_input_netif() if required.
elessair 0:f269e3021894 538
elessair 0:f269e3021894 539 2015-02-11: patch by hichard
elessair 0:f269e3021894 540 * tcpip.c: fixed bug #43094 "The function tcpip_input() forget to handle IPv6"
elessair 0:f269e3021894 541
elessair 0:f269e3021894 542 2015-02-10: Simon Goldschmidt
elessair 0:f269e3021894 543 * netconn API: fixed that netconn_close/netconn_delete still used message passing
elessair 0:f269e3021894 544 for LWIP_TCPIP_CORE_LOCKING==1
elessair 0:f269e3021894 545
elessair 0:f269e3021894 546 2015-02-10: Simon Goldschmidt
elessair 0:f269e3021894 547 * netconn/socket api: fixed bug #44225 "closing TCP socket should time out
elessair 0:f269e3021894 548 eventually", implemented task #6930 "Implement SO_LINGER": closing TCP sockets
elessair 0:f269e3021894 549 times out after 20 seconds or after the configured SND_TIMEOUT or depending
elessair 0:f269e3021894 550 on the linger settings.
elessair 0:f269e3021894 551
elessair 0:f269e3021894 552 2015-01-27: Simon Goldschmidt
elessair 0:f269e3021894 553 * api_msg.c: fixed that SHUT_RD followed by SHUT_WR was different to SHUT_RDWR,
elessair 0:f269e3021894 554 fixed return value of lwip_netconn_do_close on unconnected netconns
elessair 0:f269e3021894 555
elessair 0:f269e3021894 556 2015-01-17: Simon Goldschmidt
elessair 0:f269e3021894 557 * sockets.c: fixed bug #43361 select() crashes with stale FDs
elessair 0:f269e3021894 558
elessair 0:f269e3021894 559 2015-01-17: Simon Goldschmidt
elessair 0:f269e3021894 560 * sockets.c/.h, memp_std.h: fixed bug #40788 "lwip_setsockopt_internal() crashes"
elessair 0:f269e3021894 561 by rewriting set/getsockopt functions to combine checks with the actual code
elessair 0:f269e3021894 562 and add more NULL checks; this also fixes that CORE_LOCKING used message
elessair 0:f269e3021894 563 passing for set/getsockopt.
elessair 0:f269e3021894 564
elessair 0:f269e3021894 565 2014-12-19: Simon Goldschmidt
elessair 0:f269e3021894 566 * opt.h, dhcp.h/.c: prevent dhcp from starting when netif link is down (only
elessair 0:f269e3021894 567 when LWIP_DHCP_CHECK_LINK_UP==1, which is disabled by default for
elessair 0:f269e3021894 568 compatibility reasons)
elessair 0:f269e3021894 569
elessair 0:f269e3021894 570 2014-12-17: Simon Goldschmidt
elessair 0:f269e3021894 571 * tcp_out.c: fixed bug #43840 Checksum error for TCP_CHECKSUM_ON_COPY==1 for
elessair 0:f269e3021894 572 no-copy data with odd length
elessair 0:f269e3021894 573
elessair 0:f269e3021894 574 2014-12-10: Simon Goldschmidt
elessair 0:f269e3021894 575 * sockets.c, tcp.c, others: fixed bug #43797 set/getsockopt: SO_SNDTIMEO/SO_RCVTIMEO
elessair 0:f269e3021894 576 take int as option but should take timeval (LWIP_SO_SNDRCVTIMEO_STANDARD==0 can
elessair 0:f269e3021894 577 be used to revert to the old 'winsock' style behaviour)
elessair 0:f269e3021894 578 Fixed implementation of SO_ACCEPTCONN to just look at the pcb state
elessair 0:f269e3021894 579
elessair 0:f269e3021894 580 2014-12-09: Simon Goldschmidt
elessair 0:f269e3021894 581 * ip4.c: fixed bug #43596 IGMP queries from 0.0.0.0 are discarded
elessair 0:f269e3021894 582
elessair 0:f269e3021894 583 2014-10-21: Simon Goldschmidt (patch by Joel Cunningham and Albert Huitsing)
elessair 0:f269e3021894 584 * sockts.c: fixed bugs #41495 Possible threading issue in select() and #43278
elessair 0:f269e3021894 585 event_callback() handle context switch when calling sys_sem_signal()
elessair 0:f269e3021894 586
elessair 0:f269e3021894 587 2014-10-21: Simon Goldschmidt
elessair 0:f269e3021894 588 * api_msg.c: fixed bug #38219 Assert on TCP netconn_write with sndtimeout set
elessair 0:f269e3021894 589
elessair 0:f269e3021894 590 2014-09-16: Kevin Cernekee
elessair 0:f269e3021894 591 * dns.c: patch #8480 Fix handling of dns_seqno wraparound
elessair 0:f269e3021894 592
elessair 0:f269e3021894 593 2014-09-16: Simon Goldschmidt
elessair 0:f269e3021894 594 * tcp_out.c: fixed bug #43192 tcp_enqueue_flags() should not check TCP_SND_QUEUELEN
elessair 0:f269e3021894 595 when sending FIN
elessair 0:f269e3021894 596
elessair 0:f269e3021894 597 2014-09-03: Simon Goldschmidt
elessair 0:f269e3021894 598 * msg_in.c: fixed bug #39355 SNMP Memory Leak in case of error
elessair 0:f269e3021894 599
elessair 0:f269e3021894 600 2014-09-02: Simon Goldschmidt
elessair 0:f269e3021894 601 * err.h/.c, sockets.c, api_msg.c: fixed bug #43110 call getpeername() before
elessair 0:f269e3021894 602 listen() will cause a error
elessair 0:f269e3021894 603
elessair 0:f269e3021894 604 2014-09-02: Simon Goldschmidt
elessair 0:f269e3021894 605 * sockets.c: fixed bug #42117 lwip_fcntl does not set errno
elessair 0:f269e3021894 606
elessair 0:f269e3021894 607 2014-09-02: Simon Goldschmidt
elessair 0:f269e3021894 608 * tcp.c: fixed bug #42299 tcp_abort() leaves freed pcb on tcp_bound_pcbs list
elessair 0:f269e3021894 609
elessair 0:f269e3021894 610 2014-08-20: Simon Goldschmidt
elessair 0:f269e3021894 611 * dns.c: fixed bug #42987 lwIP is vulnerable to DNS cache poisoning due to
elessair 0:f269e3021894 612 non-randomized TXIDs
elessair 0:f269e3021894 613
elessair 0:f269e3021894 614 2014-06-03: Simon Goldschmidt
elessair 0:f269e3021894 615 * tcp_impl.h, tcp_in.c: fixed bug #37969 SYN packet dropped as short packet in
elessair 0:f269e3021894 616 tcp_input function
elessair 0:f269e3021894 617
elessair 0:f269e3021894 618 2014-05-20: Simon Goldschmidt
elessair 0:f269e3021894 619 * tcp_out.c: fixed bug #37184 tcp_write problem for pcbs in the SYN_SENT state
elessair 0:f269e3021894 620
elessair 0:f269e3021894 621 2014-05-19: Simon Goldschmidt
elessair 0:f269e3021894 622 * *.h: Fixed bug #35874 reserved identifier violation (removed leading underscores
elessair 0:f269e3021894 623 from header include guards)
elessair 0:f269e3021894 624
elessair 0:f269e3021894 625 2014-04-08: Simon Goldschmidt
elessair 0:f269e3021894 626 * tcp.c: Fixed bug #36167 tcp server crash when client closes (maximum window)
elessair 0:f269e3021894 627
elessair 0:f269e3021894 628 2014-04-06: Simon Goldschmidt
elessair 0:f269e3021894 629 * tcp_in.c: Fixed bug #36210 lwIP does not elicit an empty ACK when received
elessair 0:f269e3021894 630 unacceptable ACK
elessair 0:f269e3021894 631
elessair 0:f269e3021894 632 2014-04-06: Simon Goldschmidt
elessair 0:f269e3021894 633 * dhcp.c, ip4.c/.h, ip6.c/.h, udp.c/.h, ip.h: Fixed bug #41787 DHCP Discovery
elessair 0:f269e3021894 634 is invalid when an IP is set to thet netif.
elessair 0:f269e3021894 635
elessair 0:f269e3021894 636 2014-03-14: Simon Goldschmidt
elessair 0:f269e3021894 637 * tcp_out.c: Fixed bug #36153 TCP Cheksum error if LWIP_CHECKSUM_ON_COPY=1
elessair 0:f269e3021894 638
elessair 0:f269e3021894 639 2014-03-11: Simon Goldschmidt (patch by Mason)
elessair 0:f269e3021894 640 * opt.h, sockets.c: fixed bug #35928 BSD sockets functions must set errno for
elessair 0:f269e3021894 641 POSIX-compliance
elessair 0:f269e3021894 642
elessair 0:f269e3021894 643 2014-02-27: Simon Goldschmidt
elessair 0:f269e3021894 644 * dhcp.c: fixed bug #40303 DHCP xid renewed when sending a DHCPREQUEST
elessair 0:f269e3021894 645
elessair 0:f269e3021894 646 2014-02-27: Simon Goldschmidt
elessair 0:f269e3021894 647 * raw.c: fixed bug #41680 raw socket can not receive IPv6 packet when
elessair 0:f269e3021894 648 IP_SOF_BROADCAST_RECV==1
elessair 0:f269e3021894 649
elessair 0:f269e3021894 650 2014-02-27: Simon Goldschmidt
elessair 0:f269e3021894 651 * api_msg.c, sockets.c: fixed bug #38404 getpeeraddr returns success on
elessair 0:f269e3021894 652 unconnected/listening TCP sockets
elessair 0:f269e3021894 653
elessair 0:f269e3021894 654 2014-02-27: Simon Goldschmidt
elessair 0:f269e3021894 655 * sockets.c: fixed bug #41729 Some socket functions return Exyz instead of -1
elessair 0:f269e3021894 656
elessair 0:f269e3021894 657 2014-02-25: Simon Goldschmidt
elessair 0:f269e3021894 658 * ip4.c: fixed bug #39514 ip_route() may return an IPv6-only interface
elessair 0:f269e3021894 659
elessair 0:f269e3021894 660 2014-02-25: Simon Goldschmidt, patch by Fatih Asici
elessair 0:f269e3021894 661 * pbuf.c: fixed bug #39356 Wrong increment in pbuf_memfind()
elessair 0:f269e3021894 662
elessair 0:f269e3021894 663 2014-02-25: Simon Goldschmidt
elessair 0:f269e3021894 664 * netif.c/.h, udp.c: fixed bug #39225 udp.c uses netif_matches_ip6_addr() incorrectly;
elessair 0:f269e3021894 665 renamed function netif_matches_ip6_addr() to netif_get_ip6_addr_match()
elessair 0:f269e3021894 666
elessair 0:f269e3021894 667 2014-02-25: Simon Goldschmidt
elessair 0:f269e3021894 668 * igmp.c: fixed bug #39145 IGMP membership report for 224.0.0.1
elessair 0:f269e3021894 669
elessair 0:f269e3021894 670 2014-02-22: Simon Goldschmidt (patch by Amir Shalem)
elessair 0:f269e3021894 671 * etharp.c, opt.h: fixed bug #34681 Limit ARP queue length by ARP_QUEUE_LEN (=3)
elessair 0:f269e3021894 672
elessair 0:f269e3021894 673 2014-02-22: Simon Goldschmidt (patch by Amir Shalem)
elessair 0:f269e3021894 674 * etharp.h/.c: fixed bug #34682 Limit ARP request flood for unresolved entry
elessair 0:f269e3021894 675
elessair 0:f269e3021894 676 2014-02-20: Simon Goldschmidt
elessair 0:f269e3021894 677 * tcp_out.c: fixed bug #39683 Assertion "seg->tcphdr not aligned" failed with
elessair 0:f269e3021894 678 MEM_ALIGNMENT = 8
elessair 0:f269e3021894 679
elessair 0:f269e3021894 680 2014-02-20: Simon Goldschmidt
elessair 0:f269e3021894 681 * sockets.c: fixed bug #39882 No function shall set errno to 0
elessair 0:f269e3021894 682
elessair 0:f269e3021894 683 2014-02-20: Simon Goldschmidt
elessair 0:f269e3021894 684 * mib_structs.c: fixed bug #40050 SNMP problem with MIB arrays > 255
elessair 0:f269e3021894 685
elessair 0:f269e3021894 686 2014-02-20: Simon Goldschmidt
elessair 0:f269e3021894 687 * api.h, sockets.c: fixed bug #41499 netconn::recv_avail can overflow
elessair 0:f269e3021894 688
elessair 0:f269e3021894 689 2014-01-08: Stathis Voukelatos
elessair 0:f269e3021894 690 * memp_std.h: patch #7928 Fixed size calculation in MALLOC memory pool
elessair 0:f269e3021894 691 creation macro
elessair 0:f269e3021894 692
elessair 0:f269e3021894 693 2014-01-18: Brian Fahs
elessair 0:f269e3021894 694 * tcp_out.c: patch #8237: tcp_rexmit_rto fails to update pcb->unsent_oversize
elessair 0:f269e3021894 695 when necessary
elessair 0:f269e3021894 696
elessair 0:f269e3021894 697 2014-01-17: Grant Erickson, Jay Logue, Simon Goldschmidt
elessair 0:f269e3021894 698 * ipv6.c, netif.c: patch #7913 Enable Support for IPv6 Loopback
elessair 0:f269e3021894 699
elessair 0:f269e3021894 700 2014-01-16: Stathis Voukelatos
elessair 0:f269e3021894 701 * netif.c: patch #7902 Fixed netif_poll() operation when LWIP_LOOPBACK_MAX_PBUFS > 0
elessair 0:f269e3021894 702
elessair 0:f269e3021894 703 2014-01-14: "Freddie Chopin"
elessair 0:f269e3021894 704 * snmp.h, mib2.c: fixed constness and spelling of sysdescr
elessair 0:f269e3021894 705
elessair 0:f269e3021894 706 2014-01-14: Simon Goldschmidt (patch by Thomas Faber)
elessair 0:f269e3021894 707 * tcpip.c: patch #8241: Fix implicit declaration of ip_input with
elessair 0:f269e3021894 708 LWIP_TCPIP_CORE_LOCKING_INPUT disabled
elessair 0:f269e3021894 709
elessair 0:f269e3021894 710 2014-01-14: chrysn
elessair 0:f269e3021894 711 * timers.c: patch #8244 make timeouts usable reliably from outside of the
elessair 0:f269e3021894 712 timeout routine
elessair 0:f269e3021894 713
elessair 0:f269e3021894 714 2014-01-10: Simon Goldschmidt
elessair 0:f269e3021894 715 * ip_frag.c, ip6_frag.c: fixed bug #41041 Potential use-after-free in IPv6 reassembly
elessair 0:f269e3021894 716
elessair 0:f269e3021894 717 2014-01-10: Simon Goldschmidt
elessair 0:f269e3021894 718 * memp.c: fixed bug #41188 Alignment error in memp_init() when MEMP_SEPARATE_POOLS==1
elessair 0:f269e3021894 719
elessair 0:f269e3021894 720 2014-01-10: Simon Goldschmidt
elessair 0:f269e3021894 721 * tcp.c: fixed bug #39898 tcp_fasttmr() possible lock due to infinte queue process loop
elessair 0:f269e3021894 722
elessair 0:f269e3021894 723 2013-06-29: Simon Goldschmidt
elessair 0:f269e3021894 724 * inet.h, sockets.h: partially fixed bug #37585: IPv6 compatibility (in socket structs)
elessair 0:f269e3021894 725
elessair 0:f269e3021894 726 2013-06-29: Simon Goldschmidt
elessair 0:f269e3021894 727 * inet6.h: bug #37585/task #12600: fixed struct in6_addr.s6_addr to conform to spec
elessair 0:f269e3021894 728
elessair 0:f269e3021894 729 2013-04-24: patch by Liam <morepork>
elessair 0:f269e3021894 730 * api_msg.c: patch #8008 Fix a potential null pointer dereference in assert
elessair 0:f269e3021894 731
elessair 0:f269e3021894 732 2013-04-24: Simon Goldschmidt
elessair 0:f269e3021894 733 * igmp.c: fixed possible division by zero
elessair 0:f269e3021894 734
elessair 0:f269e3021894 735 2013-04-24: Simon Goldschmidt
elessair 0:f269e3021894 736 * ip6.h, some ipv6 C files: fixed bug #38526 Coverity: Recursive Header Inclusion in ip6.h
elessair 0:f269e3021894 737
elessair 0:f269e3021894 738 2013-04-24: Simon Goldschmidt (patch by Emil Ljungdahl):
elessair 0:f269e3021894 739 * netif.c: fixed bug #38586 netif_loop_output() "deadlocks"
elessair 0:f269e3021894 740
elessair 0:f269e3021894 741 2013-01-15: Simon Goldschmidt
elessair 0:f269e3021894 742 * ip4.c: fixed bug #37665 ip_canforward operates on address in wrong byte order
elessair 0:f269e3021894 743
elessair 0:f269e3021894 744 2013-01-15: Simon Goldschmidt
elessair 0:f269e3021894 745 * pbuf.h: fixed bug #38097 pbuf_free_ooseq() warning
elessair 0:f269e3021894 746
elessair 0:f269e3021894 747 2013-01-14: Simon Goldschmidt
elessair 0:f269e3021894 748 * dns.c: fixed bug #37705 Possible memory corruption in DNS query
elessair 0:f269e3021894 749
elessair 0:f269e3021894 750 2013-01-11: Simon Goldschmidt
elessair 0:f269e3021894 751 * raw.c: fixed bug #38066 Raw pcbs can alter packet without eating it
elessair 0:f269e3021894 752
elessair 0:f269e3021894 753 2012-08-22: Simon Goldschmidt
elessair 0:f269e3021894 754 * memp.c: fixed bug #37166: memp_sanity check loops itself
elessair 0:f269e3021894 755
elessair 0:f269e3021894 756 2012-08-13: Simon Goldschmidt
elessair 0:f269e3021894 757 * dhcp.c: fixed bug #36645: Calling dhcp_release before dhcp_start
elessair 0:f269e3021894 758 dereferences NULL
elessair 0:f269e3021894 759
elessair 0:f269e3021894 760 2012-08-13: Simon Goldschmidt
elessair 0:f269e3021894 761 * msg_out.c: fixed bug #36840 snmp_send_trap() NULL de-reference if traps
elessair 0:f269e3021894 762 configured but no interfaces available
elessair 0:f269e3021894 763
elessair 0:f269e3021894 764 2012-08-13: Simon Goldschmidt
elessair 0:f269e3021894 765 * dns.c: fixed bug #36899 DNS TTL 0 is cached for a long time
elessair 0:f269e3021894 766
elessair 0:f269e3021894 767 2012-05-11: Simon Goldschmidt (patch by Marty)
elessair 0:f269e3021894 768 * memp.c: fixed bug #36412: memp.c does not compile when
elessair 0:f269e3021894 769 MEMP_OVERFLOW_CHECK > zero and MEMP_SEPARATE_POOLS == 1
elessair 0:f269e3021894 770
elessair 0:f269e3021894 771 2012-05-03: Simon Goldschmidt (patch by Sylvain Rochet)
elessair 0:f269e3021894 772 * ppp.c: fixed bug #36283 (PPP struct used on header size computation and
elessair 0:f269e3021894 773 not packed)
elessair 0:f269e3021894 774
elessair 0:f269e3021894 775 2012-05-03: Simon Goldschmidt (patch by David Empson)
elessair 0:f269e3021894 776 * ppp.c: fixed bug #36388 (PPP: checksum-only in last pbuf leads to pbuf with
elessair 0:f269e3021894 777 zero length)
elessair 0:f269e3021894 778
elessair 0:f269e3021894 779 2012-03-25: Simon Goldschmidt
elessair 0:f269e3021894 780 * api_msg.c: Fixed bug #35817: do_connect() invalidly signals op_completed
elessair 0:f269e3021894 781 for UDP/RAW with LWIP_TCPIP_CORE_LOCKING==1
elessair 0:f269e3021894 782
elessair 0:f269e3021894 783 2012-03-25: Simon Goldschmidt
elessair 0:f269e3021894 784 * api_msg.h, api_lib.c, api_msg.c, netifapi.c: fixed bug #35931: Name space
elessair 0:f269e3021894 785 pollution in api_msg.c and netifapi.c
elessair 0:f269e3021894 786
elessair 0:f269e3021894 787 2011-08-24: Simon Goldschmidt
elessair 0:f269e3021894 788 * inet6.h: fixed bug #34124 struct in6_addr does not conform to the standard
elessair 0:f269e3021894 789
elessair 0:f269e3021894 790
elessair 0:f269e3021894 791
elessair 0:f269e3021894 792 (STABLE-1.4.1)
elessair 0:f269e3021894 793
elessair 0:f269e3021894 794 ++ New features:
elessair 0:f269e3021894 795
elessair 0:f269e3021894 796 2012-03-25: Simon Goldschmidt (idea by Mason)
elessair 0:f269e3021894 797 * posix/*: added posix-compatibility include files posix/netdb.h and posix/sys/socket.h
elessair 0:f269e3021894 798 which are a simple wrapper to the correct lwIP include files.
elessair 0:f269e3021894 799
elessair 0:f269e3021894 800 2012-01-16: Simon Goldschmidt
elessair 0:f269e3021894 801 * opt.h, icmp.c: Added option CHECKSUM_GEN_ICMP
elessair 0:f269e3021894 802
elessair 0:f269e3021894 803 2011-12-17: Simon Goldschmidt
elessair 0:f269e3021894 804 * ip.h: implemented API functions to access so_options of IP pcbs (UDP, TCP, RAW)
elessair 0:f269e3021894 805 (fixes bug #35061)
elessair 0:f269e3021894 806
elessair 0:f269e3021894 807 2011-09-27: Simon Goldschmidt
elessair 0:f269e3021894 808 * opt.h, tcp.c, tcp_in.c: Implemented limiting data on ooseq queue (task #9989)
elessair 0:f269e3021894 809 (define TCP_OOSEQ_MAX_BYTES / TCP_OOSEQ_MAX_PBUFS in lwipopts.h)
elessair 0:f269e3021894 810
elessair 0:f269e3021894 811 2011-09-21: Simon Goldschmidt
elessair 0:f269e3021894 812 * opt.h, api.h, api_lib.c, api_msg.h/.c, sockets.c: Implemented timeout on
elessair 0:f269e3021894 813 send (TCP only, bug #33820)
elessair 0:f269e3021894 814
elessair 0:f269e3021894 815 2011-09-21: Simon Goldschmidt
elessair 0:f269e3021894 816 * init.c: Converted runtime-sanity-checks into compile-time checks that can
elessair 0:f269e3021894 817 be disabled (since runtime checks can often not be seen on embedded targets)
elessair 0:f269e3021894 818
elessair 0:f269e3021894 819 2011-09-11: Simon Goldschmidt
elessair 0:f269e3021894 820 * ppp.h, ppp_impl.h: splitted ppp.h to an internal and external header file
elessair 0:f269e3021894 821 to get a clear separation of which functions an application or port may use
elessair 0:f269e3021894 822 (task #11281)
elessair 0:f269e3021894 823
elessair 0:f269e3021894 824 2011-09-11: Simon Goldschmidt
elessair 0:f269e3021894 825 * opt.h, tcp_impl.h, tcp.c, udp.h/.c: Added a config option to randomize
elessair 0:f269e3021894 826 initial local TCP/UDP ports (so that different port ranges are used after
elessair 0:f269e3021894 827 a reboot; bug #33818; this one added tcp_init/udp_init functions again)
elessair 0:f269e3021894 828
elessair 0:f269e3021894 829 2011-09-03: Simon Goldschmidt
elessair 0:f269e3021894 830 * dhcp.c: DHCP uses LWIP_RAND() for xid's (bug #30302)
elessair 0:f269e3021894 831
elessair 0:f269e3021894 832 2011-08-24: Simon Goldschmidt
elessair 0:f269e3021894 833 * opt.h, netif.h/.c: added netif remove callback (bug #32397)
elessair 0:f269e3021894 834
elessair 0:f269e3021894 835 2011-07-26: Simon Goldschmidt
elessair 0:f269e3021894 836 * etharp.c: ETHARP_SUPPORT_VLAN: add support for an external VLAN filter
elessair 0:f269e3021894 837 function instead of only checking for one VLAN (define ETHARP_VLAN_CHECK_FN)
elessair 0:f269e3021894 838
elessair 0:f269e3021894 839 2011-07-21: Simon Goldschmidt (patch by hanhui)
elessair 0:f269e3021894 840 * ip4.c, etharp.c, pbuf.h: bug #33634 ip_forward() have a faulty behaviour:
elessair 0:f269e3021894 841 Added pbuf flags to mark incoming packets as link-layer broadcast/multicast.
elessair 0:f269e3021894 842 Also added code to allow ip_forward() to forward non-broadcast packets to
elessair 0:f269e3021894 843 the input netif (set IP_FORWARD_ALLOW_TX_ON_RX_NETIF==1).
elessair 0:f269e3021894 844
elessair 0:f269e3021894 845 2011-06-26: Simon Goldschmidt (patch by Cameron Gutman)
elessair 0:f269e3021894 846 * tcp.c, tcp_out.c: bug #33604: added some more asserts to check that
elessair 0:f269e3021894 847 pcb->state != LISTEN
elessair 0:f269e3021894 848
elessair 0:f269e3021894 849 2011-05-14: Simon Goldschmidt (patch by Stéphane Lesage)
elessair 0:f269e3021894 850 * tcpip.c/.h: patch #7449 allow tcpip callback from interrupt with static
elessair 0:f269e3021894 851 memory message
elessair 0:f269e3021894 852
elessair 0:f269e3021894 853
elessair 0:f269e3021894 854 ++ Bugfixes:
elessair 0:f269e3021894 855
elessair 0:f269e3021894 856 2012-09-26: Simon Goldschmidt
elessair 0:f269e3021894 857 * api_msg.c: fixed bug #37405 'err_tcp()' uses already freed 'netconn' object
elessair 0:f269e3021894 858
elessair 0:f269e3021894 859 2012-09-26: patch by Henrik Persson
elessair 0:f269e3021894 860 * dhcp.c: patch #7843 Fix corner case with dhcp timeouts
elessair 0:f269e3021894 861
elessair 0:f269e3021894 862 2012-09-26: patch by Henrik Persson
elessair 0:f269e3021894 863 * dhcp.c: patch #7840 Segfault in dhcp_parse_reply if no end marker in dhcp packet
elessair 0:f269e3021894 864
elessair 0:f269e3021894 865 2012-08-22: Simon Goldschmidt
elessair 0:f269e3021894 866 * memp.c: fixed bug #37166: memp_sanity check loops itself
elessair 0:f269e3021894 867
elessair 0:f269e3021894 868 2012-05-08: Simon Goldschmidt
elessair 0:f269e3021894 869 * tcp_out.c: fixed bug: #36380 unsent_oversize mismatch in 1.4.1RC1 (this was
elessair 0:f269e3021894 870 a debug-check issue only)
elessair 0:f269e3021894 871
elessair 0:f269e3021894 872 2012-03-27: Simon Goldschmidt
elessair 0:f269e3021894 873 * vj.c: fixed bug #35756 header length calculation problem in ppp/vj.c
elessair 0:f269e3021894 874
elessair 0:f269e3021894 875 2012-03-27: Simon Goldschmidt (patch by Mason)
elessair 0:f269e3021894 876 * tcp_out.c: fixed bug #35945: SYN packet should provide the recv MSS not the
elessair 0:f269e3021894 877 send MSS
elessair 0:f269e3021894 878
elessair 0:f269e3021894 879 2012-03-22: Simon Goldschmidt
elessair 0:f269e3021894 880 * ip4.c: fixed bug #35927: missing refragmentaion in ip_forward
elessair 0:f269e3021894 881
elessair 0:f269e3021894 882 2012-03-20: Simon Goldschmidt (patch by Mason)
elessair 0:f269e3021894 883 * netdb.c: fixed bug #35907: lwip_gethostbyname_r returns an invalid h_addr_list
elessair 0:f269e3021894 884
elessair 0:f269e3021894 885 2012-03-12: Simon Goldschmidt (patch by Bostjan Meglic)
elessair 0:f269e3021894 886 * ppp.c: fixed bug #35809: PPP GetMask(): Compiler warning on big endian,
elessair 0:f269e3021894 887 possible bug on little endian system
elessair 0:f269e3021894 888
elessair 0:f269e3021894 889 2012-02-23: Simon Goldschmidt
elessair 0:f269e3021894 890 * etharp.c: fixed bug #35595: Impossible to send broadcast without a gateway
elessair 0:f269e3021894 891 (introduced when fixing bug# 33551)
elessair 0:f269e3021894 892
elessair 0:f269e3021894 893 2012-02-16: Simon Goldschmidt
elessair 0:f269e3021894 894 * ppp.c: fixed pbuf leak when PPP session is aborted through pppSigHUP()
elessair 0:f269e3021894 895 (bug #35541: PPP Memory Leak)
elessair 0:f269e3021894 896
elessair 0:f269e3021894 897 2012-02-16: Simon Goldschmidt
elessair 0:f269e3021894 898 * etharp.c: fixed bug #35531: Impossible to send multicast without a gateway
elessair 0:f269e3021894 899 (introduced when fixing bug# 33551)
elessair 0:f269e3021894 900
elessair 0:f269e3021894 901 2012-02-16: Simon Goldschmidt (patch by Stéphane Lesage)
elessair 0:f269e3021894 902 * msg_in.c, msg_out.c: fixed bug #35536 SNMP: error too big response is malformed
elessair 0:f269e3021894 903
elessair 0:f269e3021894 904 2012-02-15: Simon Goldschmidt
elessair 0:f269e3021894 905 * init.c: fixed bug #35537: MEMP_NUM_* sanity checks should be disabled with
elessair 0:f269e3021894 906 MEMP_MEM_MALLOC==1
elessair 0:f269e3021894 907
elessair 0:f269e3021894 908 2012-02-12: Simon Goldschmidt
elessair 0:f269e3021894 909 * tcp.h, tcp_in.c, tcp_out.c: partly fixed bug #25882: TCP hangs on
elessair 0:f269e3021894 910 MSS > pcb->snd_wnd (by not creating segments bigger than half the window)
elessair 0:f269e3021894 911
elessair 0:f269e3021894 912 2012-02-11: Simon Goldschmidt
elessair 0:f269e3021894 913 * tcp.c: fixed bug #35435: No pcb state check before adding it to time-wait
elessair 0:f269e3021894 914 queue while closing
elessair 0:f269e3021894 915
elessair 0:f269e3021894 916 2012-01-22: Simon Goldschmidt
elessair 0:f269e3021894 917 * tcp.c, tcp_in.c: fixed bug #35305: pcb may be freed too early on shutdown(WR)
elessair 0:f269e3021894 918
elessair 0:f269e3021894 919 2012-01-21: Simon Goldschmidt
elessair 0:f269e3021894 920 * tcp.c: fixed bug #34636: FIN_WAIT_2 - Incorrect shutdown of TCP pcb
elessair 0:f269e3021894 921
elessair 0:f269e3021894 922 2012-01-20: Simon Goldschmidt
elessair 0:f269e3021894 923 * dhcp.c: fixed bug #35151: DHCP asserts on incoming option lengths
elessair 0:f269e3021894 924
elessair 0:f269e3021894 925 2012-01-20: Simon Goldschmidt
elessair 0:f269e3021894 926 * pbuf.c: fixed bug #35291: NULL pointer in pbuf_copy
elessair 0:f269e3021894 927
elessair 0:f269e3021894 928 2011-11-25: Simon Goldschmidt
elessair 0:f269e3021894 929 * tcp.h/.c, tcp_impl.h, tcp_in.c: fixed bug #31177: tcp timers can corrupt
elessair 0:f269e3021894 930 tcp_active_pcbs in some cases
elessair 0:f269e3021894 931
elessair 0:f269e3021894 932 2011-11-23: Simon Goldschmidt
elessair 0:f269e3021894 933 * sys.c: fixed bug #34884: sys_msleep() body needs to be surrounded with
elessair 0:f269e3021894 934 '#ifndef sys_msleep'
elessair 0:f269e3021894 935
elessair 0:f269e3021894 936 2011-11-22: Simon Goldschmidt
elessair 0:f269e3021894 937 * netif.c, etharp.h/.c: fixed bug #34684: Clear the arp table cache when
elessair 0:f269e3021894 938 netif is brought down
elessair 0:f269e3021894 939
elessair 0:f269e3021894 940 2011-10-28: Simon Goldschmidt
elessair 0:f269e3021894 941 * tcp_in.c: fixed bug #34638: Dead code in tcp_receive - pcb->dupacks
elessair 0:f269e3021894 942
elessair 0:f269e3021894 943 2011-10-23: Simon Goldschmidt
elessair 0:f269e3021894 944 * mem.c: fixed bug #34429: possible memory corruption with
elessair 0:f269e3021894 945 LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT set to 1
elessair 0:f269e3021894 946
elessair 0:f269e3021894 947 2011-10-18: Simon Goldschmidt
elessair 0:f269e3021894 948 * arch.h, netdb.c: fixed bug #34592: lwip_gethostbyname_r uses nonstandard
elessair 0:f269e3021894 949 error value
elessair 0:f269e3021894 950
elessair 0:f269e3021894 951 2011-10-18: Simon Goldschmidt
elessair 0:f269e3021894 952 * opt.h: fixed default values of TCP_SNDLOWAT and TCP_SNDQUEUELOWAT for small
elessair 0:f269e3021894 953 windows (bug #34176 select after non-blocking send times out)
elessair 0:f269e3021894 954
elessair 0:f269e3021894 955 2011-10-18: Simon Goldschmidt
elessair 0:f269e3021894 956 * tcp_impl.h, tcp_out.c: fixed bug #34587: TCP_BUILD_MSS_OPTION doesn't
elessair 0:f269e3021894 957 consider netif->mtu, causes slow network
elessair 0:f269e3021894 958
elessair 0:f269e3021894 959 2011-10-18: Simon Goldschmidt
elessair 0:f269e3021894 960 * sockets.c: fixed bug #34581 missing parentheses in udplite sockets code
elessair 0:f269e3021894 961
elessair 0:f269e3021894 962 2011-10-18: Simon Goldschmidt
elessair 0:f269e3021894 963 * sockets.h: fixed bug #34580 fcntl() is missing in LWIP_COMPAT_SOCKETS
elessair 0:f269e3021894 964
elessair 0:f269e3021894 965 2011-10-17: Simon Goldschmidt
elessair 0:f269e3021894 966 * api_msg.c: fixed bug #34569: shutdown(SHUT_WR) crashes netconn/socket api
elessair 0:f269e3021894 967
elessair 0:f269e3021894 968 2011-10-13: Simon Goldschmidt
elessair 0:f269e3021894 969 * tcp_in.c, tcp_out.c: fixed bug #34517 (persist timer is started although no
elessair 0:f269e3021894 970 zero window is received) by starting the persist timer when a zero window is
elessair 0:f269e3021894 971 received, not when we have more data queued for sending than fits into the
elessair 0:f269e3021894 972 window
elessair 0:f269e3021894 973
elessair 0:f269e3021894 974 2011-10-13: Simon Goldschmidt
elessair 0:f269e3021894 975 * def.h, timers.c: fixed bug #34541: LWIP_U32_DIFF is unnecessarily complex
elessair 0:f269e3021894 976
elessair 0:f269e3021894 977 2011-10-13: Simon Goldschmidt
elessair 0:f269e3021894 978 * sockets.c, api_lib.c: fixed bug #34540: compiler error when CORE_LOCKING is
elessair 0:f269e3021894 979 used and not all protocols are enabled
elessair 0:f269e3021894 980
elessair 0:f269e3021894 981 2011-10-12: Simon Goldschmidt
elessair 0:f269e3021894 982 * pbuf.c: fixed bug #34534: Error in sending fragmented IP if MEM_ALIGNMENT > 4
elessair 0:f269e3021894 983
elessair 0:f269e3021894 984 2011-10-09: Simon Goldschmidt
elessair 0:f269e3021894 985 * tcp_out.c: fixed bug #34426: tcp_zero_window_probe() transmits incorrect
elessair 0:f269e3021894 986 byte value when pcb->unacked != NULL
elessair 0:f269e3021894 987
elessair 0:f269e3021894 988 2011-10-09: Simon Goldschmidt
elessair 0:f269e3021894 989 * ip4.c: fixed bug #34447 LWIP_IP_ACCEPT_UDP_PORT(dst_port) wrong
elessair 0:f269e3021894 990
elessair 0:f269e3021894 991 2011-09-27: Simon Goldschmidt
elessair 0:f269e3021894 992 * tcp_in.c, tcp_out.c: Reset pcb->unsent_oversize in 2 more places...
elessair 0:f269e3021894 993
elessair 0:f269e3021894 994 2011-09-27: Simon Goldschmidt
elessair 0:f269e3021894 995 * tcp_in.c: fixed bug #28288: Data after FIN in oos queue
elessair 0:f269e3021894 996
elessair 0:f269e3021894 997 2011-09-27: Simon Goldschmidt
elessair 0:f269e3021894 998 * dhcp.c: fixed bug #34406 dhcp_option_hostname() can overflow the pbuf
elessair 0:f269e3021894 999
elessair 0:f269e3021894 1000 2011-09-24: Simon Goldschmidt
elessair 0:f269e3021894 1001 * mem.h: fixed bug #34377 MEM_SIZE_F is not defined if MEM_LIBC_MALLOC==1
elessair 0:f269e3021894 1002
elessair 0:f269e3021894 1003 2011-09-23: Simon Goldschmidt
elessair 0:f269e3021894 1004 * pbuf.h, tcp.c, tcp_in.c: fixed bug #33871: rejecting TCP_EVENT_RECV() for
elessair 0:f269e3021894 1005 the last packet including FIN can lose data
elessair 0:f269e3021894 1006
elessair 0:f269e3021894 1007 2011-09-22: Simon Goldschmidt
elessair 0:f269e3021894 1008 * tcp_impl.h: fixed bug #34355: nagle does not take snd_buf/snd_queuelen into
elessair 0:f269e3021894 1009 account
elessair 0:f269e3021894 1010
elessair 0:f269e3021894 1011 2011-09-21: Simon Goldschmidt
elessair 0:f269e3021894 1012 * opt.h: fixed default value of TCP_SND_BUF to not violate the sanity checks
elessair 0:f269e3021894 1013 in init.c
elessair 0:f269e3021894 1014
elessair 0:f269e3021894 1015 2011-09-20: Simon Goldschmidt
elessair 0:f269e3021894 1016 * timers.c: fixed bug #34337 (possible NULL pointer in sys_check_timeouts)
elessair 0:f269e3021894 1017
elessair 0:f269e3021894 1018 2011-09-11: Simon Goldschmidt
elessair 0:f269e3021894 1019 * tcp_out.c: use pcb->mss instead of TCP_MSS for preallocate mss-sized pbufs
elessair 0:f269e3021894 1020 (bug #34019)
elessair 0:f269e3021894 1021
elessair 0:f269e3021894 1022 2011-09-09: Simon Goldschmidt
elessair 0:f269e3021894 1023 * udp.c: fixed bug #34072: UDP broadcast is received from wrong UDP pcb if
elessair 0:f269e3021894 1024 udp port matches
elessair 0:f269e3021894 1025
elessair 0:f269e3021894 1026 2011-09-03: Simon Goldschmidt
elessair 0:f269e3021894 1027 * tcp_in.c: fixed bug #33952 PUSH flag in incoming packet is lost when packet
elessair 0:f269e3021894 1028 is aggregated and sent to application
elessair 0:f269e3021894 1029
elessair 0:f269e3021894 1030 2011-09-01: Simon Goldschmidt
elessair 0:f269e3021894 1031 * opt.h: fixed bug #31809 LWIP_EVENT_API in opts.h is inconsistent compared
elessair 0:f269e3021894 1032 to other options
elessair 0:f269e3021894 1033
elessair 0:f269e3021894 1034 2011-09-01: Simon Goldschmidt
elessair 0:f269e3021894 1035 * tcp_in.c: fixed bug #34111 RST for ACK to listening pcb has wrong seqno
elessair 0:f269e3021894 1036
elessair 0:f269e3021894 1037 2011-08-24: Simon Goldschmidt
elessair 0:f269e3021894 1038 * api_msg.c, sockets.c: fixed bug #33956 Wrong error returned when calling
elessair 0:f269e3021894 1039 accept() on UDP connections
elessair 0:f269e3021894 1040
elessair 0:f269e3021894 1041 2011-08-24: Simon Goldschmidt
elessair 0:f269e3021894 1042 * sockets.h: fixed bug #34057 socklen_t should be a typedef
elessair 0:f269e3021894 1043
elessair 0:f269e3021894 1044 2011-08-24: Simon Goldschmidt
elessair 0:f269e3021894 1045 * pbuf.c: fixed bug #34112 Odd check in pbuf_alloced_custom (typo)
elessair 0:f269e3021894 1046
elessair 0:f269e3021894 1047 2011-08-24: Simon Goldschmidt
elessair 0:f269e3021894 1048 * dhcp.c: fixed bug #34122 dhcp: hostname can overflow
elessair 0:f269e3021894 1049
elessair 0:f269e3021894 1050 2011-08-24: Simon Goldschmidt
elessair 0:f269e3021894 1051 * netif.c: fixed bug #34121 netif_add/netif_set_ipaddr fail on NULL ipaddr
elessair 0:f269e3021894 1052
elessair 0:f269e3021894 1053 2011-08-22: Simon Goldschmidt
elessair 0:f269e3021894 1054 * tcp_out.c: fixed bug #33962 TF_FIN not always set after FIN is sent. (This
elessair 0:f269e3021894 1055 merely prevents nagle from not transmitting fast after closing.)
elessair 0:f269e3021894 1056
elessair 0:f269e3021894 1057 2011-07-22: Simon Goldschmidt
elessair 0:f269e3021894 1058 * api_lib.c, api_msg.c, sockets.c, api.h: fixed bug #31084 (socket API returns
elessair 0:f269e3021894 1059 always EMSGSIZE on non-blocking sockets if data size > send buffers) -> now
elessair 0:f269e3021894 1060 lwip_send() sends as much as possible for non-blocking sockets
elessair 0:f269e3021894 1061
elessair 0:f269e3021894 1062 2011-07-22: Simon Goldschmidt
elessair 0:f269e3021894 1063 * pbuf.c/.h, timers.c: freeing ooseq pbufs when the pbuf pool is empty implemented
elessair 0:f269e3021894 1064 for NO_SYS==1: when not using sys_check_timeouts(), call PBUF_CHECK_FREE_OOSEQ()
elessair 0:f269e3021894 1065 at regular intervals from main level.
elessair 0:f269e3021894 1066
elessair 0:f269e3021894 1067 2011-07-21: Simon Goldschmidt
elessair 0:f269e3021894 1068 * etharp.c: fixed bug #33551 (ARP entries may time out although in use) by
elessair 0:f269e3021894 1069 sending an ARP request when an ARP entry is used in the last minute before
elessair 0:f269e3021894 1070 it would time out.
elessair 0:f269e3021894 1071
elessair 0:f269e3021894 1072 2011-07-04: Simon Goldschmidt
elessair 0:f269e3021894 1073 * sys_arch.txt: Fixed documentation after changing sys arch prototypes for 1.4.0.
elessair 0:f269e3021894 1074
elessair 0:f269e3021894 1075 2011-06-26: Simon Goldschmidt
elessair 0:f269e3021894 1076 * tcp.c: fixed bug #31723 (tcp_kill_prio() kills pcbs with the same prio) by
elessair 0:f269e3021894 1077 updating its documentation only.
elessair 0:f269e3021894 1078
elessair 0:f269e3021894 1079 2011-06-26: Simon Goldschmidt
elessair 0:f269e3021894 1080 * mem.c: fixed bug #33545: With MEM_USE_POOLS==1, mem_malloc can return an
elessair 0:f269e3021894 1081 unaligned pointer.
elessair 0:f269e3021894 1082
elessair 0:f269e3021894 1083 2011-06-26: Simon Goldschmidt
elessair 0:f269e3021894 1084 * mem.c: fixed bug #33544 "warning in mem.c in lwip 1.4.0 with NO_SYS=1"
elessair 0:f269e3021894 1085
elessair 0:f269e3021894 1086 2011-05-25: Simon Goldschmidt
elessair 0:f269e3021894 1087 * tcp.c: fixed bug #33398 (pointless conversion when checking TCP port range)
elessair 0:f269e3021894 1088
elessair 0:f269e3021894 1089
elessair 0:f269e3021894 1090
elessair 0:f269e3021894 1091 (STABLE-1.4.0)
elessair 0:f269e3021894 1092
elessair 0:f269e3021894 1093 ++ New features:
elessair 0:f269e3021894 1094
elessair 0:f269e3021894 1095 2011-03-27: Simon Goldschmidt
elessair 0:f269e3021894 1096 * tcp_impl.h, tcp_in.c, tcp_out.c: Removed 'dataptr' from 'struct tcp_seg' and
elessair 0:f269e3021894 1097 calculate it in tcp_zero_window_probe (the only place where it was used).
elessair 0:f269e3021894 1098
elessair 0:f269e3021894 1099 2010-11-21: Simon Goldschmidt
elessair 0:f269e3021894 1100 * dhcp.c/.h: Added a function to deallocate the struct dhcp from a netif
elessair 0:f269e3021894 1101 (fixes bug #31525).
elessair 0:f269e3021894 1102
elessair 0:f269e3021894 1103 2010-07-12: Simon Goldschmidt (patch by Stephane Lesage)
elessair 0:f269e3021894 1104 * ip.c, udp.c/.h, pbuf.h, sockets.c: task #10495: Added support for
elessair 0:f269e3021894 1105 IP_MULTICAST_LOOP at socket- and raw-API level.
elessair 0:f269e3021894 1106
elessair 0:f269e3021894 1107 2010-06-16: Simon Goldschmidt
elessair 0:f269e3021894 1108 * ip.c: Added an optional define (LWIP_IP_ACCEPT_UDP_PORT) that can allow
elessair 0:f269e3021894 1109 link-layer-addressed UDP traffic to be received while a netif is down (just
elessair 0:f269e3021894 1110 like DHCP during configuration)
elessair 0:f269e3021894 1111
elessair 0:f269e3021894 1112 2010-05-22: Simon Goldschmidt
elessair 0:f269e3021894 1113 * many many files: bug #27352: removed packing from ip_addr_t, the packed
elessair 0:f269e3021894 1114 version is now only used in protocol headers. Added global storage for
elessair 0:f269e3021894 1115 current src/dest IP address while in input functions.
elessair 0:f269e3021894 1116
elessair 0:f269e3021894 1117 2010-05-16: Simon Goldschmidt
elessair 0:f269e3021894 1118 * def.h: task #10391: Add preprocessor-macros for compile-time htonl
elessair 0:f269e3021894 1119 calculation (and use them throughout the stack where applicable)
elessair 0:f269e3021894 1120
elessair 0:f269e3021894 1121 2010-05-16: Simon Goldschmidt
elessair 0:f269e3021894 1122 * opt.h, memp_std.h, memp.c, ppp_oe.h/.c: PPPoE now uses its own MEMP pool
elessair 0:f269e3021894 1123 instead of the heap (moved struct pppoe_softc from ppp_oe.c to ppp_oe.h)
elessair 0:f269e3021894 1124
elessair 0:f269e3021894 1125 2010-05-16: Simon Goldschmidt
elessair 0:f269e3021894 1126 * opt.h, memp_std.h, dns.h/.c: DNS_LOCAL_HOSTLIST_IS_DYNAMIC uses its own
elessair 0:f269e3021894 1127 MEMP pool instead of the heap
elessair 0:f269e3021894 1128
elessair 0:f269e3021894 1129 2010-05-13: Simon Goldschmidt
elessair 0:f269e3021894 1130 * tcp.c, udp.c: task #6995: Implement SO_REUSEADDR (correctly), added
elessair 0:f269e3021894 1131 new option SO_REUSE_RXTOALL to pass received UDP broadcast/multicast
elessair 0:f269e3021894 1132 packets to more than one pcb.
elessair 0:f269e3021894 1133
elessair 0:f269e3021894 1134 2010-05-02: Simon Goldschmidt
elessair 0:f269e3021894 1135 * netbuf.h/.c, sockets.c, api_msg.c: use checksum-on-copy for sending
elessair 0:f269e3021894 1136 UDP data for LWIP_NETIF_TX_SINGLE_PBUF==1
elessair 0:f269e3021894 1137
elessair 0:f269e3021894 1138 2010-04-30: Simon Goldschmidt
elessair 0:f269e3021894 1139 * udp.h/.c, pbuf.h/.c: task #6849: added udp_send(_to/_if) functions that
elessair 0:f269e3021894 1140 take a precalculated checksum, added pbuf_fill_chksum() to copy data
elessair 0:f269e3021894 1141 into a pbuf and at the same time calculating the checksum for that data
elessair 0:f269e3021894 1142
elessair 0:f269e3021894 1143 2010-04-29: Simon Goldschmidt
elessair 0:f269e3021894 1144 * ip_addr.h, etharp.h/.c, autoip.c: Create overridable macros for copying
elessair 0:f269e3021894 1145 2-byte-aligned IP addresses and MAC addresses
elessair 0:f269e3021894 1146
elessair 0:f269e3021894 1147 2010-04-28: Patch by Bill Auerbach
elessair 0:f269e3021894 1148 * ip.c: Inline generating IP checksum to save a function call
elessair 0:f269e3021894 1149
elessair 0:f269e3021894 1150 2010-04-14: Simon Goldschmidt
elessair 0:f269e3021894 1151 * tcpip.h/.c, timers.c: Added an overridable define to get informed when the
elessair 0:f269e3021894 1152 tcpip_thread processes messages or timeouts to implement a watchdog.
elessair 0:f269e3021894 1153
elessair 0:f269e3021894 1154 2010-03-28: Simon Goldschmidt
elessair 0:f269e3021894 1155 * ip_frag.c: create a new (contiguous) PBUF_RAM for every outgoing
elessair 0:f269e3021894 1156 fragment if LWIP_NETIF_TX_SINGLE_PBUF==1
elessair 0:f269e3021894 1157
elessair 0:f269e3021894 1158 2010-03-27: Simon Goldschmidt
elessair 0:f269e3021894 1159 * etharp.c: Speedup TX by moving code from find_entry to etharp_output/
elessair 0:f269e3021894 1160 etharp_query to prevent unnecessary function calls (inspired by
elessair 0:f269e3021894 1161 patch #7135).
elessair 0:f269e3021894 1162
elessair 0:f269e3021894 1163 2010-03-20: Simon Goldschmidt
elessair 0:f269e3021894 1164 * opt.h, tcpip.c/.h: Added an option to disable tcpip_(un)timeout code
elessair 0:f269e3021894 1165 since the linker cannot do this automatically to save space.
elessair 0:f269e3021894 1166
elessair 0:f269e3021894 1167 2010-03-20: Simon Goldschmidt
elessair 0:f269e3021894 1168 * opt.h, etharp.c/.h: Added support for static ARP table entries
elessair 0:f269e3021894 1169
elessair 0:f269e3021894 1170 2010-03-14: Simon Goldschmidt
elessair 0:f269e3021894 1171 * tcp_impl.h, tcp_out.c, inet_chksum.h/.c: task #6849: Calculate checksum
elessair 0:f269e3021894 1172 when creating TCP segments, not when (re-)transmitting them.
elessair 0:f269e3021894 1173
elessair 0:f269e3021894 1174 2010-03-07: Simon Goldschmidt
elessair 0:f269e3021894 1175 * sockets.c: bug #28775 (select/event_callback: only check select_cb_list
elessair 0:f269e3021894 1176 on change) plus use SYS_LIGHTWEIGHT_PROT to protect the select code.
elessair 0:f269e3021894 1177 This should speed up receiving data on sockets as the select code in
elessair 0:f269e3021894 1178 event_callback is only executed when select is waiting.
elessair 0:f269e3021894 1179
elessair 0:f269e3021894 1180 2010-03-06: Simon Goldschmidt
elessair 0:f269e3021894 1181 * tcp_out.c: task #7013 (Create option to have all packets delivered to
elessair 0:f269e3021894 1182 netif->output in one piece): Always copy to try to create single pbufs
elessair 0:f269e3021894 1183 in tcp_write.
elessair 0:f269e3021894 1184
elessair 0:f269e3021894 1185 2010-03-06: Simon Goldschmidt
elessair 0:f269e3021894 1186 * api.h, api_lib.c, sockets.c: task #10167 (sockets: speed up TCP recv
elessair 0:f269e3021894 1187 by not allocating a netbuf): added function netconn_recv_tcp_pbuf()
elessair 0:f269e3021894 1188 for tcp netconns to receive pbufs, not netbufs; use that function
elessair 0:f269e3021894 1189 for tcp sockets.
elessair 0:f269e3021894 1190
elessair 0:f269e3021894 1191 2010-03-05: Jakob Ole Stoklundsen / Simon Goldschmidt
elessair 0:f269e3021894 1192 * opt.h, tcp.h, tcp_impl.h, tcp.c, tcp_in.c, tcp_out.c: task #7040:
elessair 0:f269e3021894 1193 Work on tcp_enqueue: Don't waste memory when chaining segments,
elessair 0:f269e3021894 1194 added option TCP_OVERSIZE to prevent creating many small pbufs when
elessair 0:f269e3021894 1195 calling tcp_write with many small blocks of data. Instead, pbufs are
elessair 0:f269e3021894 1196 allocated larger than needed and the space is used for later calls to
elessair 0:f269e3021894 1197 tcp_write.
elessair 0:f269e3021894 1198
elessair 0:f269e3021894 1199 2010-02-21: Simon Goldschmidt
elessair 0:f269e3021894 1200 * stats.c/.h: Added const char* name to mem- and memp-stats for easier
elessair 0:f269e3021894 1201 debugging.
elessair 0:f269e3021894 1202
elessair 0:f269e3021894 1203 2010-02-21: Simon Goldschmidt
elessair 0:f269e3021894 1204 * tcp.h (and usages), added tcp_impl.h: Splitted API and internal
elessair 0:f269e3021894 1205 implementation of tcp to make API usage cleare to application programmers
elessair 0:f269e3021894 1206
elessair 0:f269e3021894 1207 2010-02-14: Simon Goldschmidt/Stephane Lesage
elessair 0:f269e3021894 1208 * ip_addr.h: Improved some defines working on ip addresses, added faster
elessair 0:f269e3021894 1209 macro to copy addresses that cannot be NULL
elessair 0:f269e3021894 1210
elessair 0:f269e3021894 1211 2010-02-13: Simon Goldschmidt
elessair 0:f269e3021894 1212 * api.h, api_lib.c, api_msg.c, sockets.c: task #7865 (implement non-
elessair 0:f269e3021894 1213 blocking send operation)
elessair 0:f269e3021894 1214
elessair 0:f269e3021894 1215 2010-02-12: Simon Goldschmidt
elessair 0:f269e3021894 1216 * sockets.c/.h: Added a minimal version of posix fctl() to have a
elessair 0:f269e3021894 1217 standardised way to set O_NONBLOCK for nonblocking sockets.
elessair 0:f269e3021894 1218
elessair 0:f269e3021894 1219 2010-02-12: Simon Goldschmidt
elessair 0:f269e3021894 1220 * dhcp.c/.h, autoip.c/.h: task #10139 (Prefer statically allocated
elessair 0:f269e3021894 1221 memory): added autoip_set_struct() and dhcp_set_struct() to let autoip
elessair 0:f269e3021894 1222 and dhcp work with user-allocated structs instead of callin mem_malloc
elessair 0:f269e3021894 1223
elessair 0:f269e3021894 1224 2010-02-12: Simon Goldschmidt/Jeff Barber
elessair 0:f269e3021894 1225 * tcp.c/h: patch #6865 (SO_REUSEADDR for TCP): if pcb.so_options has
elessair 0:f269e3021894 1226 SOF_REUSEADDR set, allow binding to endpoint in TIME_WAIT
elessair 0:f269e3021894 1227
elessair 0:f269e3021894 1228 2010-02-12: Simon Goldschmidt
elessair 0:f269e3021894 1229 * sys layer: task #10139 (Prefer statically allocated memory): converted
elessair 0:f269e3021894 1230 mbox and semaphore functions to take pointers to sys_mbox_t/sys_sem_t;
elessair 0:f269e3021894 1231 converted sys_mbox_new/sys_sem_new to take pointers and return err_t;
elessair 0:f269e3021894 1232 task #7212: Add Mutex concept in sys_arch (define LWIP_COMPAT_MUTEX
elessair 0:f269e3021894 1233 to let sys.h use binary semaphores instead of mutexes - as before)
elessair 0:f269e3021894 1234
elessair 0:f269e3021894 1235 2010-02-09: Simon Goldschmidt (Simon Kallweit)
elessair 0:f269e3021894 1236 * timers.c/.h: Added function sys_restart_timeouts() from patch #7085
elessair 0:f269e3021894 1237 (Restart system timeout handling)
elessair 0:f269e3021894 1238
elessair 0:f269e3021894 1239 2010-02-09: Simon Goldschmidt
elessair 0:f269e3021894 1240 * netif.c/.h, removed loopif.c/.h: task #10153 (Integrate loopif into
elessair 0:f269e3021894 1241 netif.c) - loopif does not have to be created by the port any more,
elessair 0:f269e3021894 1242 just define LWIP_HAVE_LOOPIF to 1.
elessair 0:f269e3021894 1243
elessair 0:f269e3021894 1244 2010-02-08: Simon Goldschmidt
elessair 0:f269e3021894 1245 * inet.h, ip_addr.c/.h: Added reentrant versions of inet_ntoa/ipaddr_ntoa
elessair 0:f269e3021894 1246 inet_ntoa_r/ipaddr_ntoa_r
elessair 0:f269e3021894 1247
elessair 0:f269e3021894 1248 2010-02-08: Simon Goldschmidt
elessair 0:f269e3021894 1249 * netif.h: Added netif_s/get_igmp_mac_filter() macros
elessair 0:f269e3021894 1250
elessair 0:f269e3021894 1251 2010-02-05: Simon Goldschmidt
elessair 0:f269e3021894 1252 * netif.h: Added function-like macros to get/set the hostname on a netif
elessair 0:f269e3021894 1253
elessair 0:f269e3021894 1254 2010-02-04: Simon Goldschmidt
elessair 0:f269e3021894 1255 * nearly every file: Replaced struct ip_addr by typedef ip_addr_t to
elessair 0:f269e3021894 1256 make changing the actual implementation behind the typedef easier.
elessair 0:f269e3021894 1257
elessair 0:f269e3021894 1258 2010-02-01: Simon Goldschmidt
elessair 0:f269e3021894 1259 * opt.h, memp_std.h, dns.h, netdb.c, memp.c: Let netdb use a memp pool
elessair 0:f269e3021894 1260 for allocating memory when getaddrinfo() is called.
elessair 0:f269e3021894 1261
elessair 0:f269e3021894 1262 2010-01-31: Simon Goldschmidt
elessair 0:f269e3021894 1263 * dhcp.h, dhcp.c: Reworked the code that parses DHCP options: parse
elessair 0:f269e3021894 1264 them once instead of parsing for every option. This also removes
elessair 0:f269e3021894 1265 the need for mem_malloc from dhcp_recv and makes it possible to
elessair 0:f269e3021894 1266 correctly retrieve the BOOTP file.
elessair 0:f269e3021894 1267
elessair 0:f269e3021894 1268 2010-01-30: simon Goldschmidt
elessair 0:f269e3021894 1269 * sockets.c: Use SYS_LIGHTWEIGHT_PROT instead of a semaphore to protect
elessair 0:f269e3021894 1270 the sockets array.
elessair 0:f269e3021894 1271
elessair 0:f269e3021894 1272 2010-01-29: Simon Goldschmidt (patch by Laura Garrett)
elessair 0:f269e3021894 1273 * api.h, api_msg.c, sockets.c: Added except set support in select
elessair 0:f269e3021894 1274 (patch #6860)
elessair 0:f269e3021894 1275
elessair 0:f269e3021894 1276 2010-01-29: Simon Goldschmidt (patch by Laura Garrett)
elessair 0:f269e3021894 1277 * api.h, sockets.h, err.h, api_lib.c, api_msg.c, sockets.c, err.c:
elessair 0:f269e3021894 1278 Add non-blocking support for connect (partly from patch #6860),
elessair 0:f269e3021894 1279 plus many cleanups in socket & netconn API.
elessair 0:f269e3021894 1280
elessair 0:f269e3021894 1281 2010-01-27: Simon Goldschmidt
elessair 0:f269e3021894 1282 * opt.h, tcp.h, init.c, api_msg.c: Added TCP_SNDQUEUELOWAT corresponding
elessair 0:f269e3021894 1283 to TCP_SNDLOWAT and added tcp_sndqueuelen() - this fixes bug #28605
elessair 0:f269e3021894 1284
elessair 0:f269e3021894 1285 2010-01-26: Simon Goldschmidt
elessair 0:f269e3021894 1286 * snmp: Use memp pools for snmp instead of the heap; added 4 new pools.
elessair 0:f269e3021894 1287
elessair 0:f269e3021894 1288 2010-01-14: Simon Goldschmidt
elessair 0:f269e3021894 1289 * ppp.c/.h: Fixed bug #27856: PPP: Set netif link- and status-callback
elessair 0:f269e3021894 1290 by adding ppp_set_netif_statuscallback()/ppp_set_netif_linkcallback()
elessair 0:f269e3021894 1291
elessair 0:f269e3021894 1292 2010-01-13: Simon Goldschmidt
elessair 0:f269e3021894 1293 * mem.c: The heap now may be moved to user-defined memory by defining
elessair 0:f269e3021894 1294 LWIP_RAM_HEAP_POINTER as a void pointer to that memory's address
elessair 0:f269e3021894 1295 (patch #6966 and bug #26133)
elessair 0:f269e3021894 1296
elessair 0:f269e3021894 1297 2010-01-10: Simon Goldschmidt (Bill Auerbach)
elessair 0:f269e3021894 1298 * opt.h, memp.c: patch #6822 (Add option to place memory pools in
elessair 0:f269e3021894 1299 separate arrays)
elessair 0:f269e3021894 1300
elessair 0:f269e3021894 1301 2010-01-10: Simon Goldschmidt
elessair 0:f269e3021894 1302 * init.c, igmp.c: patch #6463 (IGMP - Adding Random Delay): added define
elessair 0:f269e3021894 1303 LWIP_RAND() for lwip-wide randomization (to be defined in cc.h)
elessair 0:f269e3021894 1304
elessair 0:f269e3021894 1305 2009-12-31: Simon Goldschmidt
elessair 0:f269e3021894 1306 * tcpip.c, init.c, memp.c, sys.c, memp_std.h, sys.h, tcpip.h
elessair 0:f269e3021894 1307 added timers.c/.h: Separated timer implementation from semaphore/mbox
elessair 0:f269e3021894 1308 implementation, moved timer implementation to timers.c/.h, timers are
elessair 0:f269e3021894 1309 now only called from tcpip_thread or by explicitly checking them.
elessair 0:f269e3021894 1310 (TASK#7235)
elessair 0:f269e3021894 1311
elessair 0:f269e3021894 1312 2009-12-27: Simon Goldschmidt
elessair 0:f269e3021894 1313 * opt.h, etharp.h/.c, init.c, tcpip.c: Added an additional option
elessair 0:f269e3021894 1314 LWIP_ETHERNET to support ethernet without ARP (necessary for pure PPPoE)
elessair 0:f269e3021894 1315
elessair 0:f269e3021894 1316
elessair 0:f269e3021894 1317 ++ Bugfixes:
elessair 0:f269e3021894 1318
elessair 0:f269e3021894 1319 2011-04-20: Simon Goldschmidt
elessair 0:f269e3021894 1320 * sys_arch.txt: sys_arch_timeouts() is not needed any more.
elessair 0:f269e3021894 1321
elessair 0:f269e3021894 1322 2011-04-13: Simon Goldschmidt
elessair 0:f269e3021894 1323 * tcp.c, udp.c: Fixed bug #33048 (Bad range for IP source port numbers) by
elessair 0:f269e3021894 1324 using ports in the IANA private/dynamic range (49152 through 65535).
elessair 0:f269e3021894 1325
elessair 0:f269e3021894 1326 2011-03-29: Simon Goldschmidt, patch by Emil Lhungdahl:
elessair 0:f269e3021894 1327 * etharp.h/.c: Fixed broken VLAN support.
elessair 0:f269e3021894 1328
elessair 0:f269e3021894 1329 2011-03-27: Simon Goldschmidt
elessair 0:f269e3021894 1330 * tcp.c: Fixed bug #32926 (TCP_RMV(&tcp_bound_pcbs) is called on unbound tcp
elessair 0:f269e3021894 1331 pcbs) by checking if the pcb was bound (local_port != 0).
elessair 0:f269e3021894 1332
elessair 0:f269e3021894 1333 2011-03-27: Simon Goldschmidt
elessair 0:f269e3021894 1334 * ppp.c: Fixed bug #32280 (ppp: a pbuf is freed twice)
elessair 0:f269e3021894 1335
elessair 0:f269e3021894 1336 2011-03-27: Simon Goldschmidt
elessair 0:f269e3021894 1337 * sockets.c: Fixed bug #32906: lwip_connect+lwip_send did not work for udp and
elessair 0:f269e3021894 1338 raw pcbs with LWIP_TCPIP_CORE_LOCKING==1.
elessair 0:f269e3021894 1339
elessair 0:f269e3021894 1340 2011-03-27: Simon Goldschmidt
elessair 0:f269e3021894 1341 * tcp_out.c: Fixed bug #32820 (Outgoing TCP connections created before route
elessair 0:f269e3021894 1342 is present never times out) by starting retransmission timer before checking
elessair 0:f269e3021894 1343 route.
elessair 0:f269e3021894 1344
elessair 0:f269e3021894 1345 2011-03-22: Simon Goldschmidt
elessair 0:f269e3021894 1346 * ppp.c: Fixed bug #32648 (PPP code crashes when terminating a link) by only
elessair 0:f269e3021894 1347 calling sio_read_abort() if the file descriptor is valid.
elessair 0:f269e3021894 1348
elessair 0:f269e3021894 1349 2011-03-14: Simon Goldschmidt
elessair 0:f269e3021894 1350 * err.h/.c, sockets.c, api_msg.c: fixed bug #31748 (Calling non-blocking connect
elessair 0:f269e3021894 1351 more than once can render a socket useless) since it mainly involves changing
elessair 0:f269e3021894 1352 "FATAL" classification of error codes: ERR_USE and ERR_ISCONN just aren't fatal.
elessair 0:f269e3021894 1353
elessair 0:f269e3021894 1354 2011-03-13: Simon Goldschmidt
elessair 0:f269e3021894 1355 * sockets.c: fixed bug #32769 (ESHUTDOWN is linux-specific) by fixing
elessair 0:f269e3021894 1356 err_to_errno_table (ERR_CLSD: ENOTCONN instead of ESHUTDOWN), ERR_ISCONN:
elessair 0:f269e3021894 1357 use EALRADY instead of -1
elessair 0:f269e3021894 1358
elessair 0:f269e3021894 1359 2011-03-13: Simon Goldschmidt
elessair 0:f269e3021894 1360 * api_lib.c: netconn_accept: return ERR_ABRT instead of ERR_CLSD if the
elessair 0:f269e3021894 1361 connection has been aborted by err_tcp (since this is not a normal closing
elessair 0:f269e3021894 1362 procedure).
elessair 0:f269e3021894 1363
elessair 0:f269e3021894 1364 2011-03-13: Simon Goldschmidt
elessair 0:f269e3021894 1365 * tcp.c: tcp_bind: return ERR_VAL instead of ERR_ISCONN when trying to bind
elessair 0:f269e3021894 1366 with pcb->state != CLOSED
elessair 0:f269e3021894 1367
elessair 0:f269e3021894 1368 2011-02-17: Simon Goldschmidt
elessair 0:f269e3021894 1369 * rawapi.txt: Fixed bug #32561 tcp_poll argument definition out-of-order in
elessair 0:f269e3021894 1370 documentation
elessair 0:f269e3021894 1371
elessair 0:f269e3021894 1372 2011-02-17: Simon Goldschmidt
elessair 0:f269e3021894 1373 * many files: Added missing U/UL modifiers to fix 16-bit-arch portability.
elessair 0:f269e3021894 1374
elessair 0:f269e3021894 1375 2011-01-24: Simon Goldschmidt
elessair 0:f269e3021894 1376 * sockets.c: Fixed bug #31741: lwip_select seems to have threading problems
elessair 0:f269e3021894 1377
elessair 0:f269e3021894 1378 2010-12-02: Simon Goldschmidt
elessair 0:f269e3021894 1379 * err.h: Fixed ERR_IS_FATAL so that ERR_WOULDBLOCK is not fatal.
elessair 0:f269e3021894 1380
elessair 0:f269e3021894 1381 2010-11-23: Simon Goldschmidt
elessair 0:f269e3021894 1382 * api.h, api_lib.c, api_msg.c, sockets.c: netconn.recv_avail is only used for
elessair 0:f269e3021894 1383 LWIP_SO_RCVBUF and ioctl/FIONREAD.
elessair 0:f269e3021894 1384
elessair 0:f269e3021894 1385 2010-11-23: Simon Goldschmidt
elessair 0:f269e3021894 1386 * etharp.c: Fixed bug #31720: ARP-queueing: RFC 1122 recommends to queue at
elessair 0:f269e3021894 1387 least 1 packet -> ARP_QUEUEING==0 now queues the most recent packet.
elessair 0:f269e3021894 1388
elessair 0:f269e3021894 1389 2010-11-23: Simon Goldschmidt
elessair 0:f269e3021894 1390 * tcp_in.c: Fixed bug #30577: tcp_input: don't discard ACK-only packets after
elessair 0:f269e3021894 1391 refusing 'refused_data' again.
elessair 0:f269e3021894 1392
elessair 0:f269e3021894 1393 2010-11-22: Simon Goldschmidt
elessair 0:f269e3021894 1394 * sockets.c: Fixed bug #31590: getsockopt(... SO_ERROR ...) gives EINPROGRESS
elessair 0:f269e3021894 1395 after a successful nonblocking connection.
elessair 0:f269e3021894 1396
elessair 0:f269e3021894 1397 2010-11-22: Simon Goldschmidt
elessair 0:f269e3021894 1398 * etharp.c: Fixed bug #31722: IP packets sent with an AutoIP source addr
elessair 0:f269e3021894 1399 must be sent link-local
elessair 0:f269e3021894 1400
elessair 0:f269e3021894 1401 2010-11-22: Simon Goldschmidt
elessair 0:f269e3021894 1402 * timers.c: patch #7329: tcp_timer_needed prototype was ifdef'ed out for
elessair 0:f269e3021894 1403 LWIP_TIMERS==0
elessair 0:f269e3021894 1404
elessair 0:f269e3021894 1405 2010-11-20: Simon Goldschmidt
elessair 0:f269e3021894 1406 * sockets.c: Fixed bug #31170: lwip_setsockopt() does not set socket number
elessair 0:f269e3021894 1407
elessair 0:f269e3021894 1408 2010-11-20: Simon Goldschmidt
elessair 0:f269e3021894 1409 * sockets.h: Fixed bug #31304: Changed SHUT_RD, SHUT_WR and SHUT_RDWR to
elessair 0:f269e3021894 1410 resemble other stacks.
elessair 0:f269e3021894 1411
elessair 0:f269e3021894 1412 2010-11-20: Simon Goldschmidt
elessair 0:f269e3021894 1413 * dns.c: Fixed bug #31535: TCP_SND_QUEUELEN must be at least 2 or else
elessair 0:f269e3021894 1414 no-copy TCP writes will never succeed.
elessair 0:f269e3021894 1415
elessair 0:f269e3021894 1416 2010-11-20: Simon Goldschmidt
elessair 0:f269e3021894 1417 * dns.c: Fixed bug #31701: Error return value from dns_gethostbyname() does
elessair 0:f269e3021894 1418 not match documentation: return ERR_ARG instead of ERR_VAL if not
elessair 0:f269e3021894 1419 initialized or wrong argument.
elessair 0:f269e3021894 1420
elessair 0:f269e3021894 1421 2010-10-20: Simon Goldschmidt
elessair 0:f269e3021894 1422 * sockets.h: Fixed bug #31385: sizeof(struct sockaddr) is 30 but should be 16
elessair 0:f269e3021894 1423
elessair 0:f269e3021894 1424 2010-10-05: Simon Goldschmidt
elessair 0:f269e3021894 1425 * dhcp.c: Once again fixed #30038: DHCP/AutoIP cooperation failed when
elessair 0:f269e3021894 1426 replugging the network cable after an AutoIP address was assigned.
elessair 0:f269e3021894 1427
elessair 0:f269e3021894 1428 2010-08-10: Simon Goldschmidt
elessair 0:f269e3021894 1429 * tcp.c: Fixed bug #30728: tcp_new_port() did not check listen pcbs
elessair 0:f269e3021894 1430
elessair 0:f269e3021894 1431 2010-08-03: Simon Goldschmidt
elessair 0:f269e3021894 1432 * udp.c, raw.c: Don't chain empty pbufs when sending them (fixes bug #30625)
elessair 0:f269e3021894 1433
elessair 0:f269e3021894 1434 2010-08-01: Simon Goldschmidt (patch by Greg Renda)
elessair 0:f269e3021894 1435 * ppp.c: Applied patch #7264 (PPP protocols are rejected incorrectly on big
elessair 0:f269e3021894 1436 endian architectures)
elessair 0:f269e3021894 1437
elessair 0:f269e3021894 1438 2010-07-28: Simon Goldschmidt
elessair 0:f269e3021894 1439 * api_lib.c, api_msg.c, sockets.c, mib2.c: Fixed compilation with TCP or UDP
elessair 0:f269e3021894 1440 disabled.
elessair 0:f269e3021894 1441
elessair 0:f269e3021894 1442 2010-07-27: Simon Goldschmidt
elessair 0:f269e3021894 1443 * tcp.c: Fixed bug #30565 (tcp_connect() check bound list): that check did no
elessair 0:f269e3021894 1444 harm but never did anything
elessair 0:f269e3021894 1445
elessair 0:f269e3021894 1446 2010-07-21: Simon Goldschmidt
elessair 0:f269e3021894 1447 * ip.c: Fixed invalid fix for bug #30402 (CHECKSUM_GEN_IP_INLINE does not
elessair 0:f269e3021894 1448 add IP options)
elessair 0:f269e3021894 1449
elessair 0:f269e3021894 1450 2010-07-16: Kieran Mansley
elessair 0:f269e3021894 1451 * msg_in.c: Fixed SNMP ASN constant defines to not use ! operator
elessair 0:f269e3021894 1452
elessair 0:f269e3021894 1453 2010-07-10: Simon Goldschmidt
elessair 0:f269e3021894 1454 * ip.c: Fixed bug #30402: CHECKSUM_GEN_IP_INLINE does not add IP options
elessair 0:f269e3021894 1455
elessair 0:f269e3021894 1456 2010-06-30: Simon Goldschmidt
elessair 0:f269e3021894 1457 * api_msg.c: fixed bug #30300 (shutdown parameter was not initialized in
elessair 0:f269e3021894 1458 netconn_delete)
elessair 0:f269e3021894 1459
elessair 0:f269e3021894 1460 2010-06-28: Kieran Mansley
elessair 0:f269e3021894 1461 * timers.c remove unportable printing of C function pointers
elessair 0:f269e3021894 1462
elessair 0:f269e3021894 1463 2010-06-24: Simon Goldschmidt
elessair 0:f269e3021894 1464 * init.c, timers.c/.h, opt.h, memp_std.h: From patch #7221: added flag
elessair 0:f269e3021894 1465 NO_SYS_NO_TIMERS to drop timer support for NO_SYS==1 for easier upgrading
elessair 0:f269e3021894 1466
elessair 0:f269e3021894 1467 2010-06-24: Simon Goldschmidt
elessair 0:f269e3021894 1468 * api(_lib).c/.h, api_msg.c/.h, sockets.c/.h: Fixed bug #10088: Correctly
elessair 0:f269e3021894 1469 implemented shutdown at socket level.
elessair 0:f269e3021894 1470
elessair 0:f269e3021894 1471 2010-06-21: Simon Goldschmidt
elessair 0:f269e3021894 1472 * pbuf.c/.h, ip_frag.c/.h, opt.h, memp_std.h: Fixed bug #29361 (ip_frag has
elessair 0:f269e3021894 1473 problems with zero-copy DMA MACs) by adding custom pbufs and implementing
elessair 0:f269e3021894 1474 custom pbufs that reference other (original) pbufs. Additionally set
elessair 0:f269e3021894 1475 IP_FRAG_USES_STATIC_BUF=0 as default to be on the safe side.
elessair 0:f269e3021894 1476
elessair 0:f269e3021894 1477 2010-06-15: Simon Goldschmidt
elessair 0:f269e3021894 1478 * dhcp.c: Fixed bug #29970: DHCP endian issue parsing option responses
elessair 0:f269e3021894 1479
elessair 0:f269e3021894 1480 2010-06-14: Simon Goldschmidt
elessair 0:f269e3021894 1481 * autoip.c: Fixed bug #30039: AutoIP does not reuse previous addresses
elessair 0:f269e3021894 1482
elessair 0:f269e3021894 1483 2010-06-12: Simon Goldschmidt
elessair 0:f269e3021894 1484 * dhcp.c: Fixed bug #30038: dhcp_network_changed doesn't reset AUTOIP coop
elessair 0:f269e3021894 1485 state
elessair 0:f269e3021894 1486
elessair 0:f269e3021894 1487 2010-05-17: Simon Goldschmidt
elessair 0:f269e3021894 1488 * netdb.c: Correctly NULL-terminate h_addr_list
elessair 0:f269e3021894 1489
elessair 0:f269e3021894 1490 2010-05-16: Simon Goldschmidt
elessair 0:f269e3021894 1491 * def.h/.c: changed the semantics of LWIP_PREFIX_BYTEORDER_FUNCS to prevent
elessair 0:f269e3021894 1492 "symbol already defined" i.e. when linking to winsock
elessair 0:f269e3021894 1493
elessair 0:f269e3021894 1494 2010-05-05: Simon Goldschmidt
elessair 0:f269e3021894 1495 * def.h, timers.c: Fixed bug #29769 (sys_check_timeouts: sys_now() may
elessair 0:f269e3021894 1496 overflow)
elessair 0:f269e3021894 1497
elessair 0:f269e3021894 1498 2010-04-21: Simon Goldschmidt
elessair 0:f269e3021894 1499 * api_msg.c: Fixed bug #29617 (sometime cause stall on delete listening
elessair 0:f269e3021894 1500 connection)
elessair 0:f269e3021894 1501
elessair 0:f269e3021894 1502 2010-03-28: Luca Ceresoli
elessair 0:f269e3021894 1503 * ip_addr.c/.h: patch #7143: Add a few missing const qualifiers
elessair 0:f269e3021894 1504
elessair 0:f269e3021894 1505 2010-03-27: Luca Ceresoli
elessair 0:f269e3021894 1506 * mib2.c: patch #7130: remove meaningless const qualifiers
elessair 0:f269e3021894 1507
elessair 0:f269e3021894 1508 2010-03-26: Simon Goldschmidt
elessair 0:f269e3021894 1509 * tcp_out.c: Make LWIP_NETIF_TX_SINGLE_PBUF work for TCP, too
elessair 0:f269e3021894 1510
elessair 0:f269e3021894 1511 2010-03-26: Simon Goldschmidt
elessair 0:f269e3021894 1512 * various files: Fixed compiling with different options disabled (TCP/UDP),
elessair 0:f269e3021894 1513 triggered by bug #29345; don't allocate acceptmbox if LWIP_TCP is disabled
elessair 0:f269e3021894 1514
elessair 0:f269e3021894 1515 2010-03-25: Simon Goldschmidt
elessair 0:f269e3021894 1516 * sockets.c: Fixed bug #29332: lwip_select() processes readset incorrectly
elessair 0:f269e3021894 1517
elessair 0:f269e3021894 1518 2010-03-25: Simon Goldschmidt
elessair 0:f269e3021894 1519 * tcp_in.c, test_tcp_oos.c: Fixed bug #29080: Correctly handle remote side
elessair 0:f269e3021894 1520 overrunning our rcv_wnd in ooseq case.
elessair 0:f269e3021894 1521
elessair 0:f269e3021894 1522 2010-03-22: Simon Goldschmidt
elessair 0:f269e3021894 1523 * tcp.c: tcp_listen() did not copy the pcb's prio.
elessair 0:f269e3021894 1524
elessair 0:f269e3021894 1525 2010-03-19: Simon Goldschmidt
elessair 0:f269e3021894 1526 * snmp_msg.c: Fixed bug #29256: SNMP Trap address was not correctly set
elessair 0:f269e3021894 1527
elessair 0:f269e3021894 1528 2010-03-14: Simon Goldschmidt
elessair 0:f269e3021894 1529 * opt.h, etharp.h: Fixed bug #29148 (Incorrect PBUF_POOL_BUFSIZE for ports
elessair 0:f269e3021894 1530 where ETH_PAD_SIZE > 0) by moving definition of ETH_PAD_SIZE to opt.h
elessair 0:f269e3021894 1531 and basing PBUF_LINK_HLEN on it.
elessair 0:f269e3021894 1532
elessair 0:f269e3021894 1533 2010-03-08: Simon Goldschmidt
elessair 0:f269e3021894 1534 * netif.c, ipv4/ip.c: task #10241 (AutoIP: don't break existing connections
elessair 0:f269e3021894 1535 when assiging routable address): when checking incoming packets and
elessair 0:f269e3021894 1536 aborting existing connection on address change, filter out link-local
elessair 0:f269e3021894 1537 addresses.
elessair 0:f269e3021894 1538
elessair 0:f269e3021894 1539 2010-03-06: Simon Goldschmidt
elessair 0:f269e3021894 1540 * sockets.c: Fixed LWIP_NETIF_TX_SINGLE_PBUF for LWIP_TCPIP_CORE_LOCKING
elessair 0:f269e3021894 1541
elessair 0:f269e3021894 1542 2010-03-06: Simon Goldschmidt
elessair 0:f269e3021894 1543 * ipv4/ip.c: Don't try to forward link-local addresses
elessair 0:f269e3021894 1544
elessair 0:f269e3021894 1545 2010-03-06: Simon Goldschmidt
elessair 0:f269e3021894 1546 * etharp.c: Fixed bug #29087: etharp: don't send packets for LinkLocal-
elessair 0:f269e3021894 1547 addresses to gw
elessair 0:f269e3021894 1548
elessair 0:f269e3021894 1549 2010-03-05: Simon Goldschmidt
elessair 0:f269e3021894 1550 * dhcp.c: Fixed bug #29072: Correctly set ciaddr based on message-type
elessair 0:f269e3021894 1551 and state.
elessair 0:f269e3021894 1552
elessair 0:f269e3021894 1553 2010-03-05: Simon Goldschmidt
elessair 0:f269e3021894 1554 * api_msg.c: Correctly set TCP_WRITE_FLAG_MORE when netconn_write is split
elessair 0:f269e3021894 1555 into multiple calls to tcp_write.
elessair 0:f269e3021894 1556
elessair 0:f269e3021894 1557 2010-02-21: Simon Goldschmidt
elessair 0:f269e3021894 1558 * opt.h, mem.h, dns.c: task #10140: Remove DNS_USES_STATIC_BUF (keep
elessair 0:f269e3021894 1559 the implementation of DNS_USES_STATIC_BUF==1)
elessair 0:f269e3021894 1560
elessair 0:f269e3021894 1561 2010-02-20: Simon Goldschmidt
elessair 0:f269e3021894 1562 * tcp.h, tcp.c, tcp_in.c, tcp_out.c: Task #10088: Correctly implement
elessair 0:f269e3021894 1563 close() vs. shutdown(). Now the application does not get any more
elessair 0:f269e3021894 1564 recv callbacks after calling tcp_close(). Added tcp_shutdown().
elessair 0:f269e3021894 1565
elessair 0:f269e3021894 1566 2010-02-19: Simon Goldschmidt
elessair 0:f269e3021894 1567 * mem.c/.h, pbuf.c: Renamed mem_realloc() to mem_trim() to prevent
elessair 0:f269e3021894 1568 confusion with realloc()
elessair 0:f269e3021894 1569
elessair 0:f269e3021894 1570 2010-02-15: Simon Goldschmidt/Stephane Lesage
elessair 0:f269e3021894 1571 * netif.c/.h: Link status does not depend on LWIP_NETIF_LINK_CALLBACK
elessair 0:f269e3021894 1572 (fixes bug #28899)
elessair 0:f269e3021894 1573
elessair 0:f269e3021894 1574 2010-02-14: Simon Goldschmidt
elessair 0:f269e3021894 1575 * netif.c: Fixed bug #28877 (Duplicate ARP gratuitous packet with
elessair 0:f269e3021894 1576 LWIP_NETIF_LINK_CALLBACK set on) by only sending if both link- and
elessair 0:f269e3021894 1577 admin-status of a netif are up
elessair 0:f269e3021894 1578
elessair 0:f269e3021894 1579 2010-02-14: Simon Goldschmidt
elessair 0:f269e3021894 1580 * opt.h: Disable ETHARP_TRUST_IP_MAC by default since it slows down packet
elessair 0:f269e3021894 1581 reception and is not really necessary
elessair 0:f269e3021894 1582
elessair 0:f269e3021894 1583 2010-02-14: Simon Goldschmidt
elessair 0:f269e3021894 1584 * etharp.c/.h: Fixed ARP input processing: only add a new entry if a
elessair 0:f269e3021894 1585 request was directed as us (RFC 826, Packet Reception), otherwise
elessair 0:f269e3021894 1586 only update existing entries; internalized some functions
elessair 0:f269e3021894 1587
elessair 0:f269e3021894 1588 2010-02-14: Simon Goldschmidt
elessair 0:f269e3021894 1589 * netif.h, etharp.c, tcpip.c: Fixed bug #28183 (ARP and TCP/IP cannot be
elessair 0:f269e3021894 1590 disabled on netif used for PPPoE) by adding a new netif flag
elessair 0:f269e3021894 1591 (NETIF_FLAG_ETHERNET) that tells the stack the device is an ethernet
elessair 0:f269e3021894 1592 device but prevents usage of ARP (so that ethernet_input can be used
elessair 0:f269e3021894 1593 for PPPoE).
elessair 0:f269e3021894 1594
elessair 0:f269e3021894 1595 2010-02-12: Simon Goldschmidt
elessair 0:f269e3021894 1596 * netif.c: netif_set_link_up/down: only do something if the link state
elessair 0:f269e3021894 1597 actually changes
elessair 0:f269e3021894 1598
elessair 0:f269e3021894 1599 2010-02-12: Simon Goldschmidt/Stephane Lesage
elessair 0:f269e3021894 1600 * api_msg.c: Fixed bug #28865 (Cannot close socket/netconn in non-blocking
elessair 0:f269e3021894 1601 connect)
elessair 0:f269e3021894 1602
elessair 0:f269e3021894 1603 2010-02-12: Simon Goldschmidt
elessair 0:f269e3021894 1604 * mem.h: Fixed bug #28866 (mem_realloc function defined in mem.h)
elessair 0:f269e3021894 1605
elessair 0:f269e3021894 1606 2010-02-09: Simon Goldschmidt
elessair 0:f269e3021894 1607 * api_lib.c, api_msg.c, sockets.c, api.h, api_msg.h: Fixed bug #22110
elessair 0:f269e3021894 1608 (recv() makes receive window update for data that wasn't received by
elessair 0:f269e3021894 1609 application)
elessair 0:f269e3021894 1610
elessair 0:f269e3021894 1611 2010-02-09: Simon Goldschmidt/Stephane Lesage
elessair 0:f269e3021894 1612 * sockets.c: Fixed bug #28853 (lwip_recvfrom() returns 0 on receive time-out
elessair 0:f269e3021894 1613 or any netconn_recv() error)
elessair 0:f269e3021894 1614
elessair 0:f269e3021894 1615 2010-02-09: Simon Goldschmidt
elessair 0:f269e3021894 1616 * ppp.c: task #10154 (PPP: Update snmp in/out counters for tx/rx packets)
elessair 0:f269e3021894 1617
elessair 0:f269e3021894 1618 2010-02-09: Simon Goldschmidt
elessair 0:f269e3021894 1619 * netif.c: For loopback packets, adjust the stats- and snmp-counters
elessair 0:f269e3021894 1620 for the loopback netif.
elessair 0:f269e3021894 1621
elessair 0:f269e3021894 1622 2010-02-08: Simon Goldschmidt
elessair 0:f269e3021894 1623 * igmp.c/.h, ip.h: Moved most defines from igmp.h to igmp.c for clarity
elessair 0:f269e3021894 1624 since they are not used anywhere else.
elessair 0:f269e3021894 1625
elessair 0:f269e3021894 1626 2010-02-08: Simon Goldschmidt (Stéphane Lesage)
elessair 0:f269e3021894 1627 * igmp.c, igmp.h, stats.c, stats.h: Improved IGMP stats
elessair 0:f269e3021894 1628 (patch from bug #28798)
elessair 0:f269e3021894 1629
elessair 0:f269e3021894 1630 2010-02-08: Simon Goldschmidt (Stéphane Lesage)
elessair 0:f269e3021894 1631 * igmp.c: Fixed bug #28798 (Error in "Max Response Time" processing) and
elessair 0:f269e3021894 1632 another bug when LWIP_RAND() returns zero.
elessair 0:f269e3021894 1633
elessair 0:f269e3021894 1634 2010-02-04: Simon Goldschmidt
elessair 0:f269e3021894 1635 * nearly every file: Use macros defined in ip_addr.h (some of them new)
elessair 0:f269e3021894 1636 to work with IP addresses (preparation for bug #27352 - Change ip_addr
elessair 0:f269e3021894 1637 from struct to typedef (u32_t) - and better code).
elessair 0:f269e3021894 1638
elessair 0:f269e3021894 1639 2010-01-31: Simon Goldschmidt
elessair 0:f269e3021894 1640 * netif.c: Don't call the link-callback from netif_set_up/down() since
elessair 0:f269e3021894 1641 this invalidly retriggers DHCP.
elessair 0:f269e3021894 1642
elessair 0:f269e3021894 1643 2010-01-29: Simon Goldschmidt
elessair 0:f269e3021894 1644 * ip_addr.h, inet.h, def.h, inet.c, def.c, more: Cleanly separate the
elessair 0:f269e3021894 1645 portability file inet.h and its contents from the stack: moved htonX-
elessair 0:f269e3021894 1646 functions to def.h (and the new def.c - they are not ipv4 dependent),
elessair 0:f269e3021894 1647 let inet.h depend on ip_addr.h and not the other way round.
elessair 0:f269e3021894 1648 This fixes bug #28732.
elessair 0:f269e3021894 1649
elessair 0:f269e3021894 1650 2010-01-28: Kieran Mansley
elessair 0:f269e3021894 1651 * tcp.c: Ensure ssthresh >= 2*MSS
elessair 0:f269e3021894 1652
elessair 0:f269e3021894 1653 2010-01-27: Simon Goldschmidt
elessair 0:f269e3021894 1654 * tcp.h, tcp.c, tcp_in.c: Fixed bug #27871: Calling tcp_abort() in recv
elessair 0:f269e3021894 1655 callback can lead to accessing unallocated memory. As a consequence,
elessair 0:f269e3021894 1656 ERR_ABRT means the application has called tcp_abort()!
elessair 0:f269e3021894 1657
elessair 0:f269e3021894 1658 2010-01-25: Simon Goldschmidt
elessair 0:f269e3021894 1659 * snmp_structs.h, msg_in.c: Partly fixed bug #22070 (MIB_OBJECT_WRITE_ONLY
elessair 0:f269e3021894 1660 not implemented in SNMP): write-only or not-accessible are still
elessair 0:f269e3021894 1661 returned by getnext (though not by get)
elessair 0:f269e3021894 1662
elessair 0:f269e3021894 1663 2010-01-24: Simon Goldschmidt
elessair 0:f269e3021894 1664 * snmp: Renamed the private mib node from 'private' to 'mib_private' to
elessair 0:f269e3021894 1665 not use reserved C/C++ keywords
elessair 0:f269e3021894 1666
elessair 0:f269e3021894 1667 2010-01-23: Simon Goldschmidt
elessair 0:f269e3021894 1668 * sockets.c: Fixed bug #28716: select() returns 0 after waiting for less
elessair 0:f269e3021894 1669 than 1 ms
elessair 0:f269e3021894 1670
elessair 0:f269e3021894 1671 2010-01-21: Simon Goldschmidt
elessair 0:f269e3021894 1672 * tcp.c, api_msg.c: Fixed bug #28651 (tcp_connect: no callbacks called
elessair 0:f269e3021894 1673 if tcp_enqueue fails) both in raw- and netconn-API
elessair 0:f269e3021894 1674
elessair 0:f269e3021894 1675 2010-01-19: Simon Goldschmidt
elessair 0:f269e3021894 1676 * api_msg.c: Fixed bug #27316: netconn: Possible deadlock in err_tcp
elessair 0:f269e3021894 1677
elessair 0:f269e3021894 1678 2010-01-18: Iordan Neshev/Simon Goldschmidt
elessair 0:f269e3021894 1679 * src/netif/ppp: reorganised PPP sourcecode to 2.3.11 including some
elessair 0:f269e3021894 1680 bugfix backports from 2.4.x.
elessair 0:f269e3021894 1681
elessair 0:f269e3021894 1682 2010-01-18: Simon Goldschmidt
elessair 0:f269e3021894 1683 * mem.c: Fixed bug #28679: mem_realloc calculates mem_stats wrong
elessair 0:f269e3021894 1684
elessair 0:f269e3021894 1685 2010-01-17: Simon Goldschmidt
elessair 0:f269e3021894 1686 * api_lib.c, api_msg.c, (api_msg.h, api.h, sockets.c, tcpip.c):
elessair 0:f269e3021894 1687 task #10102: "netconn: clean up conn->err threading issues" by adding
elessair 0:f269e3021894 1688 error return value to struct api_msg_msg
elessair 0:f269e3021894 1689
elessair 0:f269e3021894 1690 2010-01-17: Simon Goldschmidt
elessair 0:f269e3021894 1691 * api.h, api_lib.c, sockets.c: Changed netconn_recv() and netconn_accept()
elessair 0:f269e3021894 1692 to return err_t (bugs #27709 and #28087)
elessair 0:f269e3021894 1693
elessair 0:f269e3021894 1694 2010-01-14: Simon Goldschmidt
elessair 0:f269e3021894 1695 * ...: Use typedef for function prototypes throughout the stack.
elessair 0:f269e3021894 1696
elessair 0:f269e3021894 1697 2010-01-13: Simon Goldschmidt
elessair 0:f269e3021894 1698 * api_msg.h/.c, api_lib.c: Fixed bug #26672 (close connection when receive
elessair 0:f269e3021894 1699 window = 0) by correctly draining recvmbox/acceptmbox
elessair 0:f269e3021894 1700
elessair 0:f269e3021894 1701 2010-01-11: Simon Goldschmidt
elessair 0:f269e3021894 1702 * pap.c: Fixed bug #13315 (PPP PAP authentication can result in
elessair 0:f269e3021894 1703 erroneous callbacks) by copying the code from recent pppd
elessair 0:f269e3021894 1704
elessair 0:f269e3021894 1705 2010-01-10: Simon Goldschmidt
elessair 0:f269e3021894 1706 * raw.c: Fixed bug #28506 (raw_bind should filter received packets)
elessair 0:f269e3021894 1707
elessair 0:f269e3021894 1708 2010-01-10: Simon Goldschmidt
elessair 0:f269e3021894 1709 * tcp.h/.c: bug #28127 (remove call to tcp_output() from tcp_ack(_now)())
elessair 0:f269e3021894 1710
elessair 0:f269e3021894 1711 2010-01-08: Simon Goldschmidt
elessair 0:f269e3021894 1712 * sockets.c: Fixed bug #28519 (lwip_recvfrom bug with len > 65535)
elessair 0:f269e3021894 1713
elessair 0:f269e3021894 1714 2010-01-08: Simon Goldschmidt
elessair 0:f269e3021894 1715 * dns.c: Copy hostname for DNS_LOCAL_HOSTLIST_IS_DYNAMIC==1 since string
elessair 0:f269e3021894 1716 passed to dns_local_addhost() might be volatile
elessair 0:f269e3021894 1717
elessair 0:f269e3021894 1718 2010-01-07: Simon Goldschmidt
elessair 0:f269e3021894 1719 * timers.c, tcp.h: Call tcp_timer_needed() with NO_SYS==1, too
elessair 0:f269e3021894 1720
elessair 0:f269e3021894 1721 2010-01-06: Simon Goldschmidt
elessair 0:f269e3021894 1722 * netdb.h: Fixed bug #28496: missing include guards in netdb.h
elessair 0:f269e3021894 1723
elessair 0:f269e3021894 1724 2009-12-31: Simon Goldschmidt
elessair 0:f269e3021894 1725 * many ppp files: Reorganised PPP source code from ucip structure to pppd
elessair 0:f269e3021894 1726 structure to easily compare our code against the pppd code (around v2.3.1)
elessair 0:f269e3021894 1727
elessair 0:f269e3021894 1728 2009-12-27: Simon Goldschmidt
elessair 0:f269e3021894 1729 * tcp_in.c: Another fix for bug #28241 (ooseq processing) and adapted
elessair 0:f269e3021894 1730 unit test
elessair 0:f269e3021894 1731
elessair 0:f269e3021894 1732
elessair 0:f269e3021894 1733 (STABLE-1.3.2)
elessair 0:f269e3021894 1734
elessair 0:f269e3021894 1735 ++ New features:
elessair 0:f269e3021894 1736
elessair 0:f269e3021894 1737 2009-10-27 Simon Goldschmidt/Stephan Lesage
elessair 0:f269e3021894 1738 * netifapi.c/.h: Added netifapi_netif_set_addr()
elessair 0:f269e3021894 1739
elessair 0:f269e3021894 1740 2009-10-07 Simon Goldschmidt/Fabian Koch
elessair 0:f269e3021894 1741 * api_msg.c, netbuf.c/.h, opt.h: patch #6888: Patch for UDP Netbufs to
elessair 0:f269e3021894 1742 support dest-addr and dest-port (optional: LWIP_NETBUF_RECVINFO)
elessair 0:f269e3021894 1743
elessair 0:f269e3021894 1744 2009-08-26 Simon Goldschmidt/Simon Kallweit
elessair 0:f269e3021894 1745 * slipif.c/.h: bug #26397: SLIP polling support
elessair 0:f269e3021894 1746
elessair 0:f269e3021894 1747 2009-08-25 Simon Goldschmidt
elessair 0:f269e3021894 1748 * opt.h, etharp.h/.c: task #9033: Support IEEE 802.1q tagged frame (VLAN),
elessair 0:f269e3021894 1749 New configuration options ETHARP_SUPPORT_VLAN and ETHARP_VLAN_CHECK.
elessair 0:f269e3021894 1750
elessair 0:f269e3021894 1751 2009-08-25 Simon Goldschmidt
elessair 0:f269e3021894 1752 * ip_addr.h, netdb.c: patch #6900: added define ip_ntoa(struct ip_addr*)
elessair 0:f269e3021894 1753
elessair 0:f269e3021894 1754 2009-08-24 Jakob Stoklund Olesen
elessair 0:f269e3021894 1755 * autoip.c, dhcp.c, netif.c: patch #6725: Teach AutoIP and DHCP to respond
elessair 0:f269e3021894 1756 to netif_set_link_up().
elessair 0:f269e3021894 1757
elessair 0:f269e3021894 1758 2009-08-23 Simon Goldschmidt
elessair 0:f269e3021894 1759 * tcp.h/.c: Added function tcp_debug_state_str() to convert a tcp state
elessair 0:f269e3021894 1760 to a human-readable string.
elessair 0:f269e3021894 1761
elessair 0:f269e3021894 1762 ++ Bugfixes:
elessair 0:f269e3021894 1763
elessair 0:f269e3021894 1764 2009-12-24: Kieran Mansley
elessair 0:f269e3021894 1765 * tcp_in.c Apply patches from Oleg Tyshev to improve OOS processing
elessair 0:f269e3021894 1766 (BUG#28241)
elessair 0:f269e3021894 1767
elessair 0:f269e3021894 1768 2009-12-06: Simon Goldschmidt
elessair 0:f269e3021894 1769 * ppp.h/.c: Fixed bug #27079 (Yet another leak in PPP): outpacket_buf can
elessair 0:f269e3021894 1770 be statically allocated (like in ucip)
elessair 0:f269e3021894 1771
elessair 0:f269e3021894 1772 2009-12-04: Simon Goldschmidt (patch by Ioardan Neshev)
elessair 0:f269e3021894 1773 * pap.c: patch #6969: PPP: missing PAP authentication UNTIMEOUT
elessair 0:f269e3021894 1774
elessair 0:f269e3021894 1775 2009-12-03: Simon Goldschmidt
elessair 0:f269e3021894 1776 * tcp.h, tcp_in.c, tcp_out.c: Fixed bug #28106: dup ack for fast retransmit
elessair 0:f269e3021894 1777 could have non-zero length
elessair 0:f269e3021894 1778
elessair 0:f269e3021894 1779 2009-12-02: Simon Goldschmidt
elessair 0:f269e3021894 1780 * tcp_in.c: Fixed bug #27904: TCP sends too many ACKs: delay resetting
elessair 0:f269e3021894 1781 tcp_input_pcb until after calling the pcb's callbacks
elessair 0:f269e3021894 1782
elessair 0:f269e3021894 1783 2009-11-29: Simon Goldschmidt
elessair 0:f269e3021894 1784 * tcp_in.c: Fixed bug #28054: Two segments with FIN flag on the out-of-
elessair 0:f269e3021894 1785 sequence queue, also fixed PBUF_POOL leak in the out-of-sequence code
elessair 0:f269e3021894 1786
elessair 0:f269e3021894 1787 2009-11-29: Simon Goldschmidt
elessair 0:f269e3021894 1788 * pbuf.c: Fixed bug #28064: pbuf_alloc(PBUF_POOL) is not thread-safe by
elessair 0:f269e3021894 1789 queueing a call into tcpip_thread to free ooseq-bufs if the pool is empty
elessair 0:f269e3021894 1790
elessair 0:f269e3021894 1791 2009-11-26: Simon Goldschmidt
elessair 0:f269e3021894 1792 * tcp.h: Fixed bug #28098: Nagle can prevent fast retransmit from sending
elessair 0:f269e3021894 1793 segment
elessair 0:f269e3021894 1794
elessair 0:f269e3021894 1795 2009-11-26: Simon Goldschmidt
elessair 0:f269e3021894 1796 * tcp.h, sockets.c: Fixed bug #28099: API required to disable Nagle
elessair 0:f269e3021894 1797 algorithm at PCB level
elessair 0:f269e3021894 1798
elessair 0:f269e3021894 1799 2009-11-22: Simon Goldschmidt
elessair 0:f269e3021894 1800 * tcp_out.c: Fixed bug #27905: FIN isn't combined with data on unsent
elessair 0:f269e3021894 1801
elessair 0:f269e3021894 1802 2009-11-22: Simon Goldschmidt (suggested by Bill Auerbach)
elessair 0:f269e3021894 1803 * tcp.c: tcp_alloc: prevent increasing stats.err for MEMP_TCP_PCB when
elessair 0:f269e3021894 1804 reusing time-wait pcb
elessair 0:f269e3021894 1805
elessair 0:f269e3021894 1806 2009-11-20: Simon Goldschmidt (patch by Albert Bartel)
elessair 0:f269e3021894 1807 * sockets.c: Fixed bug #28062: Data received directly after accepting
elessair 0:f269e3021894 1808 does not wake up select
elessair 0:f269e3021894 1809
elessair 0:f269e3021894 1810 2009-11-11: Simon Goldschmidt
elessair 0:f269e3021894 1811 * netdb.h: Fixed bug #27994: incorrect define for freeaddrinfo(addrinfo)
elessair 0:f269e3021894 1812
elessair 0:f269e3021894 1813 2009-10-30: Simon Goldschmidt
elessair 0:f269e3021894 1814 * opt.h: Increased default value for TCP_MSS to 536, updated default
elessair 0:f269e3021894 1815 value for TCP_WND to 4*TCP_MSS to keep delayed ACK working.
elessair 0:f269e3021894 1816
elessair 0:f269e3021894 1817 2009-10-28: Kieran Mansley
elessair 0:f269e3021894 1818 * tcp_in.c, tcp_out.c, tcp.h: re-work the fast retransmission code
elessair 0:f269e3021894 1819 to follow algorithm from TCP/IP Illustrated
elessair 0:f269e3021894 1820
elessair 0:f269e3021894 1821 2009-10-27: Kieran Mansley
elessair 0:f269e3021894 1822 * tcp_in.c: fix BUG#27445: grow cwnd with every duplicate ACK
elessair 0:f269e3021894 1823
elessair 0:f269e3021894 1824 2009-10-25: Simon Goldschmidt
elessair 0:f269e3021894 1825 * tcp.h: bug-fix in the TCP_EVENT_RECV macro (has to call tcp_recved if
elessair 0:f269e3021894 1826 pcb->recv is NULL to keep rcv_wnd correct)
elessair 0:f269e3021894 1827
elessair 0:f269e3021894 1828 2009-10-25: Simon Goldschmidt
elessair 0:f269e3021894 1829 * tcp_in.c: Fixed bug #26251: RST process in TIME_WAIT TCP state
elessair 0:f269e3021894 1830
elessair 0:f269e3021894 1831 2009-10-23: Simon Goldschmidt (David Empson)
elessair 0:f269e3021894 1832 * tcp.c: Fixed bug #27783: Silly window avoidance for small window sizes
elessair 0:f269e3021894 1833
elessair 0:f269e3021894 1834 2009-10-21: Simon Goldschmidt
elessair 0:f269e3021894 1835 * tcp_in.c: Fixed bug #27215: TCP sent() callback gives leading and
elessair 0:f269e3021894 1836 trailing 1 byte len (SYN/FIN)
elessair 0:f269e3021894 1837
elessair 0:f269e3021894 1838 2009-10-21: Simon Goldschmidt
elessair 0:f269e3021894 1839 * tcp_out.c: Fixed bug #27315: zero window probe and FIN
elessair 0:f269e3021894 1840
elessair 0:f269e3021894 1841 2009-10-19: Simon Goldschmidt
elessair 0:f269e3021894 1842 * dhcp.c/.h: Minor code simplification (don't store received pbuf, change
elessair 0:f269e3021894 1843 conditional code to assert where applicable), check pbuf length before
elessair 0:f269e3021894 1844 testing for valid reply
elessair 0:f269e3021894 1845
elessair 0:f269e3021894 1846 2009-10-19: Simon Goldschmidt
elessair 0:f269e3021894 1847 * dhcp.c: Removed most calls to udp_connect since they aren't necessary
elessair 0:f269e3021894 1848 when using udp_sendto_if() - always stay connected to IP_ADDR_ANY.
elessair 0:f269e3021894 1849
elessair 0:f269e3021894 1850 2009-10-16: Simon Goldschmidt
elessair 0:f269e3021894 1851 * ip.c: Fixed bug #27390: Source IP check in ip_input() causes it to drop
elessair 0:f269e3021894 1852 valid DHCP packets -> allow 0.0.0.0 as source address when LWIP_DHCP is
elessair 0:f269e3021894 1853 enabled
elessair 0:f269e3021894 1854
elessair 0:f269e3021894 1855 2009-10-15: Simon Goldschmidt (Oleg Tyshev)
elessair 0:f269e3021894 1856 * tcp_in.c: Fixed bug #27329: dupacks by unidirectional data transmit
elessair 0:f269e3021894 1857
elessair 0:f269e3021894 1858 2009-10-15: Simon Goldschmidt
elessair 0:f269e3021894 1859 * api_lib.c: Fixed bug #27709: conn->err race condition on netconn_recv()
elessair 0:f269e3021894 1860 timeout
elessair 0:f269e3021894 1861
elessair 0:f269e3021894 1862 2009-10-15: Simon Goldschmidt
elessair 0:f269e3021894 1863 * autoip.c: Fixed bug #27704: autoip starts with wrong address
elessair 0:f269e3021894 1864 LWIP_AUTOIP_CREATE_SEED_ADDR() returned address in host byte order instead
elessair 0:f269e3021894 1865 of network byte order
elessair 0:f269e3021894 1866
elessair 0:f269e3021894 1867 2009-10-11 Simon Goldschmidt (Jörg Kesten)
elessair 0:f269e3021894 1868 * tcp_out.c: Fixed bug #27504: tcp_enqueue wrongly concatenates segments
elessair 0:f269e3021894 1869 which are not consecutive when retransmitting unacked segments
elessair 0:f269e3021894 1870
elessair 0:f269e3021894 1871 2009-10-09 Simon Goldschmidt
elessair 0:f269e3021894 1872 * opt.h: Fixed default values of some stats to only be enabled if used
elessair 0:f269e3021894 1873 Fixes bug #27338: sys_stats is defined when NO_SYS = 1
elessair 0:f269e3021894 1874
elessair 0:f269e3021894 1875 2009-08-30 Simon Goldschmidt
elessair 0:f269e3021894 1876 * ip.c: Fixed bug bug #27345: "ip_frag() does not use the LWIP_NETIF_LOOPBACK
elessair 0:f269e3021894 1877 function" by checking for loopback before calling ip_frag
elessair 0:f269e3021894 1878
elessair 0:f269e3021894 1879 2009-08-25 Simon Goldschmidt
elessair 0:f269e3021894 1880 * dhcp.c: fixed invalid dependency to etharp_query if DHCP_DOES_ARP_CHECK==0
elessair 0:f269e3021894 1881
elessair 0:f269e3021894 1882 2009-08-23 Simon Goldschmidt
elessair 0:f269e3021894 1883 * ppp.c: bug #27078: Possible memory leak in pppInit()
elessair 0:f269e3021894 1884
elessair 0:f269e3021894 1885 2009-08-23 Simon Goldschmidt
elessair 0:f269e3021894 1886 * netdb.c, dns.c: bug #26657: DNS, if host name is "localhost", result
elessair 0:f269e3021894 1887 is error.
elessair 0:f269e3021894 1888
elessair 0:f269e3021894 1889 2009-08-23 Simon Goldschmidt
elessair 0:f269e3021894 1890 * opt.h, init.c: bug #26649: TCP fails when TCP_MSS > TCP_SND_BUF
elessair 0:f269e3021894 1891 Fixed wrong parenthesis, added check in init.c
elessair 0:f269e3021894 1892
elessair 0:f269e3021894 1893 2009-08-23 Simon Goldschmidt
elessair 0:f269e3021894 1894 * ppp.c: bug #27266: wait-state debug message in pppMain occurs every ms
elessair 0:f269e3021894 1895
elessair 0:f269e3021894 1896 2009-08-23 Simon Goldschmidt
elessair 0:f269e3021894 1897 * many ppp files: bug #27267: Added include to string.h where needed
elessair 0:f269e3021894 1898
elessair 0:f269e3021894 1899 2009-08-23 Simon Goldschmidt
elessair 0:f269e3021894 1900 * tcp.h: patch #6843: tcp.h macro optimization patch (for little endian)
elessair 0:f269e3021894 1901
elessair 0:f269e3021894 1902
elessair 0:f269e3021894 1903 (STABLE-1.3.1)
elessair 0:f269e3021894 1904
elessair 0:f269e3021894 1905 ++ New features:
elessair 0:f269e3021894 1906
elessair 0:f269e3021894 1907 2009-05-10 Simon Goldschmidt
elessair 0:f269e3021894 1908 * opt.h, sockets.c, pbuf.c, netbuf.h, pbuf.h: task #7013: Added option
elessair 0:f269e3021894 1909 LWIP_NETIF_TX_SINGLE_PBUF to try to create transmit packets from only
elessair 0:f269e3021894 1910 one pbuf to help MACs that don't support scatter-gather DMA.
elessair 0:f269e3021894 1911
elessair 0:f269e3021894 1912 2009-05-09 Simon Goldschmidt
elessair 0:f269e3021894 1913 * icmp.h, icmp.c: Shrinked ICMP code, added option to NOT check icoming
elessair 0:f269e3021894 1914 ECHO pbuf for size (just use it): LWIP_ICMP_ECHO_CHECK_INPUT_PBUF_LEN
elessair 0:f269e3021894 1915
elessair 0:f269e3021894 1916 2009-05-05 Simon Goldschmidt, Jakob Stoklund Olesen
elessair 0:f269e3021894 1917 * ip.h, ip.c: Added ip_current_netif() & ip_current_header() to receive
elessair 0:f269e3021894 1918 extended info about the currently received packet.
elessair 0:f269e3021894 1919
elessair 0:f269e3021894 1920 2009-04-27 Simon Goldschmidt
elessair 0:f269e3021894 1921 * sys.h: Made SYS_LIGHTWEIGHT_PROT and sys_now() work with NO_SYS=1
elessair 0:f269e3021894 1922
elessair 0:f269e3021894 1923 2009-04-25 Simon Goldschmidt
elessair 0:f269e3021894 1924 * mem.c, opt.h: Added option MEM_USE_POOLS_TRY_BIGGER_POOL to try the next
elessair 0:f269e3021894 1925 bigger malloc pool if one is empty (only usable with MEM_USE_POOLS).
elessair 0:f269e3021894 1926
elessair 0:f269e3021894 1927 2009-04-21 Simon Goldschmidt
elessair 0:f269e3021894 1928 * dns.c, init.c, dns.h, opt.h: task #7507, patch #6786: DNS supports static
elessair 0:f269e3021894 1929 hosts table. New configuration options DNS_LOCAL_HOSTLIST and
elessair 0:f269e3021894 1930 DNS_LOCAL_HOSTLIST_IS_DYNAMIC. Also, DNS_LOOKUP_LOCAL_EXTERN() can be defined
elessair 0:f269e3021894 1931 as an external function for lookup.
elessair 0:f269e3021894 1932
elessair 0:f269e3021894 1933 2009-04-15 Simon Goldschmidt
elessair 0:f269e3021894 1934 * dhcp.c: patch #6763: Global DHCP XID can be redefined to something more unique
elessair 0:f269e3021894 1935
elessair 0:f269e3021894 1936 2009-03-31 Kieran Mansley
elessair 0:f269e3021894 1937 * tcp.c, tcp_out.c, tcp_in.c, sys.h, tcp.h, opts.h: add support for
elessair 0:f269e3021894 1938 TCP timestamp options, off by default. Rework tcp_enqueue() to
elessair 0:f269e3021894 1939 take option flags rather than specified option data
elessair 0:f269e3021894 1940
elessair 0:f269e3021894 1941 2009-02-18 Simon Goldschmidt
elessair 0:f269e3021894 1942 * cc.h: Added printf formatter for size_t: SZT_F
elessair 0:f269e3021894 1943
elessair 0:f269e3021894 1944 2009-02-16 Simon Goldschmidt (patch by Rishi Khan)
elessair 0:f269e3021894 1945 * icmp.c, opt.h: patch #6539: (configurable) response to broadcast- and multicast
elessair 0:f269e3021894 1946 pings
elessair 0:f269e3021894 1947
elessair 0:f269e3021894 1948 2009-02-12 Simon Goldschmidt
elessair 0:f269e3021894 1949 * init.h: Added LWIP_VERSION to get the current version of the stack
elessair 0:f269e3021894 1950
elessair 0:f269e3021894 1951 2009-02-11 Simon Goldschmidt (suggested by Gottfried Spitaler)
elessair 0:f269e3021894 1952 * opt.h, memp.h/.c: added MEMP_MEM_MALLOC to use mem_malloc/mem_free instead
elessair 0:f269e3021894 1953 of the pool allocator (can save code size with MEM_LIBC_MALLOC if libc-malloc
elessair 0:f269e3021894 1954 is otherwise used)
elessair 0:f269e3021894 1955
elessair 0:f269e3021894 1956 2009-01-28 Jonathan Larmour (suggested by Bill Bauerbach)
elessair 0:f269e3021894 1957 * ipv4/inet_chksum.c, ipv4/lwip/inet_chksum.h: inet_chksum_pseudo_partial()
elessair 0:f269e3021894 1958 is only used by UDPLITE at present, so conditionalise it.
elessair 0:f269e3021894 1959
elessair 0:f269e3021894 1960 2008-12-03 Simon Goldschmidt (base on patch from Luca Ceresoli)
elessair 0:f269e3021894 1961 * autoip.c: checked in (slightly modified) patch #6683: Customizable AUTOIP
elessair 0:f269e3021894 1962 "seed" address. This should reduce AUTOIP conflicts if
elessair 0:f269e3021894 1963 LWIP_AUTOIP_CREATE_SEED_ADDR is overridden.
elessair 0:f269e3021894 1964
elessair 0:f269e3021894 1965 2008-10-02 Jonathan Larmour and Rishi Khan
elessair 0:f269e3021894 1966 * sockets.c (lwip_accept): Return EWOULDBLOCK if would block on non-blocking
elessair 0:f269e3021894 1967 socket.
elessair 0:f269e3021894 1968
elessair 0:f269e3021894 1969 2008-06-30 Simon Goldschmidt
elessair 0:f269e3021894 1970 * mem.c, opt.h, stats.h: fixed bug #21433: Calling mem_free/pbuf_free from
elessair 0:f269e3021894 1971 interrupt context isn't safe: LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT allows
elessair 0:f269e3021894 1972 mem_free to run between mem_malloc iterations. Added illegal counter for
elessair 0:f269e3021894 1973 mem stats.
elessair 0:f269e3021894 1974
elessair 0:f269e3021894 1975 2008-06-27 Simon Goldschmidt
elessair 0:f269e3021894 1976 * stats.h/.c, some other files: patch #6483: stats module improvement:
elessair 0:f269e3021894 1977 Added defines to display each module's statistic individually, added stats
elessair 0:f269e3021894 1978 defines for MEM, MEMP and SYS modules, removed (unused) rexmit counter.
elessair 0:f269e3021894 1979
elessair 0:f269e3021894 1980 2008-06-17 Simon Goldschmidt
elessair 0:f269e3021894 1981 * err.h: patch #6459: Made err_t overridable to use a more efficient type
elessair 0:f269e3021894 1982 (define LWIP_ERR_T in cc.h)
elessair 0:f269e3021894 1983
elessair 0:f269e3021894 1984 2008-06-17 Simon Goldschmidt
elessair 0:f269e3021894 1985 * slipif.c: patch #6480: Added a configuration option for slipif for symmetry
elessair 0:f269e3021894 1986 to loopif
elessair 0:f269e3021894 1987
elessair 0:f269e3021894 1988 2008-06-17 Simon Goldschmidt (patch by Luca Ceresoli)
elessair 0:f269e3021894 1989 * netif.c, loopif.c, ip.c, netif.h, loopif.h, opt.h: Checked in slightly
elessair 0:f269e3021894 1990 modified version of patch # 6370: Moved loopif code to netif.c so that
elessair 0:f269e3021894 1991 loopback traffic is supported on all netifs (all local IPs).
elessair 0:f269e3021894 1992 Added option to limit loopback packets for each netifs.
elessair 0:f269e3021894 1993
elessair 0:f269e3021894 1994
elessair 0:f269e3021894 1995 ++ Bugfixes:
elessair 0:f269e3021894 1996 2009-08-12 Kieran Mansley
elessair 0:f269e3021894 1997 * tcp_in.c, tcp.c: Fix bug #27209: handle trimming of segments when
elessair 0:f269e3021894 1998 out of window or out of order properly
elessair 0:f269e3021894 1999
elessair 0:f269e3021894 2000 2009-08-12 Kieran Mansley
elessair 0:f269e3021894 2001 * tcp_in.c: Fix bug #27199: use snd_wl2 instead of snd_wl1
elessair 0:f269e3021894 2002
elessair 0:f269e3021894 2003 2009-07-28 Simon Goldschmidt
elessair 0:f269e3021894 2004 * mem.h: Fixed bug #27105: "realloc() cannot replace mem_realloc()"s
elessair 0:f269e3021894 2005
elessair 0:f269e3021894 2006 2009-07-27 Kieran Mansley
elessair 0:f269e3021894 2007 * api.h api_msg.h netdb.h sockets.h: add missing #include directives
elessair 0:f269e3021894 2008
elessair 0:f269e3021894 2009 2009-07-09 Kieran Mansley
elessair 0:f269e3021894 2010 * api_msg.c, sockets.c, api.h: BUG23240 use signed counters for
elessair 0:f269e3021894 2011 recv_avail and don't increment counters until message successfully
elessair 0:f269e3021894 2012 sent to mbox
elessair 0:f269e3021894 2013
elessair 0:f269e3021894 2014 2009-06-25 Kieran Mansley
elessair 0:f269e3021894 2015 * api_msg.c api.h: BUG26722: initialise netconn write variables
elessair 0:f269e3021894 2016 in netconn_alloc
elessair 0:f269e3021894 2017
elessair 0:f269e3021894 2018 2009-06-25 Kieran Mansley
elessair 0:f269e3021894 2019 * tcp.h: BUG26879: set ret value in TCP_EVENT macros when function is not set
elessair 0:f269e3021894 2020
elessair 0:f269e3021894 2021 2009-06-25 Kieran Mansley
elessair 0:f269e3021894 2022 * tcp.c, tcp_in.c, tcp_out.c, tcp.h: BUG26301 and BUG26267: correct
elessair 0:f269e3021894 2023 simultaneous close behaviour, and make snd_nxt have the same meaning
elessair 0:f269e3021894 2024 as in the RFCs.
elessair 0:f269e3021894 2025
elessair 0:f269e3021894 2026 2009-05-12 Simon Goldschmidt
elessair 0:f269e3021894 2027 * etharp.h, etharp.c, netif.c: fixed bug #26507: "Gratuitous ARP depends on
elessair 0:f269e3021894 2028 arp_table / uses etharp_query" by adding etharp_gratuitous()
elessair 0:f269e3021894 2029
elessair 0:f269e3021894 2030 2009-05-12 Simon Goldschmidt
elessair 0:f269e3021894 2031 * ip.h, ip.c, igmp.c: bug #26487: Added ip_output_if_opt that can add IP options
elessair 0:f269e3021894 2032 to the IP header (used by igmp_ip_output_if)
elessair 0:f269e3021894 2033
elessair 0:f269e3021894 2034 2009-05-06 Simon Goldschmidt
elessair 0:f269e3021894 2035 * inet_chksum.c: On little endian architectures, use LWIP_PLATFORM_HTONS (if
elessair 0:f269e3021894 2036 defined) for SWAP_BYTES_IN_WORD to speed up checksumming.
elessair 0:f269e3021894 2037
elessair 0:f269e3021894 2038 2009-05-05 Simon Goldschmidt
elessair 0:f269e3021894 2039 * sockets.c: bug #26405: Prematurely released semaphore causes lwip_select()
elessair 0:f269e3021894 2040 to crash
elessair 0:f269e3021894 2041
elessair 0:f269e3021894 2042 2009-05-04 Simon Goldschmidt
elessair 0:f269e3021894 2043 * init.c: snmp was not initialized in lwip_init()
elessair 0:f269e3021894 2044
elessair 0:f269e3021894 2045 2009-05-04 Frédéric Bernon
elessair 0:f269e3021894 2046 * dhcp.c, netbios.c: Changes if IP_SOF_BROADCAST is enabled.
elessair 0:f269e3021894 2047
elessair 0:f269e3021894 2048 2009-05-03 Simon Goldschmidt
elessair 0:f269e3021894 2049 * tcp.h: bug #26349: Nagle algorithm doesn't send although segment is full
elessair 0:f269e3021894 2050 (and unsent->next == NULL)
elessair 0:f269e3021894 2051
elessair 0:f269e3021894 2052 2009-05-02 Simon Goldschmidt
elessair 0:f269e3021894 2053 * tcpip.h, tcpip.c: fixed tcpip_untimeout (does not need the time, broken after
elessair 0:f269e3021894 2054 1.3.0 in CVS only) - fixes compilation of ppp_oe.c
elessair 0:f269e3021894 2055
elessair 0:f269e3021894 2056 2009-05-02 Simon Goldschmidt
elessair 0:f269e3021894 2057 * msg_in.c: fixed bug #25636: SNMPSET value is ignored for integer fields
elessair 0:f269e3021894 2058
elessair 0:f269e3021894 2059 2009-05-01 Simon Goldschmidt
elessair 0:f269e3021894 2060 * pap.c: bug #21680: PPP upap_rauthnak() drops legal NAK packets
elessair 0:f269e3021894 2061
elessair 0:f269e3021894 2062 2009-05-01 Simon Goldschmidt
elessair 0:f269e3021894 2063 * ppp.c: bug #24228: Memory corruption with PPP and DHCP
elessair 0:f269e3021894 2064
elessair 0:f269e3021894 2065 2009-04-29 Frédéric Bernon
elessair 0:f269e3021894 2066 * raw.c, udp.c, init.c, opt.h, ip.h, sockets.h: bug #26309: Implement the
elessair 0:f269e3021894 2067 SO(F)_BROADCAST filter for all API layers. Avoid the unindented reception
elessair 0:f269e3021894 2068 of broadcast packets even when this option wasn't set. Port maintainers
elessair 0:f269e3021894 2069 which want to enable this filter have to set IP_SOF_BROADCAST=1 in opt.h.
elessair 0:f269e3021894 2070 If you want this option also filter broadcast on recv operations, you also
elessair 0:f269e3021894 2071 have to set IP_SOF_BROADCAST_RECV=1 in opt.h.
elessair 0:f269e3021894 2072
elessair 0:f269e3021894 2073 2009-04-28 Simon Goldschmidt, Jakob Stoklund Olesen
elessair 0:f269e3021894 2074 * dhcp.c: patch #6721, bugs #25575, #25576: Some small fixes to DHCP and
elessair 0:f269e3021894 2075 DHCP/AUTOIP cooperation
elessair 0:f269e3021894 2076
elessair 0:f269e3021894 2077 2009-04-25 Simon Goldschmidt, Oleg Tyshev
elessair 0:f269e3021894 2078 * tcp_out.c: bug #24212: Deadlocked tcp_retransmit due to exceeded pcb->cwnd
elessair 0:f269e3021894 2079 Fixed by sorting the unsent and unacked queues (segments are inserted at the
elessair 0:f269e3021894 2080 right place in tcp_output and tcp_rexmit).
elessair 0:f269e3021894 2081
elessair 0:f269e3021894 2082 2009-04-25 Simon Goldschmidt
elessair 0:f269e3021894 2083 * memp.c, mem.c, memp.h, mem_std.h: bug #26213 "Problem with memory allocation
elessair 0:f269e3021894 2084 when debugging": memp_sizes contained the wrong sizes (including sanity
elessair 0:f269e3021894 2085 regions); memp pools for MEM_USE_POOLS were too small
elessair 0:f269e3021894 2086
elessair 0:f269e3021894 2087 2009-04-24 Simon Goldschmidt, Frédéric Bernon
elessair 0:f269e3021894 2088 * inet.c: patch #6765: Fix a small problem with the last changes (incorrect
elessair 0:f269e3021894 2089 behavior, with with ip address string not ended by a '\0', a space or a
elessair 0:f269e3021894 2090 end of line)
elessair 0:f269e3021894 2091
elessair 0:f269e3021894 2092 2009-04-19 Simon Goldschmidt
elessair 0:f269e3021894 2093 * rawapi.txt: Fixed bug #26069: Corrected documentation: if tcp_connect fails,
elessair 0:f269e3021894 2094 pcb->err is called, not pcb->connected (with an error code).
elessair 0:f269e3021894 2095
elessair 0:f269e3021894 2096 2009-04-19 Simon Goldschmidt
elessair 0:f269e3021894 2097 * tcp_out.c: Fixed bug #26236: "TCP options (timestamp) don't work with
elessair 0:f269e3021894 2098 no-copy-tcpwrite": deallocate option data, only concat segments with same flags
elessair 0:f269e3021894 2099
elessair 0:f269e3021894 2100 2009-04-19 Simon Goldschmidt
elessair 0:f269e3021894 2101 * tcp_out.c: Fixed bug #25094: "Zero-length pbuf" (options are now allocated
elessair 0:f269e3021894 2102 in the header pbuf, not the data pbuf)
elessair 0:f269e3021894 2103
elessair 0:f269e3021894 2104 2009-04-18 Simon Goldschmidt
elessair 0:f269e3021894 2105 * api_msg.c: fixed bug #25695: Segmentation fault in do_writemore()
elessair 0:f269e3021894 2106
elessair 0:f269e3021894 2107 2009-04-15 Simon Goldschmidt
elessair 0:f269e3021894 2108 * sockets.c: tried to fix bug #23559: lwip_recvfrom problem with tcp
elessair 0:f269e3021894 2109
elessair 0:f269e3021894 2110 2009-04-15 Simon Goldschmidt
elessair 0:f269e3021894 2111 * dhcp.c: task #9192: mem_free of dhcp->options_in and dhcp->msg_in
elessair 0:f269e3021894 2112
elessair 0:f269e3021894 2113 2009-04-15 Simon Goldschmidt
elessair 0:f269e3021894 2114 * ip.c, ip6.c, tcp_out.c, ip.h: patch #6808: Add a utility function
elessair 0:f269e3021894 2115 ip_hinted_output() (for smaller code mainly)
elessair 0:f269e3021894 2116
elessair 0:f269e3021894 2117 2009-04-15 Simon Goldschmidt
elessair 0:f269e3021894 2118 * inet.c: patch #6765: Supporting new line characters in inet_aton()
elessair 0:f269e3021894 2119
elessair 0:f269e3021894 2120 2009-04-15 Simon Goldschmidt
elessair 0:f269e3021894 2121 * dhcp.c: patch #6764: DHCP rebind and renew did not send hostnam option;
elessair 0:f269e3021894 2122 Converted constant OPTION_MAX_MSG_SIZE to netif->mtu, check if netif->mtu
elessair 0:f269e3021894 2123 is big enough in dhcp_start
elessair 0:f269e3021894 2124
elessair 0:f269e3021894 2125 2009-04-15 Simon Goldschmidt
elessair 0:f269e3021894 2126 * netbuf.c: bug #26027: netbuf_chain resulted in pbuf memory leak
elessair 0:f269e3021894 2127
elessair 0:f269e3021894 2128 2009-04-15 Simon Goldschmidt
elessair 0:f269e3021894 2129 * sockets.c, ppp.c: bug #25763: corrected 4 occurrences of SMEMCPY to MEMCPY
elessair 0:f269e3021894 2130
elessair 0:f269e3021894 2131 2009-04-15 Simon Goldschmidt
elessair 0:f269e3021894 2132 * sockets.c: bug #26121: set_errno can be overridden
elessair 0:f269e3021894 2133
elessair 0:f269e3021894 2134 2009-04-09 Kieran Mansley (patch from Luca Ceresoli <lucaceresoli>)
elessair 0:f269e3021894 2135 * init.c, opt.h: Patch#6774 TCP_QUEUE_OOSEQ breaks compilation when
elessair 0:f269e3021894 2136 LWIP_TCP==0
elessair 0:f269e3021894 2137
elessair 0:f269e3021894 2138 2009-04-09 Kieran Mansley (patch from Roy Lee <roylee17>)
elessair 0:f269e3021894 2139 * tcp.h: Patch#6802 Add do-while-clauses to those function like
elessair 0:f269e3021894 2140 macros in tcp.h
elessair 0:f269e3021894 2141
elessair 0:f269e3021894 2142 2009-03-31 Kieran Mansley
elessair 0:f269e3021894 2143 * tcp.c, tcp_in.c, tcp_out.c, tcp.h, opt.h: Rework the way window
elessair 0:f269e3021894 2144 updates are calculated and sent (BUG20515)
elessair 0:f269e3021894 2145
elessair 0:f269e3021894 2146 * tcp_in.c: cope with SYN packets received during established states,
elessair 0:f269e3021894 2147 and retransmission of initial SYN.
elessair 0:f269e3021894 2148
elessair 0:f269e3021894 2149 * tcp_out.c: set push bit correctly when tcp segments are merged
elessair 0:f269e3021894 2150
elessair 0:f269e3021894 2151 2009-03-27 Kieran Mansley
elessair 0:f269e3021894 2152 * tcp_out.c set window correctly on probes (correcting change made
elessair 0:f269e3021894 2153 yesterday)
elessair 0:f269e3021894 2154
elessair 0:f269e3021894 2155 2009-03-26 Kieran Mansley
elessair 0:f269e3021894 2156 * tcp.c, tcp_in.c, tcp.h: add tcp_abandon() to cope with dropping
elessair 0:f269e3021894 2157 connections where no reset required (bug #25622)
elessair 0:f269e3021894 2158
elessair 0:f269e3021894 2159 * tcp_out.c: set TCP_ACK flag on keepalive and zero window probes
elessair 0:f269e3021894 2160 (bug #20779)
elessair 0:f269e3021894 2161
elessair 0:f269e3021894 2162 2009-02-18 Simon Goldschmidt (Jonathan Larmour and Bill Auerbach)
elessair 0:f269e3021894 2163 * ip_frag.c: patch #6528: the buffer used for IP_FRAG_USES_STATIC_BUF could be
elessair 0:f269e3021894 2164 too small depending on MEM_ALIGNMENT
elessair 0:f269e3021894 2165
elessair 0:f269e3021894 2166 2009-02-16 Simon Goldschmidt
elessair 0:f269e3021894 2167 * sockets.h/.c, api_*.h/.c: fixed arguments of socket functions to match the standard;
elessair 0:f269e3021894 2168 converted size argument of netconn_write to 'size_t'
elessair 0:f269e3021894 2169
elessair 0:f269e3021894 2170 2009-02-16 Simon Goldschmidt
elessair 0:f269e3021894 2171 * tcp.h, tcp.c: fixed bug #24440: TCP connection close problem on 64-bit host
elessair 0:f269e3021894 2172 by moving accept callback function pointer to TCP_PCB_COMMON
elessair 0:f269e3021894 2173
elessair 0:f269e3021894 2174 2009-02-12 Simon Goldschmidt
elessair 0:f269e3021894 2175 * dhcp.c: fixed bug #25345 (DHCPDECLINE is sent with "Maximum message size"
elessair 0:f269e3021894 2176 option)
elessair 0:f269e3021894 2177
elessair 0:f269e3021894 2178 2009-02-11 Simon Goldschmidt
elessair 0:f269e3021894 2179 * dhcp.c: fixed bug #24480 (releasing old udp_pdb and pbuf in dhcp_start)
elessair 0:f269e3021894 2180
elessair 0:f269e3021894 2181 2009-02-11 Simon Goldschmidt
elessair 0:f269e3021894 2182 * opt.h, api_msg.c: added configurable default valud for netconn->recv_bufsize:
elessair 0:f269e3021894 2183 RECV_BUFSIZE_DEFAULT (fixes bug #23726: pbuf pool exhaustion on slow recv())
elessair 0:f269e3021894 2184
elessair 0:f269e3021894 2185 2009-02-10 Simon Goldschmidt
elessair 0:f269e3021894 2186 * tcp.c: fixed bug #25467: Listen backlog is not reset on timeout in SYN_RCVD:
elessair 0:f269e3021894 2187 Accepts_pending is decrease on a corresponding listen pcb when a connection
elessair 0:f269e3021894 2188 in state SYN_RCVD is close.
elessair 0:f269e3021894 2189
elessair 0:f269e3021894 2190 2009-01-28 Jonathan Larmour
elessair 0:f269e3021894 2191 * pbuf.c: reclaim pbufs from TCP out-of-sequence segments if we run
elessair 0:f269e3021894 2192 out of pool pbufs.
elessair 0:f269e3021894 2193
elessair 0:f269e3021894 2194 2008-12-19 Simon Goldschmidt
elessair 0:f269e3021894 2195 * many files: patch #6699: fixed some warnings on platform where sizeof(int) == 2
elessair 0:f269e3021894 2196
elessair 0:f269e3021894 2197 2008-12-10 Tamas Somogyi, Frédéric Bernon
elessair 0:f269e3021894 2198 * sockets.c: fixed bug #25051: lwip_recvfrom problem with udp: fromaddr and
elessair 0:f269e3021894 2199 port uses deleted netbuf.
elessair 0:f269e3021894 2200
elessair 0:f269e3021894 2201 2008-10-18 Simon Goldschmidt
elessair 0:f269e3021894 2202 * tcp_in.c: fixed bug ##24596: Vulnerability on faulty TCP options length
elessair 0:f269e3021894 2203 in tcp_parseopt
elessair 0:f269e3021894 2204
elessair 0:f269e3021894 2205 2008-10-15 Simon Goldschmidt
elessair 0:f269e3021894 2206 * ip_frag.c: fixed bug #24517: IP reassembly crashes on unaligned IP headers
elessair 0:f269e3021894 2207 by packing the struct ip_reass_helper.
elessair 0:f269e3021894 2208
elessair 0:f269e3021894 2209 2008-10-03 David Woodhouse, Jonathan Larmour
elessair 0:f269e3021894 2210 * etharp.c (etharp_arp_input): Fix type aliasing problem copying ip address.
elessair 0:f269e3021894 2211
elessair 0:f269e3021894 2212 2008-10-02 Jonathan Larmour
elessair 0:f269e3021894 2213 * dns.c: Hard-code structure sizes, to avoid issues on some compilers where
elessair 0:f269e3021894 2214 padding is included.
elessair 0:f269e3021894 2215
elessair 0:f269e3021894 2216 2008-09-30 Jonathan Larmour
elessair 0:f269e3021894 2217 * sockets.c (lwip_accept): check addr isn't NULL. If it's valid, do an
elessair 0:f269e3021894 2218 assertion check that addrlen isn't NULL.
elessair 0:f269e3021894 2219
elessair 0:f269e3021894 2220 2008-09-30 Jonathan Larmour
elessair 0:f269e3021894 2221 * tcp.c: Fix bug #24227, wrong error message in tcp_bind.
elessair 0:f269e3021894 2222
elessair 0:f269e3021894 2223 2008-08-26 Simon Goldschmidt
elessair 0:f269e3021894 2224 * inet.h, ip_addr.h: fixed bug #24132: Cross-dependency between ip_addr.h and
elessair 0:f269e3021894 2225 inet.h -> moved declaration of struct in_addr from ip_addr.h to inet.h
elessair 0:f269e3021894 2226
elessair 0:f269e3021894 2227 2008-08-14 Simon Goldschmidt
elessair 0:f269e3021894 2228 * api_msg.c: fixed bug #23847: do_close_internal references freed memory (when
elessair 0:f269e3021894 2229 tcp_close returns != ERR_OK)
elessair 0:f269e3021894 2230
elessair 0:f269e3021894 2231 2008-07-08 Frédéric Bernon
elessair 0:f269e3021894 2232 * stats.h: Fix some build bugs introduced with patch #6483 (missing some parameters
elessair 0:f269e3021894 2233 in macros, mainly if MEM_STATS=0 and MEMP_STATS=0).
elessair 0:f269e3021894 2234
elessair 0:f269e3021894 2235 2008-06-24 Jonathan Larmour
elessair 0:f269e3021894 2236 * tcp_in.c: Fix for bug #23693 as suggested by Art R. Ensure cseg is unused
elessair 0:f269e3021894 2237 if tcp_seg_copy fails.
elessair 0:f269e3021894 2238
elessair 0:f269e3021894 2239 2008-06-17 Simon Goldschmidt
elessair 0:f269e3021894 2240 * inet_chksum.c: Checked in some ideas of patch #6460 (loop optimizations)
elessair 0:f269e3021894 2241 and created defines for swapping bytes and folding u32 to u16.
elessair 0:f269e3021894 2242
elessair 0:f269e3021894 2243 2008-05-30 Kieran Mansley
elessair 0:f269e3021894 2244 * tcp_in.c Remove redundant "if" statement, and use real rcv_wnd
elessair 0:f269e3021894 2245 rather than rcv_ann_wnd when deciding if packets are in-window.
elessair 0:f269e3021894 2246 Contributed by <arasmussen@consultant.datasys.swri.edu>
elessair 0:f269e3021894 2247
elessair 0:f269e3021894 2248 2008-05-30 Kieran Mansley
elessair 0:f269e3021894 2249 * mem.h: Fix BUG#23254. Change macro definition of mem_* to allow
elessair 0:f269e3021894 2250 passing as function pointers when MEM_LIBC_MALLOC is defined.
elessair 0:f269e3021894 2251
elessair 0:f269e3021894 2252 2008-05-09 Jonathan Larmour
elessair 0:f269e3021894 2253 * err.h, err.c, sockets.c: Fix bug #23119: Reorder timeout error code to
elessair 0:f269e3021894 2254 stop it being treated as a fatal error.
elessair 0:f269e3021894 2255
elessair 0:f269e3021894 2256 2008-04-15 Simon Goldschmidt
elessair 0:f269e3021894 2257 * dhcp.c: fixed bug #22804: dhcp_stop doesn't clear NETIF_FLAG_DHCP
elessair 0:f269e3021894 2258 (flag now cleared)
elessair 0:f269e3021894 2259
elessair 0:f269e3021894 2260 2008-03-27 Simon Goldschmidt
elessair 0:f269e3021894 2261 * mem.c, tcpip.c, tcpip.h, opt.h: fixed bug #21433 (Calling mem_free/pbuf_free
elessair 0:f269e3021894 2262 from interrupt context isn't safe): set LWIP_USE_HEAP_FROM_INTERRUPT to 1
elessair 0:f269e3021894 2263 in lwipopts.h or use pbuf_free_callback(p)/mem_free_callback(m) to free pbufs
elessair 0:f269e3021894 2264 or heap memory from interrupt context
elessair 0:f269e3021894 2265
elessair 0:f269e3021894 2266 2008-03-26 Simon Goldschmidt
elessair 0:f269e3021894 2267 * tcp_in.c, tcp.c: fixed bug #22249: division by zero could occur if a remote
elessair 0:f269e3021894 2268 host sent a zero mss as TCP option.
elessair 0:f269e3021894 2269
elessair 0:f269e3021894 2270
elessair 0:f269e3021894 2271 (STABLE-1.3.0)
elessair 0:f269e3021894 2272
elessair 0:f269e3021894 2273 ++ New features:
elessair 0:f269e3021894 2274
elessair 0:f269e3021894 2275 2008-03-10 Jonathan Larmour
elessair 0:f269e3021894 2276 * inet_chksum.c: Allow choice of one of the sample algorithms to be
elessair 0:f269e3021894 2277 made from lwipopts.h. Fix comment on how to override LWIP_CHKSUM.
elessair 0:f269e3021894 2278
elessair 0:f269e3021894 2279 2008-01-22 Frédéric Bernon
elessair 0:f269e3021894 2280 * tcp.c, tcp_in.c, tcp.h, opt.h: Rename LWIP_CALCULATE_EFF_SEND_MSS in
elessair 0:f269e3021894 2281 TCP_CALCULATE_EFF_SEND_MSS to have coherent TCP options names.
elessair 0:f269e3021894 2282
elessair 0:f269e3021894 2283 2008-01-14 Frédéric Bernon
elessair 0:f269e3021894 2284 * rawapi.txt, api_msg.c, tcp.c, tcp_in.c, tcp.h: changes for task #7675 "Enable
elessair 0:f269e3021894 2285 to refuse data on a TCP_EVENT_RECV call". Important, behavior changes for the
elessair 0:f269e3021894 2286 tcp_recv callback (see rawapi.txt).
elessair 0:f269e3021894 2287
elessair 0:f269e3021894 2288 2008-01-14 Frédéric Bernon, Marc Chaland
elessair 0:f269e3021894 2289 * ip.c: Integrate patch #6369" ip_input : checking before realloc".
elessair 0:f269e3021894 2290
elessair 0:f269e3021894 2291 2008-01-12 Frédéric Bernon
elessair 0:f269e3021894 2292 * tcpip.h, tcpip.c, api.h, api_lib.c, api_msg.c, sockets.c: replace the field
elessair 0:f269e3021894 2293 netconn::sem per netconn::op_completed like suggested for the task #7490
elessair 0:f269e3021894 2294 "Add return value to sys_mbox_post".
elessair 0:f269e3021894 2295
elessair 0:f269e3021894 2296 2008-01-12 Frédéric Bernon
elessair 0:f269e3021894 2297 * api_msg.c, opt.h: replace DEFAULT_RECVMBOX_SIZE per DEFAULT_TCP_RECVMBOX_SIZE,
elessair 0:f269e3021894 2298 DEFAULT_UDP_RECVMBOX_SIZE and DEFAULT_RAW_RECVMBOX_SIZE (to optimize queues
elessair 0:f269e3021894 2299 sizes), like suggested for the task #7490 "Add return value to sys_mbox_post".
elessair 0:f269e3021894 2300
elessair 0:f269e3021894 2301 2008-01-10 Frédéric Bernon
elessair 0:f269e3021894 2302 * tcpip.h, tcpip.c: add tcpip_callback_with_block function for the task #7490
elessair 0:f269e3021894 2303 "Add return value to sys_mbox_post". tcpip_callback is always defined as
elessair 0:f269e3021894 2304 "blocking" ("block" parameter = 1).
elessair 0:f269e3021894 2305
elessair 0:f269e3021894 2306 2008-01-10 Frédéric Bernon
elessair 0:f269e3021894 2307 * tcpip.h, tcpip.c, api.h, api_lib.c, api_msg.c, sockets.c: replace the field
elessair 0:f269e3021894 2308 netconn::mbox (sys_mbox_t) per netconn::sem (sys_sem_t) for the task #7490
elessair 0:f269e3021894 2309 "Add return value to sys_mbox_post".
elessair 0:f269e3021894 2310
elessair 0:f269e3021894 2311 2008-01-05 Frédéric Bernon
elessair 0:f269e3021894 2312 * sys_arch.txt, api.h, api_lib.c, api_msg.h, api_msg.c, tcpip.c, sys.h, opt.h:
elessair 0:f269e3021894 2313 Introduce changes for task #7490 "Add return value to sys_mbox_post" with some
elessair 0:f269e3021894 2314 modifications in the sys_mbox api: sys_mbox_new take a "size" parameters which
elessair 0:f269e3021894 2315 indicate the number of pointers query by the mailbox. There is three defines
elessair 0:f269e3021894 2316 in opt.h to indicate sizes for tcpip::mbox, netconn::recvmbox, and for the
elessair 0:f269e3021894 2317 netconn::acceptmbox. Port maintainers, you can decide to just add this new
elessair 0:f269e3021894 2318 parameter in your implementation, but to ignore it to keep the previous behavior.
elessair 0:f269e3021894 2319 The new sys_mbox_trypost function return a value to know if the mailbox is
elessair 0:f269e3021894 2320 full or if the message is posted. Take a look to sys_arch.txt for more details.
elessair 0:f269e3021894 2321 This new function is used in tcpip_input (so, can be called in an interrupt
elessair 0:f269e3021894 2322 context since the function is not blocking), and in recv_udp and recv_raw.
elessair 0:f269e3021894 2323
elessair 0:f269e3021894 2324 2008-01-04 Frédéric Bernon, Simon Goldschmidt, Jonathan Larmour
elessair 0:f269e3021894 2325 * rawapi.txt, api.h, api_lib.c, api_msg.h, api_msg.c, sockets.c, tcp.h, tcp.c,
elessair 0:f269e3021894 2326 tcp_in.c, init.c, opt.h: rename backlog options with TCP_ prefix, limit the
elessair 0:f269e3021894 2327 "backlog" parameter in an u8_t, 0 is interpreted as "smallest queue", add
elessair 0:f269e3021894 2328 documentation in the rawapi.txt file.
elessair 0:f269e3021894 2329
elessair 0:f269e3021894 2330 2007-12-31 Kieran Mansley (based on patch from Per-Henrik Lundbolm)
elessair 0:f269e3021894 2331 * tcp.c, tcp_in.c, tcp_out.c, tcp.h: Add TCP persist timer
elessair 0:f269e3021894 2332
elessair 0:f269e3021894 2333 2007-12-31 Frédéric Bernon, Luca Ceresoli
elessair 0:f269e3021894 2334 * autoip.c, etharp.c: ip_addr.h: Integrate patch #6348: "Broadcast ARP packets
elessair 0:f269e3021894 2335 in autoip". The change in etharp_raw could be removed, since all calls to
elessair 0:f269e3021894 2336 etharp_raw use ethbroadcast for the "ethdst_addr" parameter. But it could be
elessair 0:f269e3021894 2337 wrong in the future.
elessair 0:f269e3021894 2338
elessair 0:f269e3021894 2339 2007-12-30 Frédéric Bernon, Tom Evans
elessair 0:f269e3021894 2340 * ip.c: Fix bug #21846 "LwIP doesn't appear to perform any IP Source Address
elessair 0:f269e3021894 2341 Filtering" reported by Tom Evans.
elessair 0:f269e3021894 2342
elessair 0:f269e3021894 2343 2007-12-21 Frédéric Bernon, Simon Goldschmidt, Jonathan Larmour
elessair 0:f269e3021894 2344 * tcp.h, opt.h, api.h, api_msg.h, tcp.c, tcp_in.c, api_lib.c, api_msg.c,
elessair 0:f269e3021894 2345 sockets.c, init.c: task #7252: Implement TCP listen backlog: Warning: raw API
elessair 0:f269e3021894 2346 applications have to call 'tcp_accepted(pcb)' in their accept callback to
elessair 0:f269e3021894 2347 keep accepting new connections.
elessair 0:f269e3021894 2348
elessair 0:f269e3021894 2349 2007-12-13 Frédéric Bernon
elessair 0:f269e3021894 2350 * api_msg.c, err.h, err.c, sockets.c, dns.c, dns.h: replace "enum dns_result"
elessair 0:f269e3021894 2351 by err_t type. Add a new err_t code "ERR_INPROGRESS".
elessair 0:f269e3021894 2352
elessair 0:f269e3021894 2353 2007-12-12 Frédéric Bernon
elessair 0:f269e3021894 2354 * dns.h, dns.c, opt.h: move DNS options to the "right" place. Most visibles
elessair 0:f269e3021894 2355 are the one which have ram usage.
elessair 0:f269e3021894 2356
elessair 0:f269e3021894 2357 2007-12-05 Frédéric Bernon
elessair 0:f269e3021894 2358 * netdb.c: add a LWIP_DNS_API_HOSTENT_STORAGE option to decide to use a static
elessair 0:f269e3021894 2359 set of variables (=0) or a local one (=1). In this last case, your port should
elessair 0:f269e3021894 2360 provide a function "struct hostent* sys_thread_hostent( struct hostent* h)"
elessair 0:f269e3021894 2361 which have to do a copy of "h" and return a pointer ont the "per-thread" copy.
elessair 0:f269e3021894 2362
elessair 0:f269e3021894 2363 2007-12-03 Simon Goldschmidt
elessair 0:f269e3021894 2364 * ip.c: ip_input: check if a packet is for inp first before checking all other
elessair 0:f269e3021894 2365 netifs on netif_list (speeds up packet receiving in most cases)
elessair 0:f269e3021894 2366
elessair 0:f269e3021894 2367 2007-11-30 Simon Goldschmidt
elessair 0:f269e3021894 2368 * udp.c, raw.c: task #7497: Sort lists (pcb, netif, ...) for faster access
elessair 0:f269e3021894 2369 UDP: move a (connected) pcb selected for input to the front of the list of
elessair 0:f269e3021894 2370 pcbs so that it is found faster next time. Same for RAW pcbs that have eaten
elessair 0:f269e3021894 2371 a packet.
elessair 0:f269e3021894 2372
elessair 0:f269e3021894 2373 2007-11-28 Simon Goldschmidt
elessair 0:f269e3021894 2374 * etharp.c, stats.c, stats.h, opt.h: Introduced ETHARP_STATS
elessair 0:f269e3021894 2375
elessair 0:f269e3021894 2376 2007-11-25 Simon Goldschmidt
elessair 0:f269e3021894 2377 * dhcp.c: dhcp_unfold_reply() uses pbuf_copy_partial instead of its own copy
elessair 0:f269e3021894 2378 algorithm.
elessair 0:f269e3021894 2379
elessair 0:f269e3021894 2380 2007-11-24 Simon Goldschmidt
elessair 0:f269e3021894 2381 * netdb.h, netdb.c, sockets.h/.c: Moved lwip_gethostbyname from sockets.c
elessair 0:f269e3021894 2382 to the new file netdb.c; included lwip_getaddrinfo.
elessair 0:f269e3021894 2383
elessair 0:f269e3021894 2384 2007-11-21 Simon Goldschmidt
elessair 0:f269e3021894 2385 * tcp.h, opt.h, tcp.c, tcp_in.c: implemented calculating the effective send-mss
elessair 0:f269e3021894 2386 based on the MTU of the netif used to send. Enabled by default. Disable by
elessair 0:f269e3021894 2387 setting LWIP_CALCULATE_EFF_SEND_MSS to 0. This fixes bug #21492.
elessair 0:f269e3021894 2388
elessair 0:f269e3021894 2389 2007-11-19 Frédéric Bernon
elessair 0:f269e3021894 2390 * api_msg.c, dns.h, dns.c: Implement DNS_DOES_NAME_CHECK option (check if name
elessair 0:f269e3021894 2391 received match the name query), implement DNS_USES_STATIC_BUF (the place where
elessair 0:f269e3021894 2392 copy dns payload to parse the response), return an error if there is no place
elessair 0:f269e3021894 2393 for a new query, and fix some minor problems.
elessair 0:f269e3021894 2394
elessair 0:f269e3021894 2395 2007-11-16 Simon Goldschmidt
elessair 0:f269e3021894 2396 * new files: ipv4/inet.c, ipv4/inet_chksum.c, ipv6/inet6.c
elessair 0:f269e3021894 2397 removed files: core/inet.c, core/inet6.c
elessair 0:f269e3021894 2398 Moved inet files into ipv4/ipv6 directory; splitted inet.c/inet.h into
elessair 0:f269e3021894 2399 inet and chksum part; changed includes in all lwIP files as appropriate
elessair 0:f269e3021894 2400
elessair 0:f269e3021894 2401 2007-11-16 Simon Goldschmidt
elessair 0:f269e3021894 2402 * api.h, api_msg.h, api_lib.c, api_msg.c, socket.h, socket.c: Added sequential
elessair 0:f269e3021894 2403 dns resolver function for netconn api (netconn_gethostbyname) and socket api
elessair 0:f269e3021894 2404 (gethostbyname/gethostbyname_r).
elessair 0:f269e3021894 2405
elessair 0:f269e3021894 2406 2007-11-15 Jim Pettinato, Frédéric Bernon
elessair 0:f269e3021894 2407 * opt.h, init.c, tcpip.c, dhcp.c, dns.h, dns.c: add DNS client for simple name
elessair 0:f269e3021894 2408 requests with RAW api interface. Initialization is done in lwip_init() with
elessair 0:f269e3021894 2409 build time options. DNS timer is added in tcpip_thread context. DHCP can set
elessair 0:f269e3021894 2410 DNS server ip addresses when options are received. You need to set LWIP_DNS=1
elessair 0:f269e3021894 2411 in your lwipopts.h file (LWIP_DNS=0 in opt.h). DNS_DEBUG can be set to get
elessair 0:f269e3021894 2412 some traces with LWIP_DEBUGF. Sanity check have been added. There is a "todo"
elessair 0:f269e3021894 2413 list with points to improve.
elessair 0:f269e3021894 2414
elessair 0:f269e3021894 2415 2007-11-06 Simon Goldschmidt
elessair 0:f269e3021894 2416 * opt.h, mib2.c: Patch #6215: added ifAdminStatus write support (if explicitly
elessair 0:f269e3021894 2417 enabled by defining SNMP_SAFE_REQUESTS to 0); added code to check link status
elessair 0:f269e3021894 2418 for ifOperStatus if LWIP_NETIF_LINK_CALLBACK is defined.
elessair 0:f269e3021894 2419
elessair 0:f269e3021894 2420 2007-11-06 Simon Goldschmidt
elessair 0:f269e3021894 2421 * api.h, api_msg.h and dependent files: Task #7410: Removed the need to include
elessair 0:f269e3021894 2422 core header files in api.h (ip/tcp/udp/raw.h) to hide the internal
elessair 0:f269e3021894 2423 implementation from netconn api applications.
elessair 0:f269e3021894 2424
elessair 0:f269e3021894 2425 2007-11-03 Frédéric Bernon
elessair 0:f269e3021894 2426 * api.h, api_lib.c, api_msg.c, sockets.c, opt.h: add SO_RCVBUF option for UDP &
elessair 0:f269e3021894 2427 RAW netconn. You need to set LWIP_SO_RCVBUF=1 in your lwipopts.h (it's disabled
elessair 0:f269e3021894 2428 by default). Netconn API users can use the netconn_recv_bufsize macro to access
elessair 0:f269e3021894 2429 it. This is a first release which have to be improve for TCP. Note it used the
elessair 0:f269e3021894 2430 netconn::recv_avail which need to be more "thread-safe" (note there is already
elessair 0:f269e3021894 2431 the problem for FIONREAD with lwip_ioctl/ioctlsocket).
elessair 0:f269e3021894 2432
elessair 0:f269e3021894 2433 2007-11-01 Frédéric Bernon, Marc Chaland
elessair 0:f269e3021894 2434 * sockets.h, sockets.c, api.h, api_lib.c, api_msg.h, api_msg.c, tcp.h, tcp_out.c:
elessair 0:f269e3021894 2435 Integrate "patch #6250 : MSG_MORE flag for send". MSG_MORE is used at socket api
elessair 0:f269e3021894 2436 layer, NETCONN_MORE at netconn api layer, and TCP_WRITE_FLAG_MORE at raw api
elessair 0:f269e3021894 2437 layer. This option enable to delayed TCP PUSH flag on multiple "write" calls.
elessair 0:f269e3021894 2438 Note that previous "copy" parameter for "write" APIs is now called "apiflags".
elessair 0:f269e3021894 2439
elessair 0:f269e3021894 2440 2007-10-24 Frédéric Bernon
elessair 0:f269e3021894 2441 * api.h, api_lib.c, api_msg.c: Add macro API_EVENT in the same spirit than
elessair 0:f269e3021894 2442 TCP_EVENT_xxx macros to get a code more readable. It could also help to remove
elessair 0:f269e3021894 2443 some code (like we have talk in "patch #5919 : Create compile switch to remove
elessair 0:f269e3021894 2444 select code"), but it could be done later.
elessair 0:f269e3021894 2445
elessair 0:f269e3021894 2446 2007-10-08 Simon Goldschmidt
elessair 0:f269e3021894 2447 * many files: Changed initialization: many init functions are not needed any
elessair 0:f269e3021894 2448 more since we now rely on the compiler initializing global and static
elessair 0:f269e3021894 2449 variables to zero!
elessair 0:f269e3021894 2450
elessair 0:f269e3021894 2451 2007-10-06 Simon Goldschmidt
elessair 0:f269e3021894 2452 * ip_frag.c, memp.c, mib2.c, ip_frag.h, memp_std.h, opt.h: Changed IP_REASSEMBLY
elessair 0:f269e3021894 2453 to enqueue the received pbufs so that multiple packets can be reassembled
elessair 0:f269e3021894 2454 simultaneously and no static reassembly buffer is needed.
elessair 0:f269e3021894 2455
elessair 0:f269e3021894 2456 2007-10-05 Simon Goldschmidt
elessair 0:f269e3021894 2457 * tcpip.c, etharp.h, etharp.c: moved ethernet_input from tcpip.c to etharp.c so
elessair 0:f269e3021894 2458 all netifs (or ports) can use it.
elessair 0:f269e3021894 2459
elessair 0:f269e3021894 2460 2007-10-05 Frédéric Bernon
elessair 0:f269e3021894 2461 * netifapi.h, netifapi.c: add function netifapi_netif_set_default. Change the
elessair 0:f269e3021894 2462 common function to reduce a little bit the footprint (for all functions using
elessair 0:f269e3021894 2463 only the "netif" parameter).
elessair 0:f269e3021894 2464
elessair 0:f269e3021894 2465 2007-10-03 Frédéric Bernon
elessair 0:f269e3021894 2466 * netifapi.h, netifapi.c: add functions netifapi_netif_set_up, netifapi_netif_set_down,
elessair 0:f269e3021894 2467 netifapi_autoip_start and netifapi_autoip_stop. Use a common function to reduce
elessair 0:f269e3021894 2468 a little bit the footprint (for all functions using only the "netif" parameter).
elessair 0:f269e3021894 2469
elessair 0:f269e3021894 2470 2007-09-15 Frédéric Bernon
elessair 0:f269e3021894 2471 * udp.h, udp.c, sockets.c: Changes for "#20503 IGMP Improvement". Add IP_MULTICAST_IF
elessair 0:f269e3021894 2472 option in socket API, and a new field "multicast_ip" in "struct udp_pcb" (for
elessair 0:f269e3021894 2473 netconn and raw API users), only if LWIP_IGMP=1. Add getsockopt processing for
elessair 0:f269e3021894 2474 IP_MULTICAST_TTL and IP_MULTICAST_IF.
elessair 0:f269e3021894 2475
elessair 0:f269e3021894 2476 2007-09-10 Frédéric Bernon
elessair 0:f269e3021894 2477 * snmp.h, mib2.c: enable to remove SNMP timer (which consumne several cycles
elessair 0:f269e3021894 2478 even when it's not necessary). snmp_agent.txt tell to call snmp_inc_sysuptime()
elessair 0:f269e3021894 2479 each 10ms (but, it's intrusive if you use sys_timeout feature). Now, you can
elessair 0:f269e3021894 2480 decide to call snmp_add_sysuptime(100) each 1000ms (which is bigger "step", but
elessair 0:f269e3021894 2481 call to a lower frequency). Or, you can decide to not call snmp_inc_sysuptime()
elessair 0:f269e3021894 2482 or snmp_add_sysuptime(), and to define the SNMP_GET_SYSUPTIME(sysuptime) macro.
elessair 0:f269e3021894 2483 This one is undefined by default in mib2.c. SNMP_GET_SYSUPTIME is called inside
elessair 0:f269e3021894 2484 snmp_get_sysuptime(u32_t *value), and enable to change "sysuptime" value only
elessair 0:f269e3021894 2485 when it's queried (any direct call to "sysuptime" is changed by a call to
elessair 0:f269e3021894 2486 snmp_get_sysuptime).
elessair 0:f269e3021894 2487
elessair 0:f269e3021894 2488 2007-09-09 Frédéric Bernon, Bill Florac
elessair 0:f269e3021894 2489 * igmp.h, igmp.c, netif.h, netif.c, ip.c: To enable to have interfaces with IGMP,
elessair 0:f269e3021894 2490 and others without it, there is a new NETIF_FLAG_IGMP flag to set in netif->flags
elessair 0:f269e3021894 2491 if you want IGMP on an interface. igmp_stop() is now called inside netif_remove().
elessair 0:f269e3021894 2492 igmp_report_groups() is now called inside netif_set_link_up() (need to have
elessair 0:f269e3021894 2493 LWIP_NETIF_LINK_CALLBACK=1) to resend reports once the link is up (avoid to wait
elessair 0:f269e3021894 2494 the next query message to receive the matching multicast streams).
elessair 0:f269e3021894 2495
elessair 0:f269e3021894 2496 2007-09-08 Frédéric Bernon
elessair 0:f269e3021894 2497 * sockets.c, ip.h, api.h, tcp.h: declare a "struct ip_pcb" which only contains
elessair 0:f269e3021894 2498 IP_PCB. Add in the netconn's "pcb" union a "struct ip_pcb *ip;" (no size change).
elessair 0:f269e3021894 2499 Use this new field to access to common pcb fields (ttl, tos, so_options, etc...).
elessair 0:f269e3021894 2500 Enable to access to these fields with LWIP_TCP=0.
elessair 0:f269e3021894 2501
elessair 0:f269e3021894 2502 2007-09-05 Frédéric Bernon
elessair 0:f269e3021894 2503 * udp.c, ipv4/icmp.c, ipv4/ip.c, ipv6/icmp.c, ipv6/ip6.c, ipv4/icmp.h,
elessair 0:f269e3021894 2504 ipv6/icmp.h, opt.h: Integrate "task #7272 : LWIP_ICMP option". The new option
elessair 0:f269e3021894 2505 LWIP_ICMP enable/disable ICMP module inside the IP stack (enable per default).
elessair 0:f269e3021894 2506 Be careful, disabling ICMP make your product non-compliant to RFC1122, but
elessair 0:f269e3021894 2507 help to reduce footprint, and to reduce "visibility" on the Internet.
elessair 0:f269e3021894 2508
elessair 0:f269e3021894 2509 2007-09-05 Frédéric Bernon, Bill Florac
elessair 0:f269e3021894 2510 * opt.h, sys.h, tcpip.c, slipif.c, ppp.c, sys_arch.txt: Change parameters list
elessair 0:f269e3021894 2511 for sys_thread_new (see "task #7252 : Create sys_thread_new_ex()"). Two new
elessair 0:f269e3021894 2512 parameters have to be provided: a task name, and a task stack size. For this
elessair 0:f269e3021894 2513 one, since it's platform dependant, you could define the best one for you in
elessair 0:f269e3021894 2514 your lwipopts.h. For port maintainers, you can just add these new parameters
elessair 0:f269e3021894 2515 in your sys_arch.c file, and but it's not mandatory, use them in your OS
elessair 0:f269e3021894 2516 specific functions.
elessair 0:f269e3021894 2517
elessair 0:f269e3021894 2518 2007-09-05 Frédéric Bernon
elessair 0:f269e3021894 2519 * inet.c, autoip.c, msg_in.c, msg_out.c, init.c: Move some build time checkings
elessair 0:f269e3021894 2520 inside init.c for task #7142 "Sanity check user-configurable values".
elessair 0:f269e3021894 2521
elessair 0:f269e3021894 2522 2007-09-04 Frédéric Bernon, Bill Florac
elessair 0:f269e3021894 2523 * igmp.h, igmp.c, memp_std.h, memp.c, init.c, opt.h: Replace mem_malloc call by
elessair 0:f269e3021894 2524 memp_malloc, and use a new MEMP_NUM_IGMP_GROUP option (see opt.h to define the
elessair 0:f269e3021894 2525 value). It will avoid potential fragmentation problems, use a counter to know
elessair 0:f269e3021894 2526 how many times a group is used on an netif, and free it when all applications
elessair 0:f269e3021894 2527 leave it. MEMP_NUM_IGMP_GROUP got 8 as default value (and init.c got a sanity
elessair 0:f269e3021894 2528 check if LWIP_IGMP!=0).
elessair 0:f269e3021894 2529
elessair 0:f269e3021894 2530 2007-09-03 Frédéric Bernon
elessair 0:f269e3021894 2531 * igmp.h, igmp.c, sockets.c, api_msg.c: Changes for "#20503 IGMP Improvement".
elessair 0:f269e3021894 2532 Initialize igmp_mac_filter to NULL in netif_add (this field should be set in
elessair 0:f269e3021894 2533 the netif's "init" function). Use the "imr_interface" field (for socket layer)
elessair 0:f269e3021894 2534 and/or the "interface" field (for netconn layer), for join/leave operations.
elessair 0:f269e3021894 2535 The igmp_join/leavegroup first parameter change from a netif to an ipaddr.
elessair 0:f269e3021894 2536 This field could be a netif's ipaddr, or "any" (same meaning than ip_addr_isany).
elessair 0:f269e3021894 2537
elessair 0:f269e3021894 2538 2007-08-30 Frédéric Bernon
elessair 0:f269e3021894 2539 * Add netbuf.h, netbuf.c, Change api.h, api_lib.c: #7249 "Split netbuf functions
elessair 0:f269e3021894 2540 from api/api_lib". Now netbuf API is independant of netconn, and can be used
elessair 0:f269e3021894 2541 with other API (application based on raw API, or future "socket2" API). Ports
elessair 0:f269e3021894 2542 maintainers just have to add src/api/netbuf.c in their makefile/projects.
elessair 0:f269e3021894 2543
elessair 0:f269e3021894 2544 2007-08-30 Frédéric Bernon, Jonathan Larmour
elessair 0:f269e3021894 2545 * init.c: Add first version of lwip_sanity_check for task #7142 "Sanity check
elessair 0:f269e3021894 2546 user-configurable values".
elessair 0:f269e3021894 2547
elessair 0:f269e3021894 2548 2007-08-29 Frédéric Bernon
elessair 0:f269e3021894 2549 * igmp.h, igmp.c, tcpip.c, init.c, netif.c: change igmp_init and add igmp_start.
elessair 0:f269e3021894 2550 igmp_start is call inside netif_add. Now, igmp initialization is in the same
elessair 0:f269e3021894 2551 spirit than the others modules. Modify some IGMP debug traces.
elessair 0:f269e3021894 2552
elessair 0:f269e3021894 2553 2007-08-29 Frédéric Bernon
elessair 0:f269e3021894 2554 * Add init.h, init.c, Change opt.h, tcpip.c: Task #7213 "Add a lwip_init function"
elessair 0:f269e3021894 2555 Add lwip_init function to regroup all modules initializations, and to provide
elessair 0:f269e3021894 2556 a place to add code for task #7142 "Sanity check user-configurable values".
elessair 0:f269e3021894 2557 Ports maintainers should remove direct initializations calls from their code,
elessair 0:f269e3021894 2558 and add init.c in their makefiles. Note that lwip_init() function is called
elessair 0:f269e3021894 2559 inside tcpip_init, but can also be used by raw api users since all calls are
elessair 0:f269e3021894 2560 disabled when matching options are disabled. Also note that their is new options
elessair 0:f269e3021894 2561 in opt.h, you should configure in your lwipopts.h (they are enabled per default).
elessair 0:f269e3021894 2562
elessair 0:f269e3021894 2563 2007-08-26 Marc Boucher
elessair 0:f269e3021894 2564 * api_msg.c: do_close_internal(): Reset the callbacks and arg (conn) to NULL
elessair 0:f269e3021894 2565 since they can under certain circumstances be called with an invalid conn
elessair 0:f269e3021894 2566 pointer after the connection has been closed (and conn has been freed).
elessair 0:f269e3021894 2567
elessair 0:f269e3021894 2568 2007-08-25 Frédéric Bernon (Artem Migaev's Patch)
elessair 0:f269e3021894 2569 * netif.h, netif.c: Integrate "patch #6163 : Function to check if link layer is up".
elessair 0:f269e3021894 2570 Add a netif_is_link_up() function if LWIP_NETIF_LINK_CALLBACK option is set.
elessair 0:f269e3021894 2571
elessair 0:f269e3021894 2572 2007-08-22 Frédéric Bernon
elessair 0:f269e3021894 2573 * netif.h, netif.c, opt.h: Rename LWIP_NETIF_CALLBACK in LWIP_NETIF_STATUS_CALLBACK
elessair 0:f269e3021894 2574 to be coherent with new LWIP_NETIF_LINK_CALLBACK option before next release.
elessair 0:f269e3021894 2575
elessair 0:f269e3021894 2576 2007-08-22 Frédéric Bernon
elessair 0:f269e3021894 2577 * tcpip.h, tcpip.c, ethernetif.c, opt.h: remove options ETHARP_TCPIP_INPUT &
elessair 0:f269e3021894 2578 ETHARP_TCPIP_ETHINPUT, now, only "ethinput" code is supported, even if the
elessair 0:f269e3021894 2579 name is tcpip_input (we keep the name of 1.2.0 function).
elessair 0:f269e3021894 2580
elessair 0:f269e3021894 2581 2007-08-17 Jared Grubb
elessair 0:f269e3021894 2582 * memp_std.h, memp.h, memp.c, mem.c, stats.c: (Task #7136) Centralize mempool
elessair 0:f269e3021894 2583 settings into new memp_std.h and optional user file lwippools.h. This adds
elessair 0:f269e3021894 2584 more dynamic mempools, and allows the user to create an arbitrary number of
elessair 0:f269e3021894 2585 mempools for mem_malloc.
elessair 0:f269e3021894 2586
elessair 0:f269e3021894 2587 2007-08-16 Marc Boucher
elessair 0:f269e3021894 2588 * api_msg.c: Initialize newconn->state to NETCONN_NONE in accept_function;
elessair 0:f269e3021894 2589 otherwise it was left to NETCONN_CLOSE and sent_tcp() could prematurely
elessair 0:f269e3021894 2590 close the connection.
elessair 0:f269e3021894 2591
elessair 0:f269e3021894 2592 2007-08-16 Marc Boucher
elessair 0:f269e3021894 2593 * sockets.c: lwip_accept(): check netconn_peer() error return.
elessair 0:f269e3021894 2594
elessair 0:f269e3021894 2595 2007-08-16 Marc Boucher
elessair 0:f269e3021894 2596 * mem.c, mem.h: Added mem_calloc().
elessair 0:f269e3021894 2597
elessair 0:f269e3021894 2598 2007-08-16 Marc Boucher
elessair 0:f269e3021894 2599 * tcpip.c, tcpip.h memp.c, memp.h: Added distinct memp (MEMP_TCPIP_MSG_INPKT)
elessair 0:f269e3021894 2600 for input packets to prevent floods from consuming all of MEMP_TCPIP_MSG
elessair 0:f269e3021894 2601 and starving other message types.
elessair 0:f269e3021894 2602 Renamed MEMP_TCPIP_MSG to MEMP_TCPIP_MSG_API
elessair 0:f269e3021894 2603
elessair 0:f269e3021894 2604 2007-08-16 Marc Boucher
elessair 0:f269e3021894 2605 * pbuf.c, pbuf.h, etharp.c, tcp_in.c, sockets.c: Split pbuf flags in pbuf
elessair 0:f269e3021894 2606 type and flgs (later renamed to flags).
elessair 0:f269e3021894 2607 Use enum pbuf_flag as pbuf_type. Renumber PBUF_FLAG_*.
elessair 0:f269e3021894 2608 Improved lwip_recvfrom(). TCP push now propagated.
elessair 0:f269e3021894 2609
elessair 0:f269e3021894 2610 2007-08-16 Marc Boucher
elessair 0:f269e3021894 2611 * ethernetif.c, contrib/ports/various: ethbroadcast now a shared global
elessair 0:f269e3021894 2612 provided by etharp.
elessair 0:f269e3021894 2613
elessair 0:f269e3021894 2614 2007-08-16 Marc Boucher
elessair 0:f269e3021894 2615 * ppp_oe.c ppp_oe.h, auth.c chap.c fsm.c lcp.c ppp.c ppp.h,
elessair 0:f269e3021894 2616 etharp.c ethernetif.c, etharp.h, opt.h tcpip.h, tcpip.c:
elessair 0:f269e3021894 2617 Added PPPoE support and various PPP improvements.
elessair 0:f269e3021894 2618
elessair 0:f269e3021894 2619 2007-07-25 Simon Goldschmidt
elessair 0:f269e3021894 2620 * api_lib.c, ip_frag.c, pbuf.c, api.h, pbuf.h: Introduced pbuf_copy_partial,
elessair 0:f269e3021894 2621 making netbuf_copy_partial use this function.
elessair 0:f269e3021894 2622
elessair 0:f269e3021894 2623 2007-07-25 Simon Goldschmidt
elessair 0:f269e3021894 2624 * tcp_in.c: Fix bug #20506: Slow start / initial congestion window starts with
elessair 0:f269e3021894 2625 2 * mss (instead of 1 * mss previously) to comply with some newer RFCs and
elessair 0:f269e3021894 2626 other stacks.
elessair 0:f269e3021894 2627
elessair 0:f269e3021894 2628 2007-07-13 Jared Grubb (integrated by Frédéric Bernon)
elessair 0:f269e3021894 2629 * opt.h, netif.h, netif.c, ethernetif.c: Add new configuration option to add
elessair 0:f269e3021894 2630 a link callback in the netif struct, and functions to handle it. Be carefull
elessair 0:f269e3021894 2631 for port maintainers to add the NETIF_FLAG_LINK_UP flag (like in ethernetif.c)
elessair 0:f269e3021894 2632 if you want to be sure to be compatible with future changes...
elessair 0:f269e3021894 2633
elessair 0:f269e3021894 2634 2007-06-30 Frédéric Bernon
elessair 0:f269e3021894 2635 * sockets.h, sockets.c: Implement MSG_PEEK flag for recv/recvfrom functions.
elessair 0:f269e3021894 2636
elessair 0:f269e3021894 2637 2007-06-21 Simon Goldschmidt
elessair 0:f269e3021894 2638 * etharp.h, etharp.c: Combined etharp_request with etharp_raw for both
elessair 0:f269e3021894 2639 LWIP_AUTOIP =0 and =1 to remove redundant code.
elessair 0:f269e3021894 2640
elessair 0:f269e3021894 2641 2007-06-21 Simon Goldschmidt
elessair 0:f269e3021894 2642 * mem.c, memp.c, mem.h, memp.h, opt.h: task #6863: Introduced the option
elessair 0:f269e3021894 2643 MEM_USE_POOLS to use 4 pools with different sized elements instead of a
elessair 0:f269e3021894 2644 heap. This both prevents memory fragmentation and gives a higher speed
elessair 0:f269e3021894 2645 at the cost of more memory consumption. Turned off by default.
elessair 0:f269e3021894 2646
elessair 0:f269e3021894 2647 2007-06-21 Simon Goldschmidt
elessair 0:f269e3021894 2648 * api_lib.c, api_msg.c, api.h, api_msg.h: Converted the length argument of
elessair 0:f269e3021894 2649 netconn_write (and therefore also api_msg_msg.msg.w.len) from u16_t into
elessair 0:f269e3021894 2650 int to be able to send a bigger buffer than 64K with one time (mainly
elessair 0:f269e3021894 2651 used from lwip_send).
elessair 0:f269e3021894 2652
elessair 0:f269e3021894 2653 2007-06-21 Simon Goldschmidt
elessair 0:f269e3021894 2654 * tcp.h, api_msg.c: Moved the nagle algorithm from netconn_write/do_write
elessair 0:f269e3021894 2655 into a define (tcp_output_nagle) in tcp.h to provide it to raw api users, too.
elessair 0:f269e3021894 2656
elessair 0:f269e3021894 2657 2007-06-21 Simon Goldschmidt
elessair 0:f269e3021894 2658 * api.h, api_lib.c, api_msg.c: Fixed bug #20021: Moved sendbuf-processing in
elessair 0:f269e3021894 2659 netconn_write from api_lib.c to api_msg.c to also prevent multiple context-
elessair 0:f269e3021894 2660 changes on low memory or empty send-buffer.
elessair 0:f269e3021894 2661
elessair 0:f269e3021894 2662 2007-06-18 Simon Goldschmidt
elessair 0:f269e3021894 2663 * etharp.c, etharp.h: Changed etharp to use a defined hardware address length
elessair 0:f269e3021894 2664 of 6 to avoid loading netif->hwaddr_len every time (since this file is only
elessair 0:f269e3021894 2665 used for ethernet and struct eth_addr already had a defined length of 6).
elessair 0:f269e3021894 2666
elessair 0:f269e3021894 2667 2007-06-17 Simon Goldschmidt
elessair 0:f269e3021894 2668 * sockets.c, sockets.h: Implemented socket options SO_NO_CHECK for UDP sockets
elessair 0:f269e3021894 2669 to disable UDP checksum generation on transmit.
elessair 0:f269e3021894 2670
elessair 0:f269e3021894 2671 2007-06-13 Frédéric Bernon, Simon Goldschmidt
elessair 0:f269e3021894 2672 * debug.h, api_msg.c: change LWIP_ERROR to use it to check errors like invalid
elessair 0:f269e3021894 2673 pointers or parameters, and let the possibility to redefined it in cc.h. Use
elessair 0:f269e3021894 2674 this macro to check "conn" parameter in api_msg.c functions.
elessair 0:f269e3021894 2675
elessair 0:f269e3021894 2676 2007-06-11 Simon Goldschmidt
elessair 0:f269e3021894 2677 * sockets.c, sockets.h: Added UDP lite support for sockets
elessair 0:f269e3021894 2678
elessair 0:f269e3021894 2679 2007-06-10 Simon Goldschmidt
elessair 0:f269e3021894 2680 * udp.h, opt.h, api_msg.c, ip.c, udp.c: Included switch LWIP_UDPLITE (enabled
elessair 0:f269e3021894 2681 by default) to switch off UDP-Lite support if not needed (reduces udp.c code
elessair 0:f269e3021894 2682 size)
elessair 0:f269e3021894 2683
elessair 0:f269e3021894 2684 2007-06-09 Dominik Spies (integrated by Frédéric Bernon)
elessair 0:f269e3021894 2685 * autoip.h, autoip.c, dhcp.h, dhcp.c, netif.h, netif.c, etharp.h, etharp.c, opt.h:
elessair 0:f269e3021894 2686 AutoIP implementation available for IPv4, with new options LWIP_AUTOIP and
elessair 0:f269e3021894 2687 LWIP_DHCP_AUTOIP_COOP if you want to cooperate with DHCP. Some tips to adapt
elessair 0:f269e3021894 2688 (see TODO mark in the source code).
elessair 0:f269e3021894 2689
elessair 0:f269e3021894 2690 2007-06-09 Simon Goldschmidt
elessair 0:f269e3021894 2691 * etharp.h, etharp.c, ethernetif.c: Modified order of parameters for
elessair 0:f269e3021894 2692 etharp_output() to match netif->output so etharp_output() can be used
elessair 0:f269e3021894 2693 directly as netif->output to save one function call.
elessair 0:f269e3021894 2694
elessair 0:f269e3021894 2695 2007-06-08 Simon Goldschmidt
elessair 0:f269e3021894 2696 * netif.h, ethernetif.c, slipif.c, loopif.c: Added define
elessair 0:f269e3021894 2697 NETIF_INIT_SNMP(netif, type, speed) to initialize per-netif snmp variables,
elessair 0:f269e3021894 2698 added initialization of those to ethernetif, slipif and loopif.
elessair 0:f269e3021894 2699
elessair 0:f269e3021894 2700 2007-05-18 Simon Goldschmidt
elessair 0:f269e3021894 2701 * opt.h, ip_frag.c, ip_frag.h, ip.c: Added option IP_FRAG_USES_STATIC_BUF
elessair 0:f269e3021894 2702 (defaulting to off for now) that can be set to 0 to send fragmented
elessair 0:f269e3021894 2703 packets by passing PBUF_REFs down the stack.
elessair 0:f269e3021894 2704
elessair 0:f269e3021894 2705 2007-05-23 Frédéric Bernon
elessair 0:f269e3021894 2706 * api_lib.c: Implement SO_RCVTIMEO for accept and recv on TCP
elessair 0:f269e3021894 2707 connections, such present in patch #5959.
elessair 0:f269e3021894 2708
elessair 0:f269e3021894 2709 2007-05-23 Frédéric Bernon
elessair 0:f269e3021894 2710 * api.h, api_lib.c, api_msg.c, sockets.c: group the different NETCONN_UDPxxx
elessair 0:f269e3021894 2711 code in only one part...
elessair 0:f269e3021894 2712
elessair 0:f269e3021894 2713 2007-05-18 Simon Goldschmidt
elessair 0:f269e3021894 2714 * opt.h, memp.h, memp.c: Added option MEMP_OVERFLOW_CHECK to check for memp
elessair 0:f269e3021894 2715 elements to overflow. This is achieved by adding some bytes before and after
elessair 0:f269e3021894 2716 each pool element (increasing their size, of course), filling them with a
elessair 0:f269e3021894 2717 prominent value and checking them on freeing the element.
elessair 0:f269e3021894 2718 Set it to 2 to also check every element in every pool each time memp_malloc()
elessair 0:f269e3021894 2719 or memp_free() is called (slower but more helpful).
elessair 0:f269e3021894 2720
elessair 0:f269e3021894 2721 2007-05-10 Simon Goldschmidt
elessair 0:f269e3021894 2722 * opt.h, memp.h, memp.c, pbuf.c (see task #6831): use a new memp pool for
elessair 0:f269e3021894 2723 PBUF_POOL pbufs instead of the old pool implementation in pbuf.c to reduce
elessair 0:f269e3021894 2724 code size.
elessair 0:f269e3021894 2725
elessair 0:f269e3021894 2726 2007-05-11 Frédéric Bernon
elessair 0:f269e3021894 2727 * sockets.c, api_lib.c, api_msg.h, api_msg.c, netifapi.h, netifapi.c, tcpip.c:
elessair 0:f269e3021894 2728 Include a function pointer instead of a table index in the message to reduce
elessair 0:f269e3021894 2729 footprint. Disable some part of lwip_send and lwip_sendto if some options are
elessair 0:f269e3021894 2730 not set (LWIP_TCP, LWIP_UDP, LWIP_RAW).
elessair 0:f269e3021894 2731
elessair 0:f269e3021894 2732 2007-05-10 Simon Goldschmidt
elessair 0:f269e3021894 2733 * *.h (except netif/ppp/*.h): Included patch #5448: include '#ifdef __cplusplus
elessair 0:f269e3021894 2734 \ extern "C" {' in all header files. Now you can write your application using
elessair 0:f269e3021894 2735 the lwIP stack in C++ and simply #include the core files. Note I have left
elessair 0:f269e3021894 2736 out the netif/ppp/*h header files for now, since I don't know which files are
elessair 0:f269e3021894 2737 included by applications and which are for internal use only.
elessair 0:f269e3021894 2738
elessair 0:f269e3021894 2739 2007-05-09 Simon Goldschmidt
elessair 0:f269e3021894 2740 * opt.h, *.c/*.h: Included patch #5920: Create define to override C-library
elessair 0:f269e3021894 2741 memcpy. 2 Defines are created: MEMCPY() for normal memcpy, SMEMCPY() for
elessair 0:f269e3021894 2742 situations where some compilers might inline the copy and save a function
elessair 0:f269e3021894 2743 call. Also replaced all calls to memcpy() with calls to (S)MEMCPY().
elessair 0:f269e3021894 2744
elessair 0:f269e3021894 2745 2007-05-08 Simon Goldschmidt
elessair 0:f269e3021894 2746 * mem.h: If MEM_LIBC_MALLOC==1, allow the defines (e.g. mem_malloc() -> malloc())
elessair 0:f269e3021894 2747 to be overriden in case the C-library malloc implementation is not protected
elessair 0:f269e3021894 2748 against concurrent access.
elessair 0:f269e3021894 2749
elessair 0:f269e3021894 2750 2007-05-04 Simon Goldschmidt (Atte Kojo)
elessair 0:f269e3021894 2751 * etharp.c: Introduced fast one-entry-cache to speed up ARP lookup when sending
elessair 0:f269e3021894 2752 multiple packets to the same host.
elessair 0:f269e3021894 2753
elessair 0:f269e3021894 2754 2007-05-04 Frédéric Bernon, Jonathan Larmour
elessair 0:f269e3021894 2755 * sockets.c, api.h, api_lib.c, api_msg.h, api_msg.c: Fix bug #19162 "lwip_sento: a possible
elessair 0:f269e3021894 2756 to corrupt remote addr/port connection state". Reduce problems "not enought memory" with
elessair 0:f269e3021894 2757 netbuf (if we receive lot of datagrams). Improve lwip_sendto (only one exchange between
elessair 0:f269e3021894 2758 sockets api and api_msg which run in tcpip_thread context). Add netconn_sento function.
elessair 0:f269e3021894 2759 Warning, if you directly access to "fromaddr" & "fromport" field from netbuf struct,
elessair 0:f269e3021894 2760 these fields are now renamed "addr" & "port".
elessair 0:f269e3021894 2761
elessair 0:f269e3021894 2762 2007-04-11 Jonathan Larmour
elessair 0:f269e3021894 2763 * sys.h, api_lib.c: Provide new sys_mbox_tryfetch function. Require ports to provide new
elessair 0:f269e3021894 2764 sys_arch_mbox_tryfetch function to get a message if one is there, otherwise return
elessair 0:f269e3021894 2765 with SYS_MBOX_EMPTY. sys_arch_mbox_tryfetch can be implemented as a function-like macro
elessair 0:f269e3021894 2766 by the port in sys_arch.h if desired.
elessair 0:f269e3021894 2767
elessair 0:f269e3021894 2768 2007-04-06 Frédéric Bernon, Simon Goldschmidt
elessair 0:f269e3021894 2769 * opt.h, tcpip.h, tcpip.c, netifapi.h, netifapi.c: New configuration option LWIP_NETIF_API
elessair 0:f269e3021894 2770 allow to use thread-safe functions to add/remove netif in list, and to start/stop dhcp
elessair 0:f269e3021894 2771 clients, using new functions from netifapi.h. Disable as default (no port change to do).
elessair 0:f269e3021894 2772
elessair 0:f269e3021894 2773 2007-04-05 Frédéric Bernon
elessair 0:f269e3021894 2774 * sockets.c: remplace ENOBUFS errors on alloc_socket by ENFILE to be more BSD compliant.
elessair 0:f269e3021894 2775
elessair 0:f269e3021894 2776 2007-04-04 Simon Goldschmidt
elessair 0:f269e3021894 2777 * arch.h, api_msg.c, dhcp.c, msg_in.c, sockets.c: Introduced #define LWIP_UNUSED_ARG(x)
elessair 0:f269e3021894 2778 use this for and architecture-independent form to tell the compiler you intentionally
elessair 0:f269e3021894 2779 are not using this variable. Can be overriden in cc.h.
elessair 0:f269e3021894 2780
elessair 0:f269e3021894 2781 2007-03-28 Frédéric Bernon
elessair 0:f269e3021894 2782 * opt.h, netif.h, dhcp.h, dhcp.c: New configuration option LWIP_NETIF_HOSTNAME allow to
elessair 0:f269e3021894 2783 define a hostname in netif struct (this is just a pointer, so, you can use a hardcoded
elessair 0:f269e3021894 2784 string, point on one of your's ethernetif field, or alloc a string you will free yourself).
elessair 0:f269e3021894 2785 It will be used by DHCP to register a client hostname, but can also be use when you call
elessair 0:f269e3021894 2786 snmp_set_sysname.
elessair 0:f269e3021894 2787
elessair 0:f269e3021894 2788 2007-03-28 Frédéric Bernon
elessair 0:f269e3021894 2789 * netif.h, netif.c: A new NETIF_FLAG_ETHARP flag is defined in netif.h, to allow to
elessair 0:f269e3021894 2790 initialize a network interface's flag with. It tell this interface is an ethernet
elessair 0:f269e3021894 2791 device, and we can use ARP with it to do a "gratuitous ARP" (RFC 3220 "IP Mobility
elessair 0:f269e3021894 2792 Support for IPv4" section 4.6) when interface is "up" with netif_set_up().
elessair 0:f269e3021894 2793
elessair 0:f269e3021894 2794 2007-03-26 Frédéric Bernon, Jonathan Larmour
elessair 0:f269e3021894 2795 * opt.h, tcpip.c: New configuration option LWIP_ARP allow to disable ARP init at build
elessair 0:f269e3021894 2796 time if you only use PPP or SLIP. The default is enable. Note we don't have to call
elessair 0:f269e3021894 2797 etharp_init in your port's initilization sequence if you use tcpip.c, because this call
elessair 0:f269e3021894 2798 is done in tcpip_init function.
elessair 0:f269e3021894 2799
elessair 0:f269e3021894 2800 2007-03-22 Frédéric Bernon
elessair 0:f269e3021894 2801 * stats.h, stats.c, msg_in.c: Stats counters can be change to u32_t if necessary with the
elessair 0:f269e3021894 2802 new option LWIP_STATS_LARGE. If you need this option, define LWIP_STATS_LARGE to 1 in
elessair 0:f269e3021894 2803 your lwipopts.h. More, unused counters are not defined in the stats structs, and not
elessair 0:f269e3021894 2804 display by stats_display(). Note that some options (SYS_STATS and RAW_STATS) are defined
elessair 0:f269e3021894 2805 but never used. Fix msg_in.c with the correct #if test for a stat display.
elessair 0:f269e3021894 2806
elessair 0:f269e3021894 2807 2007-03-21 Kieran Mansley
elessair 0:f269e3021894 2808 * netif.c, netif.h: Apply patch#4197 with some changes (originator: rireland@hmgsl.com).
elessair 0:f269e3021894 2809 Provides callback on netif up/down state change.
elessair 0:f269e3021894 2810
elessair 0:f269e3021894 2811 2007-03-11 Frédéric Bernon, Mace Gael, Steve Reynolds
elessair 0:f269e3021894 2812 * sockets.h, sockets.c, api.h, api_lib.c, api_msg.h, api_msg.c, igmp.h, igmp.c,
elessair 0:f269e3021894 2813 ip.c, netif.h, tcpip.c, opt.h:
elessair 0:f269e3021894 2814 New configuration option LWIP_IGMP to enable IGMP processing. Based on only one
elessair 0:f269e3021894 2815 filter per all network interfaces. Declare a new function in netif to enable to
elessair 0:f269e3021894 2816 control the MAC filter (to reduce lwIP traffic processing).
elessair 0:f269e3021894 2817
elessair 0:f269e3021894 2818 2007-03-11 Frédéric Bernon
elessair 0:f269e3021894 2819 * tcp.h, tcp.c, sockets.c, tcp_out.c, tcp_in.c, opt.h: Keepalive values can
elessair 0:f269e3021894 2820 be configured at run time with LWIP_TCP_KEEPALIVE, but don't change this
elessair 0:f269e3021894 2821 unless you know what you're doing (default are RFC1122 compliant). Note
elessair 0:f269e3021894 2822 that TCP_KEEPIDLE and TCP_KEEPINTVL have to be set in seconds.
elessair 0:f269e3021894 2823
elessair 0:f269e3021894 2824 2007-03-08 Frédéric Bernon
elessair 0:f269e3021894 2825 * tcp.h: Keepalive values can be configured at compile time, but don't change
elessair 0:f269e3021894 2826 this unless you know what you're doing (default are RFC1122 compliant).
elessair 0:f269e3021894 2827
elessair 0:f269e3021894 2828 2007-03-08 Frédéric Bernon
elessair 0:f269e3021894 2829 * sockets.c, api.h, api_lib.c, tcpip.c, sys.h, sys.c, err.c, opt.h:
elessair 0:f269e3021894 2830 Implement LWIP_SO_RCVTIMEO configuration option to enable/disable SO_RCVTIMEO
elessair 0:f269e3021894 2831 on UDP sockets/netconn.
elessair 0:f269e3021894 2832
elessair 0:f269e3021894 2833 2007-03-08 Simon Goldschmidt
elessair 0:f269e3021894 2834 * snmp_msg.h, msg_in.c: SNMP UDP ports can be configured at compile time.
elessair 0:f269e3021894 2835
elessair 0:f269e3021894 2836 2007-03-06 Frédéric Bernon
elessair 0:f269e3021894 2837 * api.h, api_lib.c, sockets.h, sockets.c, tcpip.c, sys.h, sys.c, err.h:
elessair 0:f269e3021894 2838 Implement SO_RCVTIMEO on UDP sockets/netconn.
elessair 0:f269e3021894 2839
elessair 0:f269e3021894 2840 2007-02-28 Kieran Mansley (based on patch from Simon Goldschmidt)
elessair 0:f269e3021894 2841 * api_lib.c, tcpip.c, memp.c, memp.h: make API msg structs allocated
elessair 0:f269e3021894 2842 on the stack and remove the API msg type from memp
elessair 0:f269e3021894 2843
elessair 0:f269e3021894 2844 2007-02-26 Jonathan Larmour (based on patch from Simon Goldschmidt)
elessair 0:f269e3021894 2845 * sockets.h, sockets.c: Move socket initialization to new
elessair 0:f269e3021894 2846 lwip_socket_init() function.
elessair 0:f269e3021894 2847 NOTE: this changes the API with ports. Ports will have to be
elessair 0:f269e3021894 2848 updated to call lwip_socket_init() now.
elessair 0:f269e3021894 2849
elessair 0:f269e3021894 2850 2007-02-26 Jonathan Larmour (based on patch from Simon Goldschmidt)
elessair 0:f269e3021894 2851 * api_lib.c: Use memcpy in netbuf_copy_partial.
elessair 0:f269e3021894 2852
elessair 0:f269e3021894 2853
elessair 0:f269e3021894 2854 ++ Bug fixes:
elessair 0:f269e3021894 2855
elessair 0:f269e3021894 2856 2008-03-17 Frédéric Bernon, Ed Kerekes
elessair 0:f269e3021894 2857 * igmp.h, igmp.c: Fix bug #22613 "IGMP iphdr problem" (could have
elessair 0:f269e3021894 2858 some problems to fill the IP header on some targets, use now the
elessair 0:f269e3021894 2859 ip.h macros to do it).
elessair 0:f269e3021894 2860
elessair 0:f269e3021894 2861 2008-03-13 Frédéric Bernon
elessair 0:f269e3021894 2862 * sockets.c: Fix bug #22435 "lwip_recvfrom with TCP break;". Using
elessair 0:f269e3021894 2863 (lwip_)recvfrom with valid "from" and "fromlen" parameters, on a
elessair 0:f269e3021894 2864 TCP connection caused a crash. Note that using (lwip_)recvfrom
elessair 0:f269e3021894 2865 like this is a bit slow and that using (lwip)getpeername is the
elessair 0:f269e3021894 2866 good lwip way to do it (so, using recv is faster on tcp sockets).
elessair 0:f269e3021894 2867
elessair 0:f269e3021894 2868 2008-03-12 Frédéric Bernon, Jonathan Larmour
elessair 0:f269e3021894 2869 * api_msg.c, contrib/apps/ping.c: Fix bug #22530 "api_msg.c's
elessair 0:f269e3021894 2870 recv_raw() does not consume data", and the ping sample (with
elessair 0:f269e3021894 2871 LWIP_SOCKET=1, the code did the wrong supposition that lwip_recvfrom
elessair 0:f269e3021894 2872 returned the IP payload, without the IP header).
elessair 0:f269e3021894 2873
elessair 0:f269e3021894 2874 2008-03-04 Jonathan Larmour
elessair 0:f269e3021894 2875 * mem.c, stats.c, mem.h: apply patch #6414 to avoid compiler errors
elessair 0:f269e3021894 2876 and/or warnings on some systems where mem_size_t and size_t differ.
elessair 0:f269e3021894 2877 * pbuf.c, ppp.c: Fix warnings on some systems with mem_malloc.
elessair 0:f269e3021894 2878
elessair 0:f269e3021894 2879 2008-03-04 Kieran Mansley (contributions by others)
elessair 0:f269e3021894 2880 * Numerous small compiler error/warning fixes from contributions to
elessair 0:f269e3021894 2881 mailing list after 1.3.0 release candidate made.
elessair 0:f269e3021894 2882
elessair 0:f269e3021894 2883 2008-01-25 Cui hengbin (integrated by Frédéric Bernon)
elessair 0:f269e3021894 2884 * dns.c: Fix bug #22108 "DNS problem" caused by unaligned structures.
elessair 0:f269e3021894 2885
elessair 0:f269e3021894 2886 2008-01-15 Kieran Mansley
elessair 0:f269e3021894 2887 * tcp_out.c: BUG20511. Modify persist timer to start when we are
elessair 0:f269e3021894 2888 prevented from sending by a small send window, not just a zero
elessair 0:f269e3021894 2889 send window.
elessair 0:f269e3021894 2890
elessair 0:f269e3021894 2891 2008-01-09 Jonathan Larmour
elessair 0:f269e3021894 2892 * opt.h, ip.c: Rename IP_OPTIONS define to IP_OPTIONS_ALLOWED to avoid
elessair 0:f269e3021894 2893 conflict with Linux system headers.
elessair 0:f269e3021894 2894
elessair 0:f269e3021894 2895 2008-01-06 Jonathan Larmour
elessair 0:f269e3021894 2896 * dhcp.c: fix bug #19927: "DHCP NACK problem" by clearing any existing set IP
elessair 0:f269e3021894 2897 address entirely on receiving a DHCPNAK, and restarting discovery.
elessair 0:f269e3021894 2898
elessair 0:f269e3021894 2899 2007-12-21 Simon Goldschmidt
elessair 0:f269e3021894 2900 * sys.h, api_lib.c, api_msg.c, sockets.c: fix bug #21698: "netconn->recv_avail
elessair 0:f269e3021894 2901 is not protected" by using new macros for interlocked access to modify/test
elessair 0:f269e3021894 2902 netconn->recv_avail.
elessair 0:f269e3021894 2903
elessair 0:f269e3021894 2904 2007-12-20 Kieran Mansley (based on patch from Oleg Tyshev)
elessair 0:f269e3021894 2905 * tcp_in.c: fix bug# 21535 (nrtx not reset correctly in SYN_SENT state)
elessair 0:f269e3021894 2906
elessair 0:f269e3021894 2907 2007-12-20 Kieran Mansley (based on patch from Per-Henrik Lundbolm)
elessair 0:f269e3021894 2908 * tcp.c, tcp_in.c, tcp_out.c, tcp.h: fix bug #20199 (better handling
elessair 0:f269e3021894 2909 of silly window avoidance and prevent lwIP from shrinking the window)
elessair 0:f269e3021894 2910
elessair 0:f269e3021894 2911 2007-12-04 Simon Goldschmidt
elessair 0:f269e3021894 2912 * tcp.c, tcp_in.c: fix bug #21699 (segment leak in ooseq processing when last
elessair 0:f269e3021894 2913 data packet was lost): add assert that all segment lists are empty in
elessair 0:f269e3021894 2914 tcp_pcb_remove before setting pcb to CLOSED state; don't directly set CLOSED
elessair 0:f269e3021894 2915 state from LAST_ACK in tcp_process
elessair 0:f269e3021894 2916
elessair 0:f269e3021894 2917 2007-12-02 Simon Goldschmidt
elessair 0:f269e3021894 2918 * sockets.h: fix bug #21654: exclude definition of struct timeval from #ifndef FD_SET
elessair 0:f269e3021894 2919 If including <sys/time.h> for system-struct timeval, LWIP_TIMEVAL_PRIVATE now
elessair 0:f269e3021894 2920 has to be set to 0 in lwipopts.h
elessair 0:f269e3021894 2921
elessair 0:f269e3021894 2922 2007-12-02 Simon Goldschmidt
elessair 0:f269e3021894 2923 * api_msg.c, api_lib.c: fix bug #21656 (recvmbox problem in netconn API): always
elessair 0:f269e3021894 2924 allocate a recvmbox in netconn_new_with_proto_and_callback. For a tcp-listen
elessair 0:f269e3021894 2925 netconn, this recvmbox is later freed and a new mbox is allocated for acceptmbox.
elessair 0:f269e3021894 2926 This is a fix for thread-safety and allocates all items needed for a netconn
elessair 0:f269e3021894 2927 when the netconn is created.
elessair 0:f269e3021894 2928
elessair 0:f269e3021894 2929 2007-11-30 Simon Goldschmidt
elessair 0:f269e3021894 2930 * udp.c: first attempt to fix bug #21655 (DHCP doesn't work reliably with multiple
elessair 0:f269e3021894 2931 netifs): if LWIP_DHCP is enabled, UDP packets to DHCP_CLIENT_PORT are passed
elessair 0:f269e3021894 2932 to netif->dhcp->pcb only (if that exists) and not to any other pcb for the same
elessair 0:f269e3021894 2933 port (only solution to let UDP pcbs 'bind' to a netif instead of an IP address)
elessair 0:f269e3021894 2934
elessair 0:f269e3021894 2935 2007-11-27 Simon Goldschmidt
elessair 0:f269e3021894 2936 * ip.c: fixed bug #21643 (udp_send/raw_send don't fail if netif is down) by
elessair 0:f269e3021894 2937 letting ip_route only use netifs that are up.
elessair 0:f269e3021894 2938
elessair 0:f269e3021894 2939 2007-11-27 Simon Goldschmidt
elessair 0:f269e3021894 2940 * err.h, api_lib.c, api_msg.c, sockets.c: Changed error handling: ERR_MEM, ERR_BUF
elessair 0:f269e3021894 2941 and ERR_RTE are seen as non-fatal, all other errors are fatal. netconns and
elessair 0:f269e3021894 2942 sockets block most operations once they have seen a fatal error.
elessair 0:f269e3021894 2943
elessair 0:f269e3021894 2944 2007-11-27 Simon Goldschmidt
elessair 0:f269e3021894 2945 * udp.h, udp.c, dhcp.c: Implemented new function udp_sendto_if which takes the
elessair 0:f269e3021894 2946 netif to send as an argument (to be able to send on netifs that are down).
elessair 0:f269e3021894 2947
elessair 0:f269e3021894 2948 2007-11-26 Simon Goldschmidt
elessair 0:f269e3021894 2949 * tcp_in.c: Fixed bug #21582: pcb->acked accounting can be wrong when ACKs
elessair 0:f269e3021894 2950 arrive out-of-order
elessair 0:f269e3021894 2951
elessair 0:f269e3021894 2952 2007-11-21 Simon Goldschmidt
elessair 0:f269e3021894 2953 * tcp.h, tcp_out.c, api_msg.c: Fixed bug #20287: tcp_output_nagle sends too early
elessair 0:f269e3021894 2954 Fixed the nagle algorithm; nagle now also works for all raw API applications
elessair 0:f269e3021894 2955 and has to be explicitly disabled with 'tcp_pcb->flags |= TF_NODELAY'
elessair 0:f269e3021894 2956
elessair 0:f269e3021894 2957 2007-11-12 Frédéric Bernon
elessair 0:f269e3021894 2958 * sockets.c, api.h, api_lib.c, api_msg.h, api_msg.c: Fixed bug #20900. Now, most
elessair 0:f269e3021894 2959 of the netconn_peer and netconn_addr processing is done inside tcpip_thread
elessair 0:f269e3021894 2960 context in do_getaddr.
elessair 0:f269e3021894 2961
elessair 0:f269e3021894 2962 2007-11-10 Simon Goldschmidt
elessair 0:f269e3021894 2963 * etharp.c: Fixed bug: assert fired when MEMP_ARP_QUEUE was empty (which can
elessair 0:f269e3021894 2964 happen any time). Now the packet simply isn't enqueued when out of memory.
elessair 0:f269e3021894 2965
elessair 0:f269e3021894 2966 2007-11-01 Simon Goldschmidt
elessair 0:f269e3021894 2967 * tcp.c, tcp_in.c: Fixed bug #21494: The send mss (pcb->mss) is set to 536 (or
elessair 0:f269e3021894 2968 TCP_MSS if that is smaller) as long as no MSS option is received from the
elessair 0:f269e3021894 2969 remote host.
elessair 0:f269e3021894 2970
elessair 0:f269e3021894 2971 2007-11-01 Simon Goldschmidt
elessair 0:f269e3021894 2972 * tcp.h, tcp.c, tcp_in.c: Fixed bug #21491: The MSS option sent (with SYN)
elessair 0:f269e3021894 2973 is now based on TCP_MSS instead of pcb->mss (on passive open now effectively
elessair 0:f269e3021894 2974 sending our configured TCP_MSS instead of the one received).
elessair 0:f269e3021894 2975
elessair 0:f269e3021894 2976 2007-11-01 Simon Goldschmidt
elessair 0:f269e3021894 2977 * tcp_in.c: Fixed bug #21181: On active open, the initial congestion window was
elessair 0:f269e3021894 2978 calculated based on the configured TCP_MSS, not on the MSS option received
elessair 0:f269e3021894 2979 with SYN+ACK.
elessair 0:f269e3021894 2980
elessair 0:f269e3021894 2981 2007-10-09 Simon Goldschmidt
elessair 0:f269e3021894 2982 * udp.c, inet.c, inet.h: Fixed UDPLite: send: Checksum was always generated too
elessair 0:f269e3021894 2983 short and also was generated wrong if checksum coverage != tot_len;
elessair 0:f269e3021894 2984 receive: checksum was calculated wrong if checksum coverage != tot_len
elessair 0:f269e3021894 2985
elessair 0:f269e3021894 2986 2007-10-08 Simon Goldschmidt
elessair 0:f269e3021894 2987 * mem.c: lfree was not updated in mem_realloc!
elessair 0:f269e3021894 2988
elessair 0:f269e3021894 2989 2007-10-07 Frédéric Bernon
elessair 0:f269e3021894 2990 * sockets.c, api.h, api_lib.c: First step to fix "bug #20900 : Potential
elessair 0:f269e3021894 2991 crash error problem with netconn_peer & netconn_addr". VERY IMPORTANT:
elessair 0:f269e3021894 2992 this change cause an API breakage for netconn_addr, since a parameter
elessair 0:f269e3021894 2993 type change. Any compiler should cause an error without any changes in
elessair 0:f269e3021894 2994 yours netconn_peer calls (so, it can't be a "silent change"). It also
elessair 0:f269e3021894 2995 reduce a little bit the footprint for socket layer (lwip_getpeername &
elessair 0:f269e3021894 2996 lwip_getsockname use now a common lwip_getaddrname function since
elessair 0:f269e3021894 2997 netconn_peer & netconn_addr have the same parameters).
elessair 0:f269e3021894 2998
elessair 0:f269e3021894 2999 2007-09-20 Simon Goldschmidt
elessair 0:f269e3021894 3000 * tcp.c: Fixed bug #21080 (tcp_bind without check pcbs in TIME_WAIT state)
elessair 0:f269e3021894 3001 by checking tcp_tw_pcbs also
elessair 0:f269e3021894 3002
elessair 0:f269e3021894 3003 2007-09-19 Simon Goldschmidt
elessair 0:f269e3021894 3004 * icmp.c: Fixed bug #21107 (didn't reset IP TTL in ICMP echo replies)
elessair 0:f269e3021894 3005
elessair 0:f269e3021894 3006 2007-09-15 Mike Kleshov
elessair 0:f269e3021894 3007 * mem.c: Fixed bug #21077 (inaccuracy in calculation of lwip_stat.mem.used)
elessair 0:f269e3021894 3008
elessair 0:f269e3021894 3009 2007-09-06 Frédéric Bernon
elessair 0:f269e3021894 3010 * several-files: replace some #include "arch/cc.h" by "lwip/arch.h", or simply remove
elessair 0:f269e3021894 3011 it as long as "lwip/opt.h" is included before (this one include "lwip/debug.h" which
elessair 0:f269e3021894 3012 already include "lwip/arch.h"). Like that, default defines are provided by "lwip/arch.h"
elessair 0:f269e3021894 3013 if they are not defined in cc.h, in the same spirit than "lwip/opt.h" for lwipopts.h.
elessair 0:f269e3021894 3014
elessair 0:f269e3021894 3015 2007-08-30 Frédéric Bernon
elessair 0:f269e3021894 3016 * igmp.h, igmp.c: Some changes to remove some redundant code, add some traces,
elessair 0:f269e3021894 3017 and fix some coding style.
elessair 0:f269e3021894 3018
elessair 0:f269e3021894 3019 2007-08-28 Frédéric Bernon
elessair 0:f269e3021894 3020 * tcpip.c: Fix TCPIP_MSG_INPKT processing: now, tcpip_input can be used for any
elessair 0:f269e3021894 3021 kind of packets. These packets are considered like Ethernet packets (payload
elessair 0:f269e3021894 3022 pointing to ethhdr) if the netif got the NETIF_FLAG_ETHARP flag. Else, packets
elessair 0:f269e3021894 3023 are considered like IP packets (payload pointing to iphdr).
elessair 0:f269e3021894 3024
elessair 0:f269e3021894 3025 2007-08-27 Frédéric Bernon
elessair 0:f269e3021894 3026 * api.h, api_lib.c, api_msg.c: First fix for "bug #20900 : Potential crash error
elessair 0:f269e3021894 3027 problem with netconn_peer & netconn_addr". Introduce NETCONN_LISTEN netconn_state
elessair 0:f269e3021894 3028 and remove obsolete ones (NETCONN_RECV & NETCONN_ACCEPT).
elessair 0:f269e3021894 3029
elessair 0:f269e3021894 3030 2007-08-24 Kieran Mansley
elessair 0:f269e3021894 3031 * inet.c Modify (acc >> 16) test to ((acc >> 16) != 0) to help buggy
elessair 0:f269e3021894 3032 compiler (Paradigm C++)
elessair 0:f269e3021894 3033
elessair 0:f269e3021894 3034 2007-08-09 Frédéric Bernon, Bill Florac
elessair 0:f269e3021894 3035 * stats.h, stats.c, igmp.h, igmp.c, opt.h: Fix for bug #20503 : IGMP Improvement.
elessair 0:f269e3021894 3036 Introduce IGMP_STATS to centralize statistics management.
elessair 0:f269e3021894 3037
elessair 0:f269e3021894 3038 2007-08-09 Frédéric Bernon, Bill Florac
elessair 0:f269e3021894 3039 * udp.c: Fix for bug #20503 : IGMP Improvement. Enable to receive a multicast
elessair 0:f269e3021894 3040 packet on a udp pcb binded on an netif's IP address, and not on "any".
elessair 0:f269e3021894 3041
elessair 0:f269e3021894 3042 2007-08-09 Frédéric Bernon, Bill Florac
elessair 0:f269e3021894 3043 * igmp.h, igmp.c, ip.c: Fix minor changes from bug #20503 : IGMP Improvement.
elessair 0:f269e3021894 3044 This is mainly on using lookup/lookfor, and some coding styles...
elessair 0:f269e3021894 3045
elessair 0:f269e3021894 3046 2007-07-26 Frédéric Bernon (and "thedoctor")
elessair 0:f269e3021894 3047 * igmp.c: Fix bug #20595 to accept IGMPv3 "Query" messages.
elessair 0:f269e3021894 3048
elessair 0:f269e3021894 3049 2007-07-25 Simon Goldschmidt
elessair 0:f269e3021894 3050 * api_msg.c, tcp.c: Another fix for bug #20021: by not returning an error if
elessair 0:f269e3021894 3051 tcp_output fails in tcp_close, the code in do_close_internal gets simpler
elessair 0:f269e3021894 3052 (tcp_output is called again later from tcp timers).
elessair 0:f269e3021894 3053
elessair 0:f269e3021894 3054 2007-07-25 Simon Goldschmidt
elessair 0:f269e3021894 3055 * ip_frag.c: Fixed bug #20429: use the new pbuf_copy_partial instead of the old
elessair 0:f269e3021894 3056 copy_from_pbuf, which illegally modified the given pbuf.
elessair 0:f269e3021894 3057
elessair 0:f269e3021894 3058 2007-07-25 Simon Goldschmidt
elessair 0:f269e3021894 3059 * tcp_out.c: tcp_enqueue: pcb->snd_queuelen didn't work for chaine PBUF_RAMs:
elessair 0:f269e3021894 3060 changed snd_queuelen++ to snd_queuelen += pbuf_clen(p).
elessair 0:f269e3021894 3061
elessair 0:f269e3021894 3062 2007-07-24 Simon Goldschmidt
elessair 0:f269e3021894 3063 * api_msg.c, tcp.c: Fix bug #20480: Check the pcb passed to tcp_listen() for the
elessair 0:f269e3021894 3064 correct state (must be CLOSED).
elessair 0:f269e3021894 3065
elessair 0:f269e3021894 3066 2007-07-13 Thomas Taranowski (commited by Jared Grubb)
elessair 0:f269e3021894 3067 * memp.c: Fix bug #20478: memp_malloc returned NULL+MEMP_SIZE on failed
elessair 0:f269e3021894 3068 allocation. It now returns NULL.
elessair 0:f269e3021894 3069
elessair 0:f269e3021894 3070 2007-07-13 Frédéric Bernon
elessair 0:f269e3021894 3071 * api_msg.c: Fix bug #20318: api_msg "recv" callbacks don't call pbuf_free in
elessair 0:f269e3021894 3072 all error cases.
elessair 0:f269e3021894 3073
elessair 0:f269e3021894 3074 2007-07-13 Frédéric Bernon
elessair 0:f269e3021894 3075 * api_msg.c: Fix bug #20315: possible memory leak problem if tcp_listen failed,
elessair 0:f269e3021894 3076 because current code doesn't follow rawapi.txt documentation.
elessair 0:f269e3021894 3077
elessair 0:f269e3021894 3078 2007-07-13 Kieran Mansley
elessair 0:f269e3021894 3079 * src/core/tcp_in.c Apply patch#5741 from Oleg Tyshev to fix bug in
elessair 0:f269e3021894 3080 out of sequence processing of received packets
elessair 0:f269e3021894 3081
elessair 0:f269e3021894 3082 2007-07-03 Simon Goldschmidt
elessair 0:f269e3021894 3083 * nearly-all-files: Added assertions where PBUF_RAM pbufs are used and an
elessair 0:f269e3021894 3084 assumption is made that this pbuf is in one piece (i.e. not chained). These
elessair 0:f269e3021894 3085 assumptions clash with the possibility of converting to fully pool-based
elessair 0:f269e3021894 3086 pbuf implementations, where PBUF_RAM pbufs might be chained.
elessair 0:f269e3021894 3087
elessair 0:f269e3021894 3088 2007-07-03 Simon Goldschmidt
elessair 0:f269e3021894 3089 * api.h, api_lib.c, api_msg.c: Final fix for bug #20021 and some other problems
elessair 0:f269e3021894 3090 when closing tcp netconns: removed conn->sem, less context switches when
elessair 0:f269e3021894 3091 closing, both netconn_close and netconn_delete should safely close tcp
elessair 0:f269e3021894 3092 connections.
elessair 0:f269e3021894 3093
elessair 0:f269e3021894 3094 2007-07-02 Simon Goldschmidt
elessair 0:f269e3021894 3095 * ipv4/ip.h, ipv6/ip.h, opt.h, netif.h, etharp.h, ipv4/ip.c, netif.c, raw.c,
elessair 0:f269e3021894 3096 tcp_out.c, udp.c, etharp.c: Added option LWIP_NETIF_HWADDRHINT (default=off)
elessair 0:f269e3021894 3097 to cache ARP table indices with each pcb instead of single-entry cache for
elessair 0:f269e3021894 3098 the complete stack.
elessair 0:f269e3021894 3099
elessair 0:f269e3021894 3100 2007-07-02 Simon Goldschmidt
elessair 0:f269e3021894 3101 * tcp.h, tcp.c, tcp_in.c, tcp_out.c: Added some ASSERTS and casts to prevent
elessair 0:f269e3021894 3102 warnings when assigning to smaller types.
elessair 0:f269e3021894 3103
elessair 0:f269e3021894 3104 2007-06-28 Simon Goldschmidt
elessair 0:f269e3021894 3105 * tcp_out.c: Added check to prevent tcp_pcb->snd_queuelen from overflowing.
elessair 0:f269e3021894 3106
elessair 0:f269e3021894 3107 2007-06-28 Simon Goldschmidt
elessair 0:f269e3021894 3108 * tcp.h: Fixed bug #20287: Fixed nagle algorithm (sending was done too early if
elessair 0:f269e3021894 3109 a segment contained chained pbufs)
elessair 0:f269e3021894 3110
elessair 0:f269e3021894 3111 2007-06-28 Frédéric Bernon
elessair 0:f269e3021894 3112 * autoip.c: replace most of rand() calls by a macro LWIP_AUTOIP_RAND which compute
elessair 0:f269e3021894 3113 a "pseudo-random" value based on netif's MAC and some autoip fields. It's always
elessair 0:f269e3021894 3114 possible to define this macro in your own lwipopts.h to always use C library's
elessair 0:f269e3021894 3115 rand(). Note that autoip_create_rand_addr doesn't use this macro.
elessair 0:f269e3021894 3116
elessair 0:f269e3021894 3117 2007-06-28 Frédéric Bernon
elessair 0:f269e3021894 3118 * netifapi.h, netifapi.c, tcpip.h, tcpip.c: Update code to handle the option
elessair 0:f269e3021894 3119 LWIP_TCPIP_CORE_LOCKING, and do some changes to be coherent with last modifications
elessair 0:f269e3021894 3120 in api_lib/api_msg (use pointers and not type with table, etc...)
elessair 0:f269e3021894 3121
elessair 0:f269e3021894 3122 2007-06-26 Simon Goldschmidt
elessair 0:f269e3021894 3123 * udp.h: Fixed bug #20259: struct udp_hdr was lacking the packin defines.
elessair 0:f269e3021894 3124
elessair 0:f269e3021894 3125 2007-06-25 Simon Goldschmidt
elessair 0:f269e3021894 3126 * udp.c: Fixed bug #20253: icmp_dest_unreach was called with a wrong p->payload
elessair 0:f269e3021894 3127 for udp packets with no matching pcb.
elessair 0:f269e3021894 3128
elessair 0:f269e3021894 3129 2007-06-25 Simon Goldschmidt
elessair 0:f269e3021894 3130 * udp.c: Fixed bug #20220: UDP PCB search in udp_input(): a non-local match
elessair 0:f269e3021894 3131 could get udp input packets if the remote side matched.
elessair 0:f269e3021894 3132
elessair 0:f269e3021894 3133 2007-06-13 Simon Goldschmidt
elessair 0:f269e3021894 3134 * netif.c: Fixed bug #20180 (TCP pcbs listening on IP_ADDR_ANY could get
elessair 0:f269e3021894 3135 changed in netif_set_ipaddr if previous netif->ip_addr.addr was 0.
elessair 0:f269e3021894 3136
elessair 0:f269e3021894 3137 2007-06-13 Simon Goldschmidt
elessair 0:f269e3021894 3138 * api_msg.c: pcb_new sets conn->err if protocol is not implemented
elessair 0:f269e3021894 3139 -> netconn_new_..() does not allocate a new connection for unsupported
elessair 0:f269e3021894 3140 protocols.
elessair 0:f269e3021894 3141
elessair 0:f269e3021894 3142 2007-06-13 Frédéric Bernon, Simon Goldschmidt
elessair 0:f269e3021894 3143 * api_lib.c: change return expression in netconn_addr and netconn_peer, because
elessair 0:f269e3021894 3144 conn->err was reset to ERR_OK without any reasons (and error was lost)...
elessair 0:f269e3021894 3145
elessair 0:f269e3021894 3146 2007-06-13 Frédéric Bernon, Matthias Weisser
elessair 0:f269e3021894 3147 * opt.h, mem.h, mem.c, memp.c, pbuf.c, ip_frag.c, vj.c: Fix bug #20162. Rename
elessair 0:f269e3021894 3148 MEM_ALIGN in LWIP_MEM_ALIGN and MEM_ALIGN_SIZE in LWIP_MEM_ALIGN_SIZE to avoid
elessair 0:f269e3021894 3149 some macro names collision with some OS macros.
elessair 0:f269e3021894 3150
elessair 0:f269e3021894 3151 2007-06-11 Simon Goldschmidt
elessair 0:f269e3021894 3152 * udp.c: UDP Lite: corrected the use of chksum_len (based on RFC3828: if it's 0,
elessair 0:f269e3021894 3153 create checksum over the complete packet. On RX, if it's < 8 (and not 0),
elessair 0:f269e3021894 3154 discard the packet. Also removed the duplicate 'udphdr->chksum = 0' for both
elessair 0:f269e3021894 3155 UDP & UDP Lite.
elessair 0:f269e3021894 3156
elessair 0:f269e3021894 3157 2007-06-11 Srinivas Gollakota & Oleg Tyshev
elessair 0:f269e3021894 3158 * tcp_out.c: Fix for bug #20075 : "A problem with keep-alive timer and TCP flags"
elessair 0:f269e3021894 3159 where TCP flags wasn't initialized in tcp_keepalive.
elessair 0:f269e3021894 3160
elessair 0:f269e3021894 3161 2007-06-03 Simon Goldschmidt
elessair 0:f269e3021894 3162 * udp.c: udp_input(): Input pbuf was not freed if pcb had no recv function
elessair 0:f269e3021894 3163 registered, p->payload was modified without modifying p->len if sending
elessair 0:f269e3021894 3164 icmp_dest_unreach() (had no negative effect but was definitively wrong).
elessair 0:f269e3021894 3165
elessair 0:f269e3021894 3166 2007-06-03 Simon Goldschmidt
elessair 0:f269e3021894 3167 * icmp.c: Corrected bug #19937: For responding to an icmp echo request, icmp
elessair 0:f269e3021894 3168 re-used the input pbuf even if that didn't have enough space to include the
elessair 0:f269e3021894 3169 link headers. Now the space is tested and a new pbuf is allocated for the
elessair 0:f269e3021894 3170 echo response packet if the echo request pbuf isn't big enough.
elessair 0:f269e3021894 3171
elessair 0:f269e3021894 3172 2007-06-01 Simon Goldschmidt
elessair 0:f269e3021894 3173 * sockets.c: Checked in patch #5914: Moved sockopt processing into tcpip_thread.
elessair 0:f269e3021894 3174
elessair 0:f269e3021894 3175 2007-05-23 Frédéric Bernon
elessair 0:f269e3021894 3176 * api_lib.c, sockets.c: Fixed bug #5958 for netconn_listen (acceptmbox only
elessair 0:f269e3021894 3177 allocated by do_listen if success) and netconn_accept errors handling. In
elessair 0:f269e3021894 3178 most of api_lib functions, we replace some errors checkings like "if (conn==NULL)"
elessair 0:f269e3021894 3179 by ASSERT, except for netconn_delete.
elessair 0:f269e3021894 3180
elessair 0:f269e3021894 3181 2007-05-23 Frédéric Bernon
elessair 0:f269e3021894 3182 * api_lib.c: Fixed bug #5957 "Safe-thread problem inside netconn_recv" to return
elessair 0:f269e3021894 3183 an error code if it's impossible to fetch a pbuf on a TCP connection (and not
elessair 0:f269e3021894 3184 directly close the recvmbox).
elessair 0:f269e3021894 3185
elessair 0:f269e3021894 3186 2007-05-22 Simon Goldschmidt
elessair 0:f269e3021894 3187 * tcp.c: Fixed bug #1895 (tcp_bind not correct) by introducing a list of
elessair 0:f269e3021894 3188 bound but unconnected (and non-listening) tcp_pcbs.
elessair 0:f269e3021894 3189
elessair 0:f269e3021894 3190 2007-05-22 Frédéric Bernon
elessair 0:f269e3021894 3191 * sys.h, sys.c, api_lib.c, tcpip.c: remove sys_mbox_fetch_timeout() (was only
elessair 0:f269e3021894 3192 used for LWIP_SO_RCVTIMEO option) and use sys_arch_mbox_fetch() instead of
elessair 0:f269e3021894 3193 sys_mbox_fetch() in api files. Now, users SHOULD NOT use internal lwIP features
elessair 0:f269e3021894 3194 like "sys_timeout" in their application threads.
elessair 0:f269e3021894 3195
elessair 0:f269e3021894 3196 2007-05-22 Frédéric Bernon
elessair 0:f269e3021894 3197 * api.h, api_lib.c, api_msg.h, api_msg.c: change the struct api_msg_msg to see
elessair 0:f269e3021894 3198 which parameters are used by which do_xxx function, and to avoid "misusing"
elessair 0:f269e3021894 3199 parameters (patch #5938).
elessair 0:f269e3021894 3200
elessair 0:f269e3021894 3201 2007-05-22 Simon Goldschmidt
elessair 0:f269e3021894 3202 * api_lib.c, api_msg.c, raw.c, api.h, api_msg.h, raw.h: Included patch #5938:
elessair 0:f269e3021894 3203 changed raw_pcb.protocol from u16_t to u8_t since for IPv4 and IPv6, proto
elessair 0:f269e3021894 3204 is only 8 bits wide. This affects the api, as there, the protocol was
elessair 0:f269e3021894 3205 u16_t, too.
elessair 0:f269e3021894 3206
elessair 0:f269e3021894 3207 2007-05-18 Simon Goldschmidt
elessair 0:f269e3021894 3208 * memp.c: addition to patch #5913: smaller pointer was returned but
elessair 0:f269e3021894 3209 memp_memory was the same size -> did not save memory.
elessair 0:f269e3021894 3210
elessair 0:f269e3021894 3211 2007-05-16 Simon Goldschmidt
elessair 0:f269e3021894 3212 * loopif.c, slipif.c: Fix bug #19729: free pbuf if netif->input() returns
elessair 0:f269e3021894 3213 != ERR_OK.
elessair 0:f269e3021894 3214
elessair 0:f269e3021894 3215 2007-05-16 Simon Goldschmidt
elessair 0:f269e3021894 3216 * api_msg.c, udp.c: If a udp_pcb has a local_ip set, check if it is the same
elessair 0:f269e3021894 3217 as the one of the netif used for sending to prevent sending from old
elessair 0:f269e3021894 3218 addresses after a netif address gets changed (partly fixes bug #3168).
elessair 0:f269e3021894 3219
elessair 0:f269e3021894 3220 2007-05-16 Frédéric Bernon
elessair 0:f269e3021894 3221 * tcpip.c, igmp.h, igmp.c: Fixed bug "#19800 : IGMP: igmp_tick() will not work
elessair 0:f269e3021894 3222 with NO_SYS=1". Note that igmp_init is always in tcpip_thread (and not in
elessair 0:f269e3021894 3223 tcpip_init) because we have to be sure that network interfaces are already
elessair 0:f269e3021894 3224 added (mac filter is updated only in igmp_init for the moment).
elessair 0:f269e3021894 3225
elessair 0:f269e3021894 3226 2007-05-16 Simon Goldschmidt
elessair 0:f269e3021894 3227 * mem.c, memp.c: Removed semaphores from memp, changed sys_sem_wait calls
elessair 0:f269e3021894 3228 into sys_arch_sem_wait calls to prevent timers from running while waiting
elessair 0:f269e3021894 3229 for the heap. This fixes bug #19167.
elessair 0:f269e3021894 3230
elessair 0:f269e3021894 3231 2007-05-13 Simon Goldschmidt
elessair 0:f269e3021894 3232 * tcp.h, sockets.h, sockets.c: Fixed bug from patch #5865 by moving the defines
elessair 0:f269e3021894 3233 for socket options (lwip_set/-getsockopt) used with level IPPROTO_TCP from
elessair 0:f269e3021894 3234 tcp.h to sockets.h.
elessair 0:f269e3021894 3235
elessair 0:f269e3021894 3236 2007-05-07 Simon Goldschmidt
elessair 0:f269e3021894 3237 * mem.c: Another attempt to fix bug #17922.
elessair 0:f269e3021894 3238
elessair 0:f269e3021894 3239 2007-05-04 Simon Goldschmidt
elessair 0:f269e3021894 3240 * pbuf.c, pbuf.h, etharp.c: Further update to ARP queueing: Changed pbuf_copy()
elessair 0:f269e3021894 3241 implementation so that it can be reused (don't allocate the target
elessair 0:f269e3021894 3242 pbuf inside pbuf_copy()).
elessair 0:f269e3021894 3243
elessair 0:f269e3021894 3244 2007-05-04 Simon Goldschmidt
elessair 0:f269e3021894 3245 * memp.c: checked in patch #5913: in memp_malloc() we can return memp as mem
elessair 0:f269e3021894 3246 to save a little RAM (next pointer of memp is not used while not in pool).
elessair 0:f269e3021894 3247
elessair 0:f269e3021894 3248 2007-05-03 "maq"
elessair 0:f269e3021894 3249 * sockets.c: Fix ioctl FIONREAD when some data remains from last recv.
elessair 0:f269e3021894 3250 (patch #3574).
elessair 0:f269e3021894 3251
elessair 0:f269e3021894 3252 2007-04-23 Simon Goldschmidt
elessair 0:f269e3021894 3253 * loopif.c, loopif.h, opt.h, src/netif/FILES: fix bug #2595: "loopif results
elessair 0:f269e3021894 3254 in NULL reference for incoming TCP packets". Loopif has to be configured
elessair 0:f269e3021894 3255 (using LWIP_LOOPIF_MULTITHREADING) to directly call netif->input()
elessair 0:f269e3021894 3256 (multithreading environments, e.g. netif->input() = tcpip_input()) or
elessair 0:f269e3021894 3257 putting packets on a list that is fed to the stack by calling loopif_poll()
elessair 0:f269e3021894 3258 (single-thread / NO_SYS / polling environment where e.g.
elessair 0:f269e3021894 3259 netif->input() = ip_input).
elessair 0:f269e3021894 3260
elessair 0:f269e3021894 3261 2007-04-17 Jonathan Larmour
elessair 0:f269e3021894 3262 * pbuf.c: Use s32_t in pbuf_realloc(), as an s16_t can't reliably hold
elessair 0:f269e3021894 3263 the difference between two u16_t's.
elessair 0:f269e3021894 3264 * sockets.h: FD_SETSIZE needs to match number of sockets, which is
elessair 0:f269e3021894 3265 MEMP_NUM_NETCONN in sockets.c right now.
elessair 0:f269e3021894 3266
elessair 0:f269e3021894 3267 2007-04-12 Jonathan Larmour
elessair 0:f269e3021894 3268 * icmp.c: Reset IP header TTL in ICMP ECHO responses (bug #19580).
elessair 0:f269e3021894 3269
elessair 0:f269e3021894 3270 2007-04-12 Kieran Mansley
elessair 0:f269e3021894 3271 * tcp.c, tcp_in.c, tcp_out.c, tcp.h: Modify way the retransmission
elessair 0:f269e3021894 3272 timer is reset to fix bug#19434, with help from Oleg Tyshev.
elessair 0:f269e3021894 3273
elessair 0:f269e3021894 3274 2007-04-11 Simon Goldschmidt
elessair 0:f269e3021894 3275 * etharp.c, pbuf.c, pbuf.h: 3rd fix for bug #11400 (arp-queuing): More pbufs than
elessair 0:f269e3021894 3276 previously thought need to be copied (everything but PBUF_ROM!). Cleaned up
elessair 0:f269e3021894 3277 pbuf.c: removed functions no needed any more (by etharp).
elessair 0:f269e3021894 3278
elessair 0:f269e3021894 3279 2007-04-11 Kieran Mansley
elessair 0:f269e3021894 3280 * inet.c, ip_addr.h, sockets.h, sys.h, tcp.h: Apply patch #5745: Fix
elessair 0:f269e3021894 3281 "Constant is long" warnings with 16bit compilers. Contributed by
elessair 0:f269e3021894 3282 avatar@mmlab.cse.yzu.edu.tw
elessair 0:f269e3021894 3283
elessair 0:f269e3021894 3284 2007-04-05 Frédéric Bernon, Jonathan Larmour
elessair 0:f269e3021894 3285 * api_msg.c: Fix bug #16830: "err_tcp() posts to connection mailbox when no pend on
elessair 0:f269e3021894 3286 the mailbox is active". Now, the post is only done during a connect, and do_send,
elessair 0:f269e3021894 3287 do_write and do_join_leave_group don't do anything if a previous error was signaled.
elessair 0:f269e3021894 3288
elessair 0:f269e3021894 3289 2007-04-03 Frédéric Bernon
elessair 0:f269e3021894 3290 * ip.c: Don't set the IP_DF ("Don't fragment") flag in the IP header in IP output
elessair 0:f269e3021894 3291 packets. See patch #5834.
elessair 0:f269e3021894 3292
elessair 0:f269e3021894 3293 2007-03-30 Frédéric Bernon
elessair 0:f269e3021894 3294 * api_msg.c: add a "pcb_new" helper function to avoid redundant code, and to add
elessair 0:f269e3021894 3295 missing pcb allocations checking (in do_bind, and for each raw_new). Fix style.
elessair 0:f269e3021894 3296
elessair 0:f269e3021894 3297 2007-03-30 Frédéric Bernon
elessair 0:f269e3021894 3298 * most of files: prefix all debug.h define with "LWIP_" to avoid any conflict with
elessair 0:f269e3021894 3299 others environment defines (these were too "generic").
elessair 0:f269e3021894 3300
elessair 0:f269e3021894 3301 2007-03-28 Frédéric Bernon
elessair 0:f269e3021894 3302 * api.h, api_lib.c, sockets.c: netbuf_ref doesn't check its internal pbuf_alloc call
elessair 0:f269e3021894 3303 result and can cause a crash. lwip_send now check netbuf_ref result.
elessair 0:f269e3021894 3304
elessair 0:f269e3021894 3305 2007-03-28 Simon Goldschmidt
elessair 0:f269e3021894 3306 * sockets.c Remove "#include <errno.h>" from sockets.c to avoid multiple
elessair 0:f269e3021894 3307 definition of macros (in errno.h and lwip/arch.h) if LWIP_PROVIDE_ERRNO is
elessair 0:f269e3021894 3308 defined. This is the way it should have been already (looking at
elessair 0:f269e3021894 3309 doc/sys_arch.txt)
elessair 0:f269e3021894 3310
elessair 0:f269e3021894 3311 2007-03-28 Kieran Mansley
elessair 0:f269e3021894 3312 * opt.h Change default PBUF_POOL_BUFSIZE (again) to accomodate default MSS +
elessair 0:f269e3021894 3313 IP and TCP headers *and* physical link headers
elessair 0:f269e3021894 3314
elessair 0:f269e3021894 3315 2007-03-26 Frédéric Bernon (based on patch from Dmitry Potapov)
elessair 0:f269e3021894 3316 * api_lib.c: patch for netconn_write(), fixes a possible race condition which cause
elessair 0:f269e3021894 3317 to send some garbage. It is not a definitive solution, but the patch does solve
elessair 0:f269e3021894 3318 the problem for most cases.
elessair 0:f269e3021894 3319
elessair 0:f269e3021894 3320 2007-03-22 Frédéric Bernon
elessair 0:f269e3021894 3321 * api_msg.h, api_msg.c: Remove obsolete API_MSG_ACCEPT and do_accept (never used).
elessair 0:f269e3021894 3322
elessair 0:f269e3021894 3323 2007-03-22 Frédéric Bernon
elessair 0:f269e3021894 3324 * api_lib.c: somes resources couldn't be freed if there was errors during
elessair 0:f269e3021894 3325 netconn_new_with_proto_and_callback.
elessair 0:f269e3021894 3326
elessair 0:f269e3021894 3327 2007-03-22 Frédéric Bernon
elessair 0:f269e3021894 3328 * ethernetif.c: update netif->input calls to check return value. In older ports,
elessair 0:f269e3021894 3329 it's a good idea to upgrade them, even if before, there could be another problem
elessair 0:f269e3021894 3330 (access to an uninitialized mailbox).
elessair 0:f269e3021894 3331
elessair 0:f269e3021894 3332 2007-03-21 Simon Goldschmidt
elessair 0:f269e3021894 3333 * sockets.c: fixed bug #5067 (essentialy a signed/unsigned warning fixed
elessair 0:f269e3021894 3334 by casting to unsigned).
elessair 0:f269e3021894 3335
elessair 0:f269e3021894 3336 2007-03-21 Frédéric Bernon
elessair 0:f269e3021894 3337 * api_lib.c, api_msg.c, tcpip.c: integrate sys_mbox_fetch(conn->mbox, NULL) calls from
elessair 0:f269e3021894 3338 api_lib.c to tcpip.c's tcpip_apimsg(). Now, use a local variable and not a
elessair 0:f269e3021894 3339 dynamic one from memp to send tcpip_msg to tcpip_thread in a synchrone call.
elessair 0:f269e3021894 3340 Free tcpip_msg from tcpip_apimsg is not done in tcpip_thread. This give a
elessair 0:f269e3021894 3341 faster and more reliable communication between api_lib and tcpip.
elessair 0:f269e3021894 3342
elessair 0:f269e3021894 3343 2007-03-21 Frédéric Bernon
elessair 0:f269e3021894 3344 * opt.h: Add LWIP_NETIF_CALLBACK (to avoid compiler warning) and set it to 0.
elessair 0:f269e3021894 3345
elessair 0:f269e3021894 3346 2007-03-21 Frédéric Bernon
elessair 0:f269e3021894 3347 * api_msg.c, igmp.c, igmp.h: Fix C++ style comments
elessair 0:f269e3021894 3348
elessair 0:f269e3021894 3349 2007-03-21 Kieran Mansley
elessair 0:f269e3021894 3350 * opt.h Change default PBUF_POOL_BUFSIZE to accomodate default MSS +
elessair 0:f269e3021894 3351 IP and TCP headers
elessair 0:f269e3021894 3352
elessair 0:f269e3021894 3353 2007-03-21 Kieran Mansley
elessair 0:f269e3021894 3354 * Fix all uses of pbuf_header to check the return value. In some
elessair 0:f269e3021894 3355 cases just assert if it fails as I'm not sure how to fix them, but
elessair 0:f269e3021894 3356 this is no worse than before when they would carry on regardless
elessair 0:f269e3021894 3357 of the failure.
elessair 0:f269e3021894 3358
elessair 0:f269e3021894 3359 2007-03-21 Kieran Mansley
elessair 0:f269e3021894 3360 * sockets.c, igmp.c, igmp.h, memp.h: Fix C++ style comments and
elessair 0:f269e3021894 3361 comment out missing header include in icmp.c
elessair 0:f269e3021894 3362
elessair 0:f269e3021894 3363 2007-03-20 Frédéric Bernon
elessair 0:f269e3021894 3364 * memp.h, stats.c: Fix stats_display function where memp_names table wasn't
elessair 0:f269e3021894 3365 synchronized with memp.h.
elessair 0:f269e3021894 3366
elessair 0:f269e3021894 3367 2007-03-20 Frédéric Bernon
elessair 0:f269e3021894 3368 * tcpip.c: Initialize tcpip's mbox, and verify if initialized in tcpip_input,
elessair 0:f269e3021894 3369 tcpip_ethinput, tcpip_callback, tcpip_apimsg, to fix a init problem with
elessair 0:f269e3021894 3370 network interfaces. Also fix a compiler warning.
elessair 0:f269e3021894 3371
elessair 0:f269e3021894 3372 2007-03-20 Kieran Mansley
elessair 0:f269e3021894 3373 * udp.c: Only try and use pbuf_header() to make space for headers if
elessair 0:f269e3021894 3374 not a ROM or REF pbuf.
elessair 0:f269e3021894 3375
elessair 0:f269e3021894 3376 2007-03-19 Frédéric Bernon
elessair 0:f269e3021894 3377 * api_msg.h, api_msg.c, tcpip.h, tcpip.c: Add return types to tcpip_apimsg()
elessair 0:f269e3021894 3378 and api_msg_post().
elessair 0:f269e3021894 3379
elessair 0:f269e3021894 3380 2007-03-19 Frédéric Bernon
elessair 0:f269e3021894 3381 * Remove unimplemented "memp_realloc" function from memp.h.
elessair 0:f269e3021894 3382
elessair 0:f269e3021894 3383 2007-03-11 Simon Goldschmidt
elessair 0:f269e3021894 3384 * pbuf.c: checked in patch #5796: pbuf_alloc: len field claculation caused
elessair 0:f269e3021894 3385 memory corruption.
elessair 0:f269e3021894 3386
elessair 0:f269e3021894 3387 2007-03-11 Simon Goldschmidt (based on patch from Dmitry Potapov)
elessair 0:f269e3021894 3388 * api_lib.c, sockets.c, api.h, api_msg.h, sockets.h: Fixed bug #19251
elessair 0:f269e3021894 3389 (missing `const' qualifier in socket functions), to get more compatible to
elessair 0:f269e3021894 3390 standard POSIX sockets.
elessair 0:f269e3021894 3391
elessair 0:f269e3021894 3392 2007-03-11 Frédéric Bernon (based on patch from Dmitry Potapov)
elessair 0:f269e3021894 3393 * sockets.c: Add asserts inside bind, connect and sendto to check input
elessair 0:f269e3021894 3394 parameters. Remove excessive set_errno() calls after get_socket(), because
elessair 0:f269e3021894 3395 errno is set inside of get_socket(). Move last sock_set_errno() inside
elessair 0:f269e3021894 3396 lwip_close.
elessair 0:f269e3021894 3397
elessair 0:f269e3021894 3398 2007-03-09 Simon Goldschmidt
elessair 0:f269e3021894 3399 * memp.c: Fixed bug #11400: New etharp queueing introduced bug: memp_memory
elessair 0:f269e3021894 3400 was allocated too small.
elessair 0:f269e3021894 3401
elessair 0:f269e3021894 3402 2007-03-06 Simon Goldschmidt
elessair 0:f269e3021894 3403 * tcpip.c: Initialize dhcp timers in tcpip_thread (if LWIP_DHCP) to protect
elessair 0:f269e3021894 3404 the stack from concurrent access.
elessair 0:f269e3021894 3405
elessair 0:f269e3021894 3406 2007-03-06 Frédéric Bernon, Dmitry Potapov
elessair 0:f269e3021894 3407 * tcpip.c, ip_frag.c, ethernetif.c: Fix some build problems, and a redundancy
elessair 0:f269e3021894 3408 call to "lwip_stats.link.recv++;" in low_level_input() & ethernetif_input().
elessair 0:f269e3021894 3409
elessair 0:f269e3021894 3410 2007-03-06 Simon Goldschmidt
elessair 0:f269e3021894 3411 * ip_frag.c, ip_frag.h: Reduce code size: don't include code in those files
elessair 0:f269e3021894 3412 if IP_FRAG == 0 and IP_REASSEMBLY == 0
elessair 0:f269e3021894 3413
elessair 0:f269e3021894 3414 2007-03-06 Frédéric Bernon, Simon Goldschmidt
elessair 0:f269e3021894 3415 * opt.h, ip_frag.h, tcpip.h, tcpip.c, ethernetif.c: add new configuration
elessair 0:f269e3021894 3416 option named ETHARP_TCPIP_ETHINPUT, which enable the new tcpip_ethinput.
elessair 0:f269e3021894 3417 Allow to do ARP processing for incoming packets inside tcpip_thread
elessair 0:f269e3021894 3418 (protecting ARP layer against concurrent access). You can also disable
elessair 0:f269e3021894 3419 old code using tcp_input with new define ETHARP_TCPIP_INPUT set to 0.
elessair 0:f269e3021894 3420 Older ports have to use tcpip_ethinput.
elessair 0:f269e3021894 3421
elessair 0:f269e3021894 3422 2007-03-06 Simon Goldschmidt (based on patch from Dmitry Potapov)
elessair 0:f269e3021894 3423 * err.h, err.c: fixed compiler warning "initialization dircards qualifiers
elessair 0:f269e3021894 3424 from pointer target type"
elessair 0:f269e3021894 3425
elessair 0:f269e3021894 3426 2007-03-05 Frédéric Bernon
elessair 0:f269e3021894 3427 * opt.h, sockets.h: add new configuration options (LWIP_POSIX_SOCKETS_IO_NAMES,
elessair 0:f269e3021894 3428 ETHARP_TRUST_IP_MAC, review SO_REUSE)
elessair 0:f269e3021894 3429
elessair 0:f269e3021894 3430 2007-03-04 Frédéric Bernon
elessair 0:f269e3021894 3431 * api_msg.c: Remove some compiler warnings : parameter "pcb" was never
elessair 0:f269e3021894 3432 referenced.
elessair 0:f269e3021894 3433
elessair 0:f269e3021894 3434 2007-03-04 Frédéric Bernon
elessair 0:f269e3021894 3435 * api_lib.c: Fix "[patch #5764] api_lib.c cleanup: after patch #5687" (from
elessair 0:f269e3021894 3436 Dmitry Potapov).
elessair 0:f269e3021894 3437 The api_msg struct stay on the stack (not moved to netconn struct).
elessair 0:f269e3021894 3438
elessair 0:f269e3021894 3439 2007-03-04 Simon Goldschmidt (based on patch from Dmitry Potapov)
elessair 0:f269e3021894 3440 * pbuf.c: Fix BUG#19168 - pbuf_free can cause deadlock (if
elessair 0:f269e3021894 3441 SYS_LIGHTWEIGHT_PROT=1 & freeing PBUF_RAM when mem_sem is not available)
elessair 0:f269e3021894 3442 Also fixed cast warning in pbuf_alloc()
elessair 0:f269e3021894 3443
elessair 0:f269e3021894 3444 2007-03-04 Simon Goldschmidt
elessair 0:f269e3021894 3445 * etharp.c, etharp.h, memp.c, memp.h, opt.h: Fix BUG#11400 - don't corrupt
elessair 0:f269e3021894 3446 existing pbuf chain when enqueuing multiple pbufs to a pending ARP request
elessair 0:f269e3021894 3447
elessair 0:f269e3021894 3448 2007-03-03 Frédéric Bernon
elessair 0:f269e3021894 3449 * udp.c: remove obsolete line "static struct udp_pcb *pcb_cache = NULL;"
elessair 0:f269e3021894 3450 It is static, and never used in udp.c except udp_init().
elessair 0:f269e3021894 3451
elessair 0:f269e3021894 3452 2007-03-02 Simon Goldschmidt
elessair 0:f269e3021894 3453 * tcpip.c: Moved call to ip_init(), udp_init() and tcp_init() from
elessair 0:f269e3021894 3454 tcpip_thread() to tcpip_init(). This way, raw API connections can be
elessair 0:f269e3021894 3455 initialized before tcpip_thread is running (e.g. before OS is started)
elessair 0:f269e3021894 3456
elessair 0:f269e3021894 3457 2007-03-02 Frédéric Bernon
elessair 0:f269e3021894 3458 * rawapi.txt: Fix documentation mismatch with etharp.h about etharp_tmr's call
elessair 0:f269e3021894 3459 interval.
elessair 0:f269e3021894 3460
elessair 0:f269e3021894 3461 2007-02-28 Kieran Mansley
elessair 0:f269e3021894 3462 * pbuf.c: Fix BUG#17645 - ensure pbuf payload pointer is not moved
elessair 0:f269e3021894 3463 outside the region of the pbuf by pbuf_header()
elessair 0:f269e3021894 3464
elessair 0:f269e3021894 3465 2007-02-28 Kieran Mansley
elessair 0:f269e3021894 3466 * sockets.c: Fix BUG#19161 - ensure milliseconds timeout is non-zero
elessair 0:f269e3021894 3467 when supplied timeout is also non-zero
elessair 0:f269e3021894 3468
elessair 0:f269e3021894 3469 (STABLE-1.2.0)
elessair 0:f269e3021894 3470
elessair 0:f269e3021894 3471 2006-12-05 Leon Woestenberg
elessair 0:f269e3021894 3472 * CHANGELOG: Mention STABLE-1.2.0 release.
elessair 0:f269e3021894 3473
elessair 0:f269e3021894 3474 ++ New features:
elessair 0:f269e3021894 3475
elessair 0:f269e3021894 3476 2006-12-01 Christiaan Simons
elessair 0:f269e3021894 3477 * mem.h, opt.h: Added MEM_LIBC_MALLOC option.
elessair 0:f269e3021894 3478 Note this is a workaround. Currently I have no other options left.
elessair 0:f269e3021894 3479
elessair 0:f269e3021894 3480 2006-10-26 Christiaan Simons (accepted patch by Jonathan Larmour)
elessair 0:f269e3021894 3481 * ipv4/ip_frag.c: rename MAX_MTU to IP_FRAG_MAX_MTU and move define
elessair 0:f269e3021894 3482 to include/lwip/opt.h.
elessair 0:f269e3021894 3483 * ipv4/lwip/ip_frag.h: Remove unused IP_REASS_INTERVAL.
elessair 0:f269e3021894 3484 Move IP_REASS_MAXAGE and IP_REASS_BUFSIZE to include/lwip/opt.h.
elessair 0:f269e3021894 3485 * opt.h: Add above new options.
elessair 0:f269e3021894 3486
elessair 0:f269e3021894 3487 2006-08-18 Christiaan Simons
elessair 0:f269e3021894 3488 * tcp_{in,out}.c: added SNMP counters.
elessair 0:f269e3021894 3489 * ipv4/ip.c: added SNMP counters.
elessair 0:f269e3021894 3490 * ipv4/ip_frag.c: added SNMP counters.
elessair 0:f269e3021894 3491
elessair 0:f269e3021894 3492 2006-08-08 Christiaan Simons
elessair 0:f269e3021894 3493 * etharp.{c,h}: added etharp_find_addr() to read
elessair 0:f269e3021894 3494 (stable) ethernet/IP address pair from ARP table
elessair 0:f269e3021894 3495
elessair 0:f269e3021894 3496 2006-07-14 Christiaan Simons
elessair 0:f269e3021894 3497 * mib_structs.c: added
elessair 0:f269e3021894 3498 * include/lwip/snmp_structs.h: added
elessair 0:f269e3021894 3499 * netif.{c,h}, netif/ethernetif.c: added SNMP statistics to netif struct
elessair 0:f269e3021894 3500
elessair 0:f269e3021894 3501 2006-07-06 Christiaan Simons
elessair 0:f269e3021894 3502 * snmp/asn1_{enc,dec}.c added
elessair 0:f269e3021894 3503 * snmp/mib2.c added
elessair 0:f269e3021894 3504 * snmp/msg_{in,out}.c added
elessair 0:f269e3021894 3505 * include/lwip/snmp_asn1.h added
elessair 0:f269e3021894 3506 * include/lwip/snmp_msg.h added
elessair 0:f269e3021894 3507 * doc/snmp_agent.txt added
elessair 0:f269e3021894 3508
elessair 0:f269e3021894 3509 2006-03-29 Christiaan Simons
elessair 0:f269e3021894 3510 * inet.c, inet.h: Added platform byteswap support.
elessair 0:f269e3021894 3511 Added LWIP_PLATFORM_BYTESWAP define (defaults to 0) and
elessair 0:f269e3021894 3512 optional LWIP_PLATFORM_HTONS(), LWIP_PLATFORM_HTONL() macros.
elessair 0:f269e3021894 3513
elessair 0:f269e3021894 3514 ++ Bug fixes:
elessair 0:f269e3021894 3515
elessair 0:f269e3021894 3516 2006-11-30 Christiaan Simons
elessair 0:f269e3021894 3517 * dhcp.c: Fixed false triggers of request_timeout.
elessair 0:f269e3021894 3518
elessair 0:f269e3021894 3519 2006-11-28 Christiaan Simons
elessair 0:f269e3021894 3520 * netif.c: In netif_add() fixed missing clear of ip_addr, netmask, gw and flags.
elessair 0:f269e3021894 3521
elessair 0:f269e3021894 3522 2006-10-11 Christiaan Simons
elessair 0:f269e3021894 3523 * api_lib.c etharp.c, ip.c, memp.c, stats.c, sys.{c,h} tcp.h:
elessair 0:f269e3021894 3524 Partially accepted patch #5449 for ANSI C compatibility / build fixes.
elessair 0:f269e3021894 3525 * ipv4/lwip/ip.h ipv6/lwip/ip.h: Corrected UDP-Lite protocol
elessair 0:f269e3021894 3526 identifier from 170 to 136 (bug #17574).
elessair 0:f269e3021894 3527
elessair 0:f269e3021894 3528 2006-10-10 Christiaan Simons
elessair 0:f269e3021894 3529 * api_msg.c: Fixed Nagle algorithm as reported by Bob Grice.
elessair 0:f269e3021894 3530
elessair 0:f269e3021894 3531 2006-08-17 Christiaan Simons
elessair 0:f269e3021894 3532 * udp.c: Fixed bug #17200, added check for broadcast
elessair 0:f269e3021894 3533 destinations for PCBs bound to a unicast address.
elessair 0:f269e3021894 3534
elessair 0:f269e3021894 3535 2006-08-07 Christiaan Simons
elessair 0:f269e3021894 3536 * api_msg.c: Flushing TCP output in do_close() (bug #15926).
elessair 0:f269e3021894 3537
elessair 0:f269e3021894 3538 2006-06-27 Christiaan Simons
elessair 0:f269e3021894 3539 * api_msg.c: Applied patch for cold case (bug #11135).
elessair 0:f269e3021894 3540 In accept_function() ensure newconn->callback is always initialized.
elessair 0:f269e3021894 3541
elessair 0:f269e3021894 3542 2006-06-15 Christiaan Simons
elessair 0:f269e3021894 3543 * mem.h: added MEM_SIZE_F alias to fix an ancient cold case (bug #1748),
elessair 0:f269e3021894 3544 facilitate printing of mem_size_t and u16_t statistics.
elessair 0:f269e3021894 3545
elessair 0:f269e3021894 3546 2006-06-14 Christiaan Simons
elessair 0:f269e3021894 3547 * api_msg.c: Applied patch #5146 to handle allocation failures
elessair 0:f269e3021894 3548 in accept() by Kevin Lawson.
elessair 0:f269e3021894 3549
elessair 0:f269e3021894 3550 2006-05-26 Christiaan Simons
elessair 0:f269e3021894 3551 * api_lib.c: Removed conn->sem creation and destruction
elessair 0:f269e3021894 3552 from netconn_write() and added sys_sem_new to netconn_new_*.
elessair 0:f269e3021894 3553
elessair 0:f269e3021894 3554 (STABLE-1_1_1)
elessair 0:f269e3021894 3555
elessair 0:f269e3021894 3556 2006-03-03 Christiaan Simons
elessair 0:f269e3021894 3557 * ipv4/ip_frag.c: Added bound-checking assertions on ip_reassbitmap
elessair 0:f269e3021894 3558 access and added pbuf_alloc() return value checks.
elessair 0:f269e3021894 3559
elessair 0:f269e3021894 3560 2006-01-01 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3561 * tcp_{in,out}.c, tcp_out.c: Removed 'even sndbuf' fix in TCP, which is
elessair 0:f269e3021894 3562 now handled by the checksum routine properly.
elessair 0:f269e3021894 3563
elessair 0:f269e3021894 3564 2006-02-27 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3565 * pbuf.c: Fix alignment; pbuf_init() would not work unless
elessair 0:f269e3021894 3566 pbuf_pool_memory[] was properly aligned. (Patch by Curt McDowell.)
elessair 0:f269e3021894 3567
elessair 0:f269e3021894 3568 2005-12-20 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3569 * tcp.c: Remove PCBs which stay in LAST_ACK state too long. Patch
elessair 0:f269e3021894 3570 submitted by Mitrani Hiroshi.
elessair 0:f269e3021894 3571
elessair 0:f269e3021894 3572 2005-12-15 Christiaan Simons
elessair 0:f269e3021894 3573 * inet.c: Disabled the added summing routine to preserve code space.
elessair 0:f269e3021894 3574
elessair 0:f269e3021894 3575 2005-12-14 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3576 * tcp_in.c: Duplicate FIN ACK race condition fix by Kelvin Lawson.
elessair 0:f269e3021894 3577 Added Curt McDowell's optimized checksumming routine for future
elessair 0:f269e3021894 3578 inclusion. Need to create test case for unaliged, aligned, odd,
elessair 0:f269e3021894 3579 even length combination of cases on various endianess machines.
elessair 0:f269e3021894 3580
elessair 0:f269e3021894 3581 2005-12-09 Christiaan Simons
elessair 0:f269e3021894 3582 * inet.c: Rewrote standard checksum routine in proper portable C.
elessair 0:f269e3021894 3583
elessair 0:f269e3021894 3584 2005-11-25 Christiaan Simons
elessair 0:f269e3021894 3585 * udp.c tcp.c: Removed SO_REUSE hack. Should reside in socket code only.
elessair 0:f269e3021894 3586 * *.c: introduced cc.h LWIP_DEBUG formatters matching the u16_t, s16_t,
elessair 0:f269e3021894 3587 u32_t, s32_t typedefs. This solves most debug word-length assumes.
elessair 0:f269e3021894 3588
elessair 0:f269e3021894 3589 2005-07-17 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3590 * inet.c: Fixed unaligned 16-bit access in the standard checksum
elessair 0:f269e3021894 3591 routine by Peter Jolasson.
elessair 0:f269e3021894 3592 * slipif.c: Fixed implementation assumption of single-pbuf datagrams.
elessair 0:f269e3021894 3593
elessair 0:f269e3021894 3594 2005-02-04 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3595 * tcp_out.c: Fixed uninitialized 'queue' referenced in memerr branch.
elessair 0:f269e3021894 3596 * tcp_{out|in}.c: Applied patch fixing unaligned access.
elessair 0:f269e3021894 3597
elessair 0:f269e3021894 3598 2005-01-04 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3599 * pbuf.c: Fixed missing semicolon after LWIP_DEBUG statement.
elessair 0:f269e3021894 3600
elessair 0:f269e3021894 3601 2005-01-03 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3602 * udp.c: UDP pcb->recv() was called even when it was NULL.
elessair 0:f269e3021894 3603
elessair 0:f269e3021894 3604 (STABLE-1_1_0)
elessair 0:f269e3021894 3605
elessair 0:f269e3021894 3606 2004-12-28 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3607 * etharp.*: Disabled multiple packets on the ARP queue.
elessair 0:f269e3021894 3608 This clashes with TCP queueing.
elessair 0:f269e3021894 3609
elessair 0:f269e3021894 3610 2004-11-28 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3611 * etharp.*: Fixed race condition from ARP request to ARP timeout.
elessair 0:f269e3021894 3612 Halved the ARP period, doubled the period counts.
elessair 0:f269e3021894 3613 ETHARP_MAX_PENDING now should be at least 2. This prevents
elessair 0:f269e3021894 3614 the counter from reaching 0 right away (which would allow
elessair 0:f269e3021894 3615 too little time for ARP responses to be received).
elessair 0:f269e3021894 3616
elessair 0:f269e3021894 3617 2004-11-25 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3618 * dhcp.c: Decline messages were not multicast but unicast.
elessair 0:f269e3021894 3619 * etharp.c: ETHARP_CREATE is renamed to ETHARP_TRY_HARD.
elessair 0:f269e3021894 3620 Do not try hard to insert arbitrary packet's source address,
elessair 0:f269e3021894 3621 etharp_ip_input() now calls etharp_update() without ETHARP_TRY_HARD.
elessair 0:f269e3021894 3622 etharp_query() now always DOES call ETHARP_TRY_HARD so that users
elessair 0:f269e3021894 3623 querying an address will see it appear in the cache (DHCP could
elessair 0:f269e3021894 3624 suffer from this when a server invalidly gave an in-use address.)
elessair 0:f269e3021894 3625 * ipv4/ip_addr.h: Renamed ip_addr_maskcmp() to _netcmp() as we are
elessair 0:f269e3021894 3626 comparing network addresses (identifiers), not the network masks
elessair 0:f269e3021894 3627 themselves.
elessair 0:f269e3021894 3628 * ipv4/ip_addr.c: ip_addr_isbroadcast() now checks that the given
elessair 0:f269e3021894 3629 IP address actually belongs to the network of the given interface.
elessair 0:f269e3021894 3630
elessair 0:f269e3021894 3631 2004-11-24 Kieran Mansley <kjm25@cam.ac.uk>
elessair 0:f269e3021894 3632 * tcp.c: Increment pcb->snd_buf when ACK is received in SYN_SENT state.
elessair 0:f269e3021894 3633
elessair 0:f269e3021894 3634 (STABLE-1_1_0-RC1)
elessair 0:f269e3021894 3635
elessair 0:f269e3021894 3636 2004-10-16 Kieran Mansley <kjm25@cam.ac.uk>
elessair 0:f269e3021894 3637 * tcp.c: Add code to tcp_recved() to send an ACK (window update) immediately,
elessair 0:f269e3021894 3638 even if one is already pending, if the rcv_wnd is above a threshold
elessair 0:f269e3021894 3639 (currently TCP_WND/2). This avoids waiting for a timer to expire to send a
elessair 0:f269e3021894 3640 delayed ACK in order to open the window if the stack is only receiving data.
elessair 0:f269e3021894 3641
elessair 0:f269e3021894 3642 2004-09-12 Kieran Mansley <kjm25@cam.ac.uk>
elessair 0:f269e3021894 3643 * tcp*.*: Retransmit time-out handling improvement by Sam Jansen.
elessair 0:f269e3021894 3644
elessair 0:f269e3021894 3645 2004-08-20 Tony Mountifield <tony@softins.co.uk>
elessair 0:f269e3021894 3646 * etharp.c: Make sure the first pbuf queued on an ARP entry
elessair 0:f269e3021894 3647 is properly ref counted.
elessair 0:f269e3021894 3648
elessair 0:f269e3021894 3649 2004-07-27 Tony Mountifield <tony@softins.co.uk>
elessair 0:f269e3021894 3650 * debug.h: Added (int) cast in LWIP_DEBUGF() to avoid compiler
elessair 0:f269e3021894 3651 warnings about comparison.
elessair 0:f269e3021894 3652 * pbuf.c: Stopped compiler complaining of empty if statement
elessair 0:f269e3021894 3653 when LWIP_DEBUGF() empty. Closed an unclosed comment.
elessair 0:f269e3021894 3654 * tcp.c: Stopped compiler complaining of empty if statement
elessair 0:f269e3021894 3655 when LWIP_DEBUGF() empty.
elessair 0:f269e3021894 3656 * ip.h Corrected IPH_TOS() macro: returns a byte, so doesn't need htons().
elessair 0:f269e3021894 3657 * inet.c: Added a couple of casts to quiet the compiler.
elessair 0:f269e3021894 3658 No need to test isascii(c) before isdigit(c) or isxdigit(c).
elessair 0:f269e3021894 3659
elessair 0:f269e3021894 3660 2004-07-22 Tony Mountifield <tony@softins.co.uk>
elessair 0:f269e3021894 3661 * inet.c: Made data types consistent in inet_ntoa().
elessair 0:f269e3021894 3662 Added casts for return values of checksum routines, to pacify compiler.
elessair 0:f269e3021894 3663 * ip_frag.c, tcp_out.c, sockets.c, pbuf.c
elessair 0:f269e3021894 3664 Small corrections to some debugging statements, to pacify compiler.
elessair 0:f269e3021894 3665
elessair 0:f269e3021894 3666 2004-07-21 Tony Mountifield <tony@softins.co.uk>
elessair 0:f269e3021894 3667 * etharp.c: Removed spurious semicolon and added missing end-of-comment.
elessair 0:f269e3021894 3668 * ethernetif.c Updated low_level_output() to match prototype for
elessair 0:f269e3021894 3669 netif->linkoutput and changed low_level_input() similarly for consistency.
elessair 0:f269e3021894 3670 * api_msg.c: Changed recv_raw() from int to u8_t, to match prototype
elessair 0:f269e3021894 3671 of raw_recv() in raw.h and so avoid compiler error.
elessair 0:f269e3021894 3672 * sockets.c: Added trivial (int) cast to keep compiler happier.
elessair 0:f269e3021894 3673 * ip.c, netif.c Changed debug statements to use the tidier ip4_addrN() macros.
elessair 0:f269e3021894 3674
elessair 0:f269e3021894 3675 (STABLE-1_0_0)
elessair 0:f269e3021894 3676
elessair 0:f269e3021894 3677 ++ Changes:
elessair 0:f269e3021894 3678
elessair 0:f269e3021894 3679 2004-07-05 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3680 * sockets.*: Restructured LWIP_PRIVATE_TIMEVAL. Make sure
elessair 0:f269e3021894 3681 your cc.h file defines this either 1 or 0. If non-defined,
elessair 0:f269e3021894 3682 defaults to 1.
elessair 0:f269e3021894 3683 * .c: Added <string.h> and <errno.h> includes where used.
elessair 0:f269e3021894 3684 * etharp.c: Made some array indices unsigned.
elessair 0:f269e3021894 3685
elessair 0:f269e3021894 3686 2004-06-27 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3687 * netif.*: Added netif_set_up()/down().
elessair 0:f269e3021894 3688 * dhcp.c: Changes to restart program flow.
elessair 0:f269e3021894 3689
elessair 0:f269e3021894 3690 2004-05-07 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3691 * etharp.c: In find_entry(), instead of a list traversal per candidate, do a
elessair 0:f269e3021894 3692 single-pass lookup for different candidates. Should exploit locality.
elessair 0:f269e3021894 3693
elessair 0:f269e3021894 3694 2004-04-29 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3695 * tcp*.c: Cleaned up source comment documentation for Doxygen processing.
elessair 0:f269e3021894 3696 * opt.h: ETHARP_ALWAYS_INSERT option removed to comply with ARP RFC.
elessair 0:f269e3021894 3697 * etharp.c: update_arp_entry() only adds new ARP entries when adviced to by
elessair 0:f269e3021894 3698 the caller. This deprecates the ETHARP_ALWAYS_INSERT overrule option.
elessair 0:f269e3021894 3699
elessair 0:f269e3021894 3700 ++ Bug fixes:
elessair 0:f269e3021894 3701
elessair 0:f269e3021894 3702 2004-04-27 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3703 * etharp.c: Applied patch of bug #8708 by Toni Mountifield with a solution
elessair 0:f269e3021894 3704 suggested by Timmy Brolin. Fix for 32-bit processors that cannot access
elessair 0:f269e3021894 3705 non-aligned 32-bit words, such as soms 32-bit TCP/IP header fields. Fix
elessair 0:f269e3021894 3706 is to prefix the 14-bit Ethernet headers with two padding bytes.
elessair 0:f269e3021894 3707
elessair 0:f269e3021894 3708 2004-04-23 Leon Woestenberg <leon.woestenberg@gmx.net>
elessair 0:f269e3021894 3709 * ip_addr.c: Fix in the ip_addr_isbroadcast() check.
elessair 0:f269e3021894 3710 * etharp.c: Fixed the case where the packet that initiates the ARP request
elessair 0:f269e3021894 3711 is not queued, and gets lost. Fixed the case where the packets destination
elessair 0:f269e3021894 3712 address is already known; we now always queue the packet and perform an ARP
elessair 0:f269e3021894 3713 request.
elessair 0:f269e3021894 3714
elessair 0:f269e3021894 3715 (STABLE-0_7_0)
elessair 0:f269e3021894 3716
elessair 0:f269e3021894 3717 ++ Bug fixes:
elessair 0:f269e3021894 3718
elessair 0:f269e3021894 3719 * Fixed TCP bug for SYN_SENT to ESTABLISHED state transition.
elessair 0:f269e3021894 3720 * Fixed TCP bug in dequeueing of FIN from out of order segment queue.
elessair 0:f269e3021894 3721 * Fixed two possible NULL references in rare cases.
elessair 0:f269e3021894 3722
elessair 0:f269e3021894 3723 (STABLE-0_6_6)
elessair 0:f269e3021894 3724
elessair 0:f269e3021894 3725 ++ Bug fixes:
elessair 0:f269e3021894 3726
elessair 0:f269e3021894 3727 * Fixed DHCP which did not include the IP address in DECLINE messages.
elessair 0:f269e3021894 3728
elessair 0:f269e3021894 3729 ++ Changes:
elessair 0:f269e3021894 3730
elessair 0:f269e3021894 3731 * etharp.c has been hauled over a bit.
elessair 0:f269e3021894 3732
elessair 0:f269e3021894 3733 (STABLE-0_6_5)
elessair 0:f269e3021894 3734
elessair 0:f269e3021894 3735 ++ Bug fixes:
elessair 0:f269e3021894 3736
elessair 0:f269e3021894 3737 * Fixed TCP bug induced by bad window resizing with unidirectional TCP traffic.
elessair 0:f269e3021894 3738 * Packets sent from ARP queue had invalid source hardware address.
elessair 0:f269e3021894 3739
elessair 0:f269e3021894 3740 ++ Changes:
elessair 0:f269e3021894 3741
elessair 0:f269e3021894 3742 * Pass-by ARP requests do now update the cache.
elessair 0:f269e3021894 3743
elessair 0:f269e3021894 3744 ++ New features:
elessair 0:f269e3021894 3745
elessair 0:f269e3021894 3746 * No longer dependent on ctype.h.
elessair 0:f269e3021894 3747 * New socket options.
elessair 0:f269e3021894 3748 * Raw IP pcb support.
elessair 0:f269e3021894 3749
elessair 0:f269e3021894 3750 (STABLE-0_6_4)
elessair 0:f269e3021894 3751
elessair 0:f269e3021894 3752 ++ Bug fixes:
elessair 0:f269e3021894 3753
elessair 0:f269e3021894 3754 * Some debug formatters and casts fixed.
elessair 0:f269e3021894 3755 * Numereous fixes in PPP.
elessair 0:f269e3021894 3756
elessair 0:f269e3021894 3757 ++ Changes:
elessair 0:f269e3021894 3758
elessair 0:f269e3021894 3759 * DEBUGF now is LWIP_DEBUGF
elessair 0:f269e3021894 3760 * pbuf_dechain() has been re-enabled.
elessair 0:f269e3021894 3761 * Mentioned the changed use of CVS branches in README.
elessair 0:f269e3021894 3762
elessair 0:f269e3021894 3763 (STABLE-0_6_3)
elessair 0:f269e3021894 3764
elessair 0:f269e3021894 3765 ++ Bug fixes:
elessair 0:f269e3021894 3766
elessair 0:f269e3021894 3767 * Fixed pool pbuf memory leak in pbuf_alloc().
elessair 0:f269e3021894 3768 Occured if not enough PBUF_POOL pbufs for a packet pbuf chain.
elessair 0:f269e3021894 3769 Reported by Savin Zlobec.
elessair 0:f269e3021894 3770
elessair 0:f269e3021894 3771 * PBUF_POOL chains had their tot_len field not set for non-first
elessair 0:f269e3021894 3772 pbufs. Fixed in pbuf_alloc().
elessair 0:f269e3021894 3773
elessair 0:f269e3021894 3774 ++ New features:
elessair 0:f269e3021894 3775
elessair 0:f269e3021894 3776 * Added PPP stack contributed by Marc Boucher
elessair 0:f269e3021894 3777
elessair 0:f269e3021894 3778 ++ Changes:
elessair 0:f269e3021894 3779
elessair 0:f269e3021894 3780 * Now drops short packets for ICMP/UDP/TCP protocols. More robust.
elessair 0:f269e3021894 3781
elessair 0:f269e3021894 3782 * ARP queueuing now queues the latest packet instead of the first.
elessair 0:f269e3021894 3783 This is the RFC recommended behaviour, but can be overridden in
elessair 0:f269e3021894 3784 lwipopts.h.
elessair 0:f269e3021894 3785
elessair 0:f269e3021894 3786 (0.6.2)
elessair 0:f269e3021894 3787
elessair 0:f269e3021894 3788 ++ Bugfixes:
elessair 0:f269e3021894 3789
elessair 0:f269e3021894 3790 * TCP has been fixed to deal with the new use of the pbuf->ref
elessair 0:f269e3021894 3791 counter.
elessair 0:f269e3021894 3792
elessair 0:f269e3021894 3793 * DHCP dhcp_inform() crash bug fixed.
elessair 0:f269e3021894 3794
elessair 0:f269e3021894 3795 ++ Changes:
elessair 0:f269e3021894 3796
elessair 0:f269e3021894 3797 * Removed pbuf_pool_free_cache and pbuf_pool_alloc_cache. Also removed
elessair 0:f269e3021894 3798 pbuf_refresh(). This has sped up pbuf pool operations considerably.
elessair 0:f269e3021894 3799 Implemented by David Haas.
elessair 0:f269e3021894 3800
elessair 0:f269e3021894 3801 (0.6.1)
elessair 0:f269e3021894 3802
elessair 0:f269e3021894 3803 ++ New features:
elessair 0:f269e3021894 3804
elessair 0:f269e3021894 3805 * The packet buffer implementation has been enhanced to support
elessair 0:f269e3021894 3806 zero-copy and copy-on-demand for packet buffers which have their
elessair 0:f269e3021894 3807 payloads in application-managed memory.
elessair 0:f269e3021894 3808 Implemented by David Haas.
elessair 0:f269e3021894 3809
elessair 0:f269e3021894 3810 Use PBUF_REF to make a pbuf refer to RAM. lwIP will use zero-copy
elessair 0:f269e3021894 3811 if an outgoing packet can be directly sent on the link, or perform
elessair 0:f269e3021894 3812 a copy-on-demand when necessary.
elessair 0:f269e3021894 3813
elessair 0:f269e3021894 3814 The application can safely assume the packet is sent, and the RAM
elessair 0:f269e3021894 3815 is available to the application directly after calling udp_send()
elessair 0:f269e3021894 3816 or similar function.
elessair 0:f269e3021894 3817
elessair 0:f269e3021894 3818 ++ Bugfixes:
elessair 0:f269e3021894 3819
elessair 0:f269e3021894 3820 * ARP_QUEUEING should now correctly work for all cases, including
elessair 0:f269e3021894 3821 PBUF_REF.
elessair 0:f269e3021894 3822 Implemented by Leon Woestenberg.
elessair 0:f269e3021894 3823
elessair 0:f269e3021894 3824 ++ Changes:
elessair 0:f269e3021894 3825
elessair 0:f269e3021894 3826 * IP_ADDR_ANY is no longer a NULL pointer. Instead, it is a pointer
elessair 0:f269e3021894 3827 to a '0.0.0.0' IP address.
elessair 0:f269e3021894 3828
elessair 0:f269e3021894 3829 * The packet buffer implementation is changed. The pbuf->ref counter
elessair 0:f269e3021894 3830 meaning has changed, and several pbuf functions have been
elessair 0:f269e3021894 3831 adapted accordingly.
elessair 0:f269e3021894 3832
elessair 0:f269e3021894 3833 * netif drivers have to be changed to set the hardware address length field
elessair 0:f269e3021894 3834 that must be initialized correctly by the driver (hint: 6 for Ethernet MAC).
elessair 0:f269e3021894 3835 See the contrib/ports/c16x cs8900 driver as a driver example.
elessair 0:f269e3021894 3836
elessair 0:f269e3021894 3837 * netif's have a dhcp field that must be initialized to NULL by the driver.
elessair 0:f269e3021894 3838 See the contrib/ports/c16x cs8900 driver as a driver example.
elessair 0:f269e3021894 3839
elessair 0:f269e3021894 3840 (0.5.x) This file has been unmaintained up to 0.6.1. All changes are
elessair 0:f269e3021894 3841 logged in CVS but have not been explained here.
elessair 0:f269e3021894 3842
elessair 0:f269e3021894 3843 (0.5.3) Changes since version 0.5.2
elessair 0:f269e3021894 3844
elessair 0:f269e3021894 3845 ++ Bugfixes:
elessair 0:f269e3021894 3846
elessair 0:f269e3021894 3847 * memp_malloc(MEMP_API_MSG) could fail with multiple application
elessair 0:f269e3021894 3848 threads because it wasn't protected by semaphores.
elessair 0:f269e3021894 3849
elessair 0:f269e3021894 3850 ++ Other changes:
elessair 0:f269e3021894 3851
elessair 0:f269e3021894 3852 * struct ip_addr now packed.
elessair 0:f269e3021894 3853
elessair 0:f269e3021894 3854 * The name of the time variable in arp.c has been changed to ctime
elessair 0:f269e3021894 3855 to avoid conflicts with the time() function.
elessair 0:f269e3021894 3856
elessair 0:f269e3021894 3857 (0.5.2) Changes since version 0.5.1
elessair 0:f269e3021894 3858
elessair 0:f269e3021894 3859 ++ New features:
elessair 0:f269e3021894 3860
elessair 0:f269e3021894 3861 * A new TCP function, tcp_tmr(), now handles both TCP timers.
elessair 0:f269e3021894 3862
elessair 0:f269e3021894 3863 ++ Bugfixes:
elessair 0:f269e3021894 3864
elessair 0:f269e3021894 3865 * A bug in tcp_parseopt() could cause the stack to hang because of a
elessair 0:f269e3021894 3866 malformed TCP option.
elessair 0:f269e3021894 3867
elessair 0:f269e3021894 3868 * The address of new connections in the accept() function in the BSD
elessair 0:f269e3021894 3869 socket library was not handled correctly.
elessair 0:f269e3021894 3870
elessair 0:f269e3021894 3871 * pbuf_dechain() did not update the ->tot_len field of the tail.
elessair 0:f269e3021894 3872
elessair 0:f269e3021894 3873 * Aborted TCP connections were not handled correctly in all
elessair 0:f269e3021894 3874 situations.
elessair 0:f269e3021894 3875
elessair 0:f269e3021894 3876 ++ Other changes:
elessair 0:f269e3021894 3877
elessair 0:f269e3021894 3878 * All protocol header structs are now packed.
elessair 0:f269e3021894 3879
elessair 0:f269e3021894 3880 * The ->len field in the tcp_seg structure now counts the actual
elessair 0:f269e3021894 3881 amount of data, and does not add one for SYN and FIN segments.
elessair 0:f269e3021894 3882
elessair 0:f269e3021894 3883 (0.5.1) Changes since version 0.5.0
elessair 0:f269e3021894 3884
elessair 0:f269e3021894 3885 ++ New features:
elessair 0:f269e3021894 3886
elessair 0:f269e3021894 3887 * Possible to run as a user process under Linux.
elessair 0:f269e3021894 3888
elessair 0:f269e3021894 3889 * Preliminary support for cross platform packed structs.
elessair 0:f269e3021894 3890
elessair 0:f269e3021894 3891 * ARP timer now implemented.
elessair 0:f269e3021894 3892
elessair 0:f269e3021894 3893 ++ Bugfixes:
elessair 0:f269e3021894 3894
elessair 0:f269e3021894 3895 * TCP output queue length was badly initialized when opening
elessair 0:f269e3021894 3896 connections.
elessair 0:f269e3021894 3897
elessair 0:f269e3021894 3898 * TCP delayed ACKs were not sent correctly.
elessair 0:f269e3021894 3899
elessair 0:f269e3021894 3900 * Explicit initialization of BSS segment variables.
elessair 0:f269e3021894 3901
elessair 0:f269e3021894 3902 * read() in BSD socket library could drop data.
elessair 0:f269e3021894 3903
elessair 0:f269e3021894 3904 * Problems with memory alignment.
elessair 0:f269e3021894 3905
elessair 0:f269e3021894 3906 * Situations when all TCP buffers were used could lead to
elessair 0:f269e3021894 3907 starvation.
elessair 0:f269e3021894 3908
elessair 0:f269e3021894 3909 * TCP MSS option wasn't parsed correctly.
elessair 0:f269e3021894 3910
elessair 0:f269e3021894 3911 * Problems with UDP checksum calculation.
elessair 0:f269e3021894 3912
elessair 0:f269e3021894 3913 * IP multicast address tests had endianess problems.
elessair 0:f269e3021894 3914
elessair 0:f269e3021894 3915 * ARP requests had wrong destination hardware address.
elessair 0:f269e3021894 3916
elessair 0:f269e3021894 3917 ++ Other changes:
elessair 0:f269e3021894 3918
elessair 0:f269e3021894 3919 * struct eth_addr changed from u16_t[3] array to u8_t[6].
elessair 0:f269e3021894 3920
elessair 0:f269e3021894 3921 * A ->linkoutput() member was added to struct netif.
elessair 0:f269e3021894 3922
elessair 0:f269e3021894 3923 * TCP and UDP ->dest_* struct members where changed to ->remote_*.
elessair 0:f269e3021894 3924
elessair 0:f269e3021894 3925 * ntoh* macros are now null definitions for big endian CPUs.
elessair 0:f269e3021894 3926
elessair 0:f269e3021894 3927 (0.5.0) Changes since version 0.4.2
elessair 0:f269e3021894 3928
elessair 0:f269e3021894 3929 ++ New features:
elessair 0:f269e3021894 3930
elessair 0:f269e3021894 3931 * Redesigned operating system emulation layer to make porting easier.
elessair 0:f269e3021894 3932
elessair 0:f269e3021894 3933 * Better control over TCP output buffers.
elessair 0:f269e3021894 3934
elessair 0:f269e3021894 3935 * Documenation added.
elessair 0:f269e3021894 3936
elessair 0:f269e3021894 3937 ++ Bugfixes:
elessair 0:f269e3021894 3938
elessair 0:f269e3021894 3939 * Locking issues in buffer management.
elessair 0:f269e3021894 3940
elessair 0:f269e3021894 3941 * Bugfixes in the sequential API.
elessair 0:f269e3021894 3942
elessair 0:f269e3021894 3943 * IP forwarding could cause memory leakage. This has been fixed.
elessair 0:f269e3021894 3944
elessair 0:f269e3021894 3945 ++ Other changes:
elessair 0:f269e3021894 3946
elessair 0:f269e3021894 3947 * Directory structure somewhat changed; the core/ tree has been
elessair 0:f269e3021894 3948 collapsed.
elessair 0:f269e3021894 3949
elessair 0:f269e3021894 3950 (0.4.2) Changes since version 0.4.1
elessair 0:f269e3021894 3951
elessair 0:f269e3021894 3952 ++ New features:
elessair 0:f269e3021894 3953
elessair 0:f269e3021894 3954 * Experimental ARP implementation added.
elessair 0:f269e3021894 3955
elessair 0:f269e3021894 3956 * Skeleton Ethernet driver added.
elessair 0:f269e3021894 3957
elessair 0:f269e3021894 3958 * Experimental BSD socket API library added.
elessair 0:f269e3021894 3959
elessair 0:f269e3021894 3960 ++ Bugfixes:
elessair 0:f269e3021894 3961
elessair 0:f269e3021894 3962 * In very intense situations, memory leakage could occur. This has
elessair 0:f269e3021894 3963 been fixed.
elessair 0:f269e3021894 3964
elessair 0:f269e3021894 3965 ++ Other changes:
elessair 0:f269e3021894 3966
elessair 0:f269e3021894 3967 * Variables named "data" and "code" have been renamed in order to
elessair 0:f269e3021894 3968 avoid name conflicts in certain compilers.
elessair 0:f269e3021894 3969
elessair 0:f269e3021894 3970 * Variable++ have in appliciable cases been translated to ++variable
elessair 0:f269e3021894 3971 since some compilers generate better code in the latter case.
elessair 0:f269e3021894 3972
elessair 0:f269e3021894 3973 (0.4.1) Changes since version 0.4
elessair 0:f269e3021894 3974
elessair 0:f269e3021894 3975 ++ New features:
elessair 0:f269e3021894 3976
elessair 0:f269e3021894 3977 * TCP: Connection attempts time out earlier than data
elessair 0:f269e3021894 3978 transmissions. Nagle algorithm implemented. Push flag set on the
elessair 0:f269e3021894 3979 last segment in a burst.
elessair 0:f269e3021894 3980
elessair 0:f269e3021894 3981 * UDP: experimental support for UDP-Lite extensions.
elessair 0:f269e3021894 3982
elessair 0:f269e3021894 3983 ++ Bugfixes:
elessair 0:f269e3021894 3984
elessair 0:f269e3021894 3985 * TCP: out of order segments were in some cases handled incorrectly,
elessair 0:f269e3021894 3986 and this has now been fixed. Delayed acknowledgements was broken
elessair 0:f269e3021894 3987 in 0.4, has now been fixed. Binding to an address that is in use
elessair 0:f269e3021894 3988 now results in an error. Reset connections sometimes hung an
elessair 0:f269e3021894 3989 application; this has been fixed.
elessair 0:f269e3021894 3990
elessair 0:f269e3021894 3991 * Checksum calculation sometimes failed for chained pbufs with odd
elessair 0:f269e3021894 3992 lengths. This has been fixed.
elessair 0:f269e3021894 3993
elessair 0:f269e3021894 3994 * API: a lot of bug fixes in the API. The UDP API has been improved
elessair 0:f269e3021894 3995 and tested. Error reporting and handling has been
elessair 0:f269e3021894 3996 improved. Logical flaws and race conditions for incoming TCP
elessair 0:f269e3021894 3997 connections has been found and removed.
elessair 0:f269e3021894 3998
elessair 0:f269e3021894 3999 * Memory manager: alignment issues. Reallocating memory sometimes
elessair 0:f269e3021894 4000 failed, this has been fixed.
elessair 0:f269e3021894 4001
elessair 0:f269e3021894 4002 * Generic library: bcopy was flawed and has been fixed.
elessair 0:f269e3021894 4003
elessair 0:f269e3021894 4004 ++ Other changes:
elessair 0:f269e3021894 4005
elessair 0:f269e3021894 4006 * API: all datatypes has been changed from generic ones such as
elessair 0:f269e3021894 4007 ints, to specified ones such as u16_t. Functions that return
elessair 0:f269e3021894 4008 errors now have the correct type (err_t).
elessair 0:f269e3021894 4009
elessair 0:f269e3021894 4010 * General: A lot of code cleaned up and debugging code removed. Many
elessair 0:f269e3021894 4011 portability issues have been fixed.
elessair 0:f269e3021894 4012
elessair 0:f269e3021894 4013 * The license was changed; the advertising clause was removed.
elessair 0:f269e3021894 4014
elessair 0:f269e3021894 4015 * C64 port added.
elessair 0:f269e3021894 4016
elessair 0:f269e3021894 4017 * Thanks: Huge thanks go to Dagan Galarneau, Horst Garnetzke, Petri
elessair 0:f269e3021894 4018 Kosunen, Mikael Caleres, and Frits Wilmink for reporting and
elessair 0:f269e3021894 4019 fixing bugs!
elessair 0:f269e3021894 4020
elessair 0:f269e3021894 4021 (0.4) Changes since version 0.3.1
elessair 0:f269e3021894 4022
elessair 0:f269e3021894 4023 * Memory management has been radically changed; instead of
elessair 0:f269e3021894 4024 allocating memory from a shared heap, memory for objects that are
elessair 0:f269e3021894 4025 rapidly allocated and deallocated is now kept in pools. Allocation
elessair 0:f269e3021894 4026 and deallocation from those memory pools is very fast. The shared
elessair 0:f269e3021894 4027 heap is still present but is used less frequently.
elessair 0:f269e3021894 4028
elessair 0:f269e3021894 4029 * The memory, memory pool, and packet buffer subsystems now support
elessair 0:f269e3021894 4030 4-, 2-, or 1-byte alignment.
elessair 0:f269e3021894 4031
elessair 0:f269e3021894 4032 * "Out of memory" situations are handled in a more robust way.
elessair 0:f269e3021894 4033
elessair 0:f269e3021894 4034 * Stack usage has been reduced.
elessair 0:f269e3021894 4035
elessair 0:f269e3021894 4036 * Easier configuration of lwIP parameters such as memory usage,
elessair 0:f269e3021894 4037 TTLs, statistics gathering, etc. All configuration parameters are
elessair 0:f269e3021894 4038 now kept in a single header file "lwipopts.h".
elessair 0:f269e3021894 4039
elessair 0:f269e3021894 4040 * The directory structure has been changed slightly so that all
elessair 0:f269e3021894 4041 architecture specific files are kept under the src/arch
elessair 0:f269e3021894 4042 hierarchy.
elessair 0:f269e3021894 4043
elessair 0:f269e3021894 4044 * Error propagation has been improved, both in the protocol modules
elessair 0:f269e3021894 4045 and in the API.
elessair 0:f269e3021894 4046
elessair 0:f269e3021894 4047 * The code for the RTXC architecture has been implemented, tested
elessair 0:f269e3021894 4048 and put to use.
elessair 0:f269e3021894 4049
elessair 0:f269e3021894 4050 * Bugs have been found and corrected in the TCP, UDP, IP, API, and
elessair 0:f269e3021894 4051 the Internet checksum modules.
elessair 0:f269e3021894 4052
elessair 0:f269e3021894 4053 * Bugs related to porting between a 32-bit and a 16-bit architecture
elessair 0:f269e3021894 4054 have been found and corrected.
elessair 0:f269e3021894 4055
elessair 0:f269e3021894 4056 * The license has been changed slightly to conform more with the
elessair 0:f269e3021894 4057 original BSD license, including the advertisement clause.
elessair 0:f269e3021894 4058
elessair 0:f269e3021894 4059 (0.3.1) Changes since version 0.3
elessair 0:f269e3021894 4060
elessair 0:f269e3021894 4061 * Fix of a fatal bug in the buffer management. Pbufs with allocated
elessair 0:f269e3021894 4062 RAM never returned the RAM when the pbuf was deallocated.
elessair 0:f269e3021894 4063
elessair 0:f269e3021894 4064 * TCP congestion control, window updates and retransmissions did not
elessair 0:f269e3021894 4065 work correctly. This has now been fixed.
elessair 0:f269e3021894 4066
elessair 0:f269e3021894 4067 * Bugfixes in the API.
elessair 0:f269e3021894 4068
elessair 0:f269e3021894 4069 (0.3) Changes since version 0.2
elessair 0:f269e3021894 4070
elessair 0:f269e3021894 4071 * New and improved directory structure. All include files are now
elessair 0:f269e3021894 4072 kept in a dedicated include/ directory.
elessair 0:f269e3021894 4073
elessair 0:f269e3021894 4074 * The API now has proper error handling. A new function,
elessair 0:f269e3021894 4075 netconn_err(), now returns an error code for the connection in
elessair 0:f269e3021894 4076 case of errors.
elessair 0:f269e3021894 4077
elessair 0:f269e3021894 4078 * Improvements in the memory management subsystem. The system now
elessair 0:f269e3021894 4079 keeps a pointer to the lowest free memory block. A new function,
elessair 0:f269e3021894 4080 mem_malloc2() tries to allocate memory once, and if it fails tries
elessair 0:f269e3021894 4081 to free some memory and retry the allocation.
elessair 0:f269e3021894 4082
elessair 0:f269e3021894 4083 * Much testing has been done with limited memory
elessair 0:f269e3021894 4084 configurations. lwIP now does a better job when overloaded.
elessair 0:f269e3021894 4085
elessair 0:f269e3021894 4086 * Some bugfixes and improvements to the buffer (pbuf) subsystem.
elessair 0:f269e3021894 4087
elessair 0:f269e3021894 4088 * Many bugfixes in the TCP code:
elessair 0:f269e3021894 4089
elessair 0:f269e3021894 4090 - Fixed a bug in tcp_close().
elessair 0:f269e3021894 4091
elessair 0:f269e3021894 4092 - The TCP receive window was incorrectly closed when out of
elessair 0:f269e3021894 4093 sequence segments was received. This has been fixed.
elessair 0:f269e3021894 4094
elessair 0:f269e3021894 4095 - Connections are now timed-out of the FIN-WAIT-2 state.
elessair 0:f269e3021894 4096
elessair 0:f269e3021894 4097 - The initial congestion window could in some cases be too
elessair 0:f269e3021894 4098 large. This has been fixed.
elessair 0:f269e3021894 4099
elessair 0:f269e3021894 4100 - The retransmission queue could in some cases be screwed up. This
elessair 0:f269e3021894 4101 has been fixed.
elessair 0:f269e3021894 4102
elessair 0:f269e3021894 4103 - TCP RST flag now handled correctly.
elessair 0:f269e3021894 4104
elessair 0:f269e3021894 4105 - Out of sequence data was in some cases never delivered to the
elessair 0:f269e3021894 4106 application. This has been fixed.
elessair 0:f269e3021894 4107
elessair 0:f269e3021894 4108 - Retransmitted segments now contain the correct acknowledgment
elessair 0:f269e3021894 4109 number and advertised window.
elessair 0:f269e3021894 4110
elessair 0:f269e3021894 4111 - TCP retransmission timeout backoffs are not correctly computed
elessair 0:f269e3021894 4112 (ala BSD). After a number of retransmissions, TCP now gives up
elessair 0:f269e3021894 4113 the connection.
elessair 0:f269e3021894 4114
elessair 0:f269e3021894 4115 * TCP connections now are kept on three lists, one for active
elessair 0:f269e3021894 4116 connections, one for listening connections, and one for
elessair 0:f269e3021894 4117 connections that are in TIME-WAIT. This greatly speeds up the fast
elessair 0:f269e3021894 4118 timeout processing for sending delayed ACKs.
elessair 0:f269e3021894 4119
elessair 0:f269e3021894 4120 * TCP now provides proper feedback to the application when a
elessair 0:f269e3021894 4121 connection has been successfully set up.
elessair 0:f269e3021894 4122
elessair 0:f269e3021894 4123 * More comments have been added to the code. The code has also been
elessair 0:f269e3021894 4124 somewhat cleaned up.
elessair 0:f269e3021894 4125
elessair 0:f269e3021894 4126 (0.2) Initial public release.