mbed-os for GR-LYCHEE

Dependents:   mbed-os-example-blinky-gr-lychee GR-Boads_Camera_sample GR-Boards_Audio_Recoder GR-Boads_Camera_DisplayApp ... more

Committer:
dkato
Date:
Fri Feb 02 05:42:23 2018 +0000
Revision:
0:f782d9c66c49
mbed-os for GR-LYCHEE

Who changed what in which revision?

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