]>
rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/log
goldsimon [Wed, 20 May 2009 18:59:05 +0000 (18:59 +0000)]
Added note about printf formatter defines
goldsimon [Wed, 20 May 2009 18:33:45 +0000 (18:33 +0000)]
Corrected structure packing
goldsimon [Tue, 19 May 2009 18:11:01 +0000 (18:11 +0000)]
Corrected function implementation of ip_current_* (void was missing)
goldsimon [Tue, 19 May 2009 05:40:30 +0000 (05:40 +0000)]
Corrected function definition of ip_current_* (void was missing)
goldsimon [Mon, 18 May 2009 17:56:01 +0000 (17:56 +0000)]
Moved function definition below defines and typedefs, added missing include to netif.h
goldsimon [Tue, 12 May 2009 20:13:45 +0000 (20:13 +0000)]
fixed bug #26507: "Gratuitous ARP depends on arp_table / uses etharp_query" by adding etharp_gratuitous()
goldsimon [Tue, 12 May 2009 18:00:47 +0000 (18:00 +0000)]
bug #26487: Added ip_output_if_opt that can add IP options to the IP header (used by igmp_ip_output_if)
goldsimon [Mon, 11 May 2009 16:11:18 +0000 (16:11 +0000)]
Fixed compilation if LWIP_PLATFORM_BYTESWAP && (BYTE_ORDER == LITTLE_ENDIAN)
goldsimon [Sun, 10 May 2009 17:07:25 +0000 (17:07 +0000)]
task #7013: Added option LWIP_NETIF_TX_SINGLE_PBUF to try to create transmit packets from only one pbuf to help MACs that don't support scatter-gather DMA.
goldsimon [Sat, 9 May 2009 08:36:36 +0000 (08:36 +0000)]
Shrinked ICMP code, added option to NOT check icoming ECHO pbuf for size (just use it): LWIP_ICMP_ECHO_CHECK_INPUT_PBUF_LEN
goldsimon [Thu, 7 May 2009 15:27:02 +0000 (15:27 +0000)]
Worked on dns: local host-list can be put into FLASH (by defining storage target/linker section), external function can be defined for lookup, combined dns_local_removehostname/removehostaddr to dns_local_removehost
goldsimon [Thu, 7 May 2009 14:20:37 +0000 (14:20 +0000)]
Added netbuf.h to files that may be called from any thread
goldsimon [Thu, 7 May 2009 14:15:51 +0000 (14:15 +0000)]
Added more threading info
goldsimon [Wed, 6 May 2009 17:35:50 +0000 (17:35 +0000)]
On little endian architectures, use LWIP_PLATFORM_HTONS (if defined) for SWAP_BYTES_IN_WORD to speed up checksumming.
goldsimon [Wed, 6 May 2009 17:30:18 +0000 (17:30 +0000)]
Patch #6823: tcp_in.c - small optimization
goldsimon [Wed, 6 May 2009 15:35:13 +0000 (15:35 +0000)]
Added #if LWIP_SNMP around snmp-internal header files
goldsimon [Tue, 5 May 2009 19:33:41 +0000 (19:33 +0000)]
Added a word or two on threading, which should be sufficient to close task #6683
goldsimon [Tue, 5 May 2009 17:50:39 +0000 (17:50 +0000)]
Added ip_current_netif() & ip_current_header() to receive extended info about the currently received packet.
goldsimon [Tue, 5 May 2009 17:20:45 +0000 (17:20 +0000)]
Fixed bug #26405: Prematurely released semaphore causes lwip_select() to crash
goldsimon [Mon, 4 May 2009 19:22:26 +0000 (19:22 +0000)]
snmp was not initialized in lwip_init()
fbernon [Mon, 4 May 2009 08:50:24 +0000 (08:50 +0000)]
CHANGELOG: minor, typo
fbernon [Mon, 4 May 2009 08:40:44 +0000 (08:40 +0000)]
dhcp.c, netbios.c: Changes if IF_SOF_BROADCAST is enabled.
goldsimon [Sun, 3 May 2009 14:17:33 +0000 (14:17 +0000)]
Fixed bug #26349: Nagle algorithm doesn't send although segment is full (and unsent->next == NULL)
goldsimon [Sat, 2 May 2009 16:12:35 +0000 (16:12 +0000)]
fixed tcpip_untimeout (does not need the time, broken after 1.3.0 in CVS only) - fixes compilation of ppp_oe.c
goldsimon [Sat, 2 May 2009 15:45:53 +0000 (15:45 +0000)]
fixed bug #25636: SNMPSET value is ignored for integer fields
goldsimon [Sat, 2 May 2009 15:40:39 +0000 (15:40 +0000)]
Addition to patch #6721, bug #25575: call autoip_stop in dhcp_stop if in coop-mode
goldsimon [Fri, 1 May 2009 12:10:34 +0000 (12:10 +0000)]
Fixed bug #21680: PPP upap_rauthnak() drops legal NAK packets
goldsimon [Fri, 1 May 2009 11:42:36 +0000 (11:42 +0000)]
Fixed bug #24228: Memory corruption with PPP and DHCP
fbernon [Wed, 29 Apr 2009 12:42:43 +0000 (12:42 +0000)]
raw.c, udp.c, init.c, opt.h, ip.h, sockets.h: bug #26309: Implement the SO(F)_BROADCAST filter for all API layers. Avoid the unindented reception of broadcast packets even when this option wasn't set. Port maintainers which want to enable this filter have to set IP_SOF_BROADCAST=1 in opt.h. If you want this option also filter broadcast on recv operations, you also have to set IP_SOF_BROADCAST_RECV=1 in opt.h.
fbernon [Wed, 29 Apr 2009 12:39:16 +0000 (12:39 +0000)]
netif.c: minor, fix a warning
goldsimon [Tue, 28 Apr 2009 19:29:46 +0000 (19:29 +0000)]
Integrated patch #6721: new option to adjust the time when DHCP gives over to AUTOIP and some improvements in DHCP/AUTOIP cooperation
goldsimon [Mon, 27 Apr 2009 20:09:52 +0000 (20:09 +0000)]
Bug #25608: Made SYS_LIGHTWEIGHT_PROT and sys_now() work with NO_SYS=1
goldsimon [Mon, 27 Apr 2009 19:00:23 +0000 (19:00 +0000)]
Fixed a bug in tcp_enqueue introduced with v1.79 of this file while fixing bug #25094 (zero-length pbuf)
goldsimon [Sun, 26 Apr 2009 12:27:11 +0000 (12:27 +0000)]
fixed bug #24212: "Deadlocked tcp_retransmit due to exceeded pcb->cwnd": Fixed by sorting the unsent and unacked queues (segments are inserted at the right place in tcp_output and tcp_rexmit)
goldsimon [Sat, 25 Apr 2009 17:42:27 +0000 (17:42 +0000)]
bug #26213 "Problem with memory allocation when debugging": memp_sizes contained the wrong sizes (including sanity regions); memp pools for MEM_USE_POOLS were too small; Added option MEM_USE_POOLS_TRY_BIGGER_POOL to try the next bigger malloc pool if one is empty (only usable with MEM_USE_POOLS).
fbernon [Fri, 24 Apr 2009 12:14:54 +0000 (12:14 +0000)]
inet.c: patch #6765: Fix a small problem with the last changes (incorrect behavior, with ip address string not ended by a '\0', a space or a end of line)
goldsimon [Thu, 23 Apr 2009 16:54:30 +0000 (16:54 +0000)]
Fixed some issues with DNS_LOCAL_HOSTLIST
fbernon [Thu, 23 Apr 2009 15:28:52 +0000 (15:28 +0000)]
init.c: typo
fbernon [Thu, 23 Apr 2009 14:41:52 +0000 (14:41 +0000)]
netdb.c: remplace some %#p by %p to be more portable.
goldsimon [Tue, 21 Apr 2009 19:15:16 +0000 (19:15 +0000)]
Fixed bug #26069: Corrected documentation: if tcp_connect fails, pcb->err is called, not pcb->connected (with an error code).
goldsimon [Tue, 21 Apr 2009 18:35:18 +0000 (18:35 +0000)]
task #7507, patch #6786: DNS supports static hosts table. New configuration options DNS_LOCAL_HOSTLIST and DNS_LOCAL_HOSTLIST_IS_DYNAMIC.
goldsimon [Sun, 19 Apr 2009 12:42:48 +0000 (12:42 +0000)]
Fixed bug #26236: "TCP options (timestamp) don't work with no-copy-tcpwrite": deallocate option data, only concat segments with same flags
goldsimon [Sun, 19 Apr 2009 12:31:16 +0000 (12:31 +0000)]
Fixed bug #25094: "Zero-length pbuf" (options are now allocated in the header pbuf, not the data pbuf); added function comments; "inline" is not supported by ANSI C (tcp_build_timetamp_option)
goldsimon [Sun, 19 Apr 2009 12:17:59 +0000 (12:17 +0000)]
tcp_listen_input: format code for #if LWIP_TCP_TIMESTAMPS that calls tcp_enqueue like the other calls.
goldsimon [Sat, 18 Apr 2009 17:48:41 +0000 (17:48 +0000)]
fixed bug #25695: Segmentation fault in do_writemore()
goldsimon [Fri, 17 Apr 2009 10:14:09 +0000 (10:14 +0000)]
Changed ??? to LINK_SPEED_OF_YOUR_NETIF_IN_BPS
goldsimon [Wed, 15 Apr 2009 21:13:55 +0000 (21:13 +0000)]
tried to fix bug #23559: lwip_recvfrom problem with tcp
goldsimon [Wed, 15 Apr 2009 21:04:19 +0000 (21:04 +0000)]
Converted netconn_type() from a function to a macro
goldsimon [Wed, 15 Apr 2009 19:53:59 +0000 (19:53 +0000)]
task #9192: mem_free of dhcp->options_in and dhcp->msg_in
goldsimon [Wed, 15 Apr 2009 19:32:01 +0000 (19:32 +0000)]
patch #6808: Add a utility function ip_hinted_output() (for smaller code mainly)
goldsimon [Wed, 15 Apr 2009 19:06:39 +0000 (19:06 +0000)]
patch #6765: Supporting new line characters in inet_aton()
goldsimon [Wed, 15 Apr 2009 18:48:10 +0000 (18:48 +0000)]
patch #6763: Global DHCP XID can be redefined to something more unique
goldsimon [Wed, 15 Apr 2009 18:35:04 +0000 (18:35 +0000)]
patch #6764: DHCP rebind and renew did not send hostnam option; Converted constant OPTION_MAX_MSG_SIZE to netif->mtu, check if netif->mtu is big enough in dhcp_start
goldsimon [Wed, 15 Apr 2009 14:57:32 +0000 (14:57 +0000)]
bug #26027: netbuf_chain resulted in pbuf memory leak
goldsimon [Wed, 15 Apr 2009 14:48:56 +0000 (14:48 +0000)]
bug #25763: Corrected 4 occurrences of SMEMCPY to MEMCPY; corrected indentation
goldsimon [Wed, 15 Apr 2009 14:33:05 +0000 (14:33 +0000)]
bug #26121: set_errno can be overridden
kieranm [Thu, 9 Apr 2009 15:16:26 +0000 (15:16 +0000)]
Patch#6774 TCP_QUEUE_OOSEQ breaks compilation when LWIP_TCP==0
kieranm [Thu, 9 Apr 2009 15:09:22 +0000 (15:09 +0000)]
Patch#6802 Add do-while-clauses to those function like macros in tcp.h
kieranm [Tue, 31 Mar 2009 14:23:40 +0000 (14:23 +0000)]
BUG20515: rework way TCP window updates are calculated and sent
kieranm [Tue, 31 Mar 2009 14:13:32 +0000 (14:13 +0000)]
TASK9218: add support for TCP timestamp options
kieranm [Tue, 31 Mar 2009 10:55:31 +0000 (10:55 +0000)]
BUG20779: cope with SYN packets received during established states,
and retransmission of initial SYN.
kieranm [Tue, 31 Mar 2009 10:53:11 +0000 (10:53 +0000)]
BUG26010: set push bit correctly when tcp segments are merged
kieranm [Fri, 27 Mar 2009 11:04:04 +0000 (11:04 +0000)]
Correct change to probe window setting
kieranm [Thu, 26 Mar 2009 14:31:02 +0000 (14:31 +0000)]
BUG25622: handle return code of tcp_enqueue in tcp_listen_input()
kieranm [Thu, 26 Mar 2009 14:25:46 +0000 (14:25 +0000)]
BUG25629: set TCP_ACK flags on keepalive and zero window probes
kieranm [Wed, 25 Mar 2009 11:02:24 +0000 (11:02 +0000)]
Fix compiler warning about %#p
goldsimon [Thu, 19 Feb 2009 19:29:28 +0000 (19:29 +0000)]
cc.h: Added printf formatter for size_t: SZT_F
goldsimon [Wed, 18 Feb 2009 21:13:06 +0000 (21:13 +0000)]
Fixed many LWIP_DEBUGF format strings; added new format string SZT_F for size_t
goldsimon [Wed, 18 Feb 2009 20:42:16 +0000 (20:42 +0000)]
mem_free: fix a warning by converting pointer to mem_ptr_t instead of unsigned long
goldsimon [Wed, 18 Feb 2009 20:37:42 +0000 (20:37 +0000)]
sys_now() must return u32_t, not unsigned long
goldsimon [Wed, 18 Feb 2009 20:37:09 +0000 (20:37 +0000)]
Fixed many warnings: use %p to pass pointers to printf
goldsimon [Wed, 18 Feb 2009 16:54:02 +0000 (16:54 +0000)]
patch #6528: the buffer used for IP_FRAG_USES_STATIC_BUF could be too small depending on MEM_ALIGNMENT
goldsimon [Wed, 18 Feb 2009 16:50:40 +0000 (16:50 +0000)]
Added check: PBUF_POOL_BUFSIZE must be greater than MEM_ALIGNMENT or else the offset of a pbuf may take the full first pbuf in a chain (resulting in the first pbuf having len==0)
goldsimon [Wed, 18 Feb 2009 16:48:30 +0000 (16:48 +0000)]
etharp_raw: allocating PBUF_RAW for outgoing ARP packets instead of PBUF_LINK is enough.
goldsimon [Mon, 16 Feb 2009 20:24:29 +0000 (20:24 +0000)]
patch #6539: (configurable) response to broadcast- and multicast pings
goldsimon [Mon, 16 Feb 2009 19:33:51 +0000 (19:33 +0000)]
fixed arguments of socket functions to match the standard; converted size argument of netconn_write to 'size_t' for that; fixed some warnings
goldsimon [Mon, 16 Feb 2009 16:50:58 +0000 (16:50 +0000)]
fixed bug #24440: TCP connection close problem on 64-bit host by moving accept callback function pointer to TCP_PCB_COMMON
goldsimon [Mon, 16 Feb 2009 16:43:06 +0000 (16:43 +0000)]
Fixed compilation error in LWIP_VERSION
goldsimon [Sun, 15 Feb 2009 20:44:40 +0000 (20:44 +0000)]
LWIP_VERSION: corrected shifting for 16-bit platforms, added LWIP_RC_DEVELOPMENT
goldsimon [Thu, 12 Feb 2009 21:00:11 +0000 (21:00 +0000)]
Added LWIP_VERSION to get the current version of the stack (implements task #9032: Provide means to get Version of Stack and submodules)
goldsimon [Thu, 12 Feb 2009 16:16:25 +0000 (16:16 +0000)]
fixed bug #25345 (DHCPDECLINE is sent with "Maximum message size" option)
goldsimon [Wed, 11 Feb 2009 20:43:41 +0000 (20:43 +0000)]
added MEMP_MEM_MALLOC to use mem_malloc/mem_free instead of the pool allocator (can save code size with MEM_LIBC_MALLOC if libc-malloc is otherwise used)
goldsimon [Wed, 11 Feb 2009 20:27:00 +0000 (20:27 +0000)]
fixed bug #24480 (releasing old udp_pdb and pbuf in dhcp_start)
goldsimon [Wed, 11 Feb 2009 20:21:20 +0000 (20:21 +0000)]
including inet.h because htonl is used
goldsimon [Wed, 11 Feb 2009 19:07:22 +0000 (19:07 +0000)]
added configurable default valud for netconn->recv_bufsize: RECV_BUFSIZE_DEFAULT (fixes bug #23726: pbuf pool exhaustion on slow recv())
goldsimon [Wed, 11 Feb 2009 17:48:34 +0000 (17:48 +0000)]
Fixed bug #25544: DHCP_COARSE_TIMER_MSECS could overflow on 16-bit targets
goldsimon [Tue, 10 Feb 2009 20:44:51 +0000 (20:44 +0000)]
Moved INADDR_* defines to inet.h; removing dependency from inet.h to ip_addr.h
goldsimon [Tue, 10 Feb 2009 20:29:38 +0000 (20:29 +0000)]
fixed bug #25467: Listen backlog is not reset on timeout in SYN_RCVD: Accepts_pending is decrease on a corresponding listen pcb when a connection in state SYN_RCVD is close.
jifl [Wed, 28 Jan 2009 23:58:15 +0000 (23:58 +0000)]
* ipv4/inet_chksum.c, ipv4/lwip/inet_chksum.h: inet_chksum_pseudo_partial()
is only used by UDPLITE at present, so conditionalise it.
jifl [Wed, 28 Jan 2009 05:43:35 +0000 (05:43 +0000)]
* pbuf.c: reclaim pbufs from TCP out-of-sequence segments if we run
out of pool pbufs.
goldsimon [Sat, 20 Dec 2008 12:24:41 +0000 (12:24 +0000)]
Reverted last changes since it's wrong when sizeof(int)==2...
goldsimon [Fri, 19 Dec 2008 18:16:50 +0000 (18:16 +0000)]
Another fix for bug #6683 (and a typo in changelog)
goldsimon [Fri, 19 Dec 2008 18:08:29 +0000 (18:08 +0000)]
patch #6699: fixed some warnings on platform where sizeof(int) == 2
fbernon [Wed, 10 Dec 2008 21:36:44 +0000 (21:36 +0000)]
sockets.c: fixed bug #25051: lwip_recvfrom problem with udp: fromaddr and port uses deleted netbuf.
goldsimon [Wed, 10 Dec 2008 17:08:42 +0000 (17:08 +0000)]
Another modification for patch #6683 (Customizable AUTOIP seed address)
goldsimon [Thu, 4 Dec 2008 18:34:48 +0000 (18:34 +0000)]
Corrected the range calculation of LWIP_AUTOIP_CREATE_SEED_ADDR, corrected comments
goldsimon [Wed, 3 Dec 2008 15:13:21 +0000 (15:13 +0000)]
Checked in (slightly modified) patch #6683: Customizable AUTOIP "seed" address. This should reduce AUTOIP conflicts if LWIP_AUTOIP_CREATE_SEED_ADDR is overridden.
jifl [Wed, 12 Nov 2008 19:14:21 +0000 (19:14 +0000)]
Correct commented description of do_recv().
Reported by Charles Landau on lwip-users.
goldsimon [Sat, 18 Oct 2008 15:24:06 +0000 (15:24 +0000)]
fixed bug ##24596: Vulnerability on faulty TCP options length in tcp_parseopt
goldsimon [Wed, 15 Oct 2008 18:20:23 +0000 (18:20 +0000)]
fixed bug #24517: IP reassembly crashes on unaligned IP headers by packing the struct ip_reass_helper.