]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/log
pes-rpp/rpp-lwip.git
12 years agoudp_input: fixed unreachable code warning for CHECKSUM_CHECK_UDP==0
goldsimon [Sun, 25 Mar 2012 15:20:22 +0000 (17:20 +0200)]
udp_input: fixed unreachable code warning for CHECKSUM_CHECK_UDP==0

12 years agotcp_abort/tcp_abandon: don't send RST if pcb->state is CLOSED
goldsimon [Sun, 25 Mar 2012 15:19:46 +0000 (17:19 +0200)]
tcp_abort/tcp_abandon: don't send RST if pcb->state is CLOSED

12 years agodhcp unit test: fixed 2 consts, use udp checksum 0x0000 in handcrafted packets so...
goldsimon [Sun, 25 Mar 2012 15:18:58 +0000 (17:18 +0200)]
dhcp unit test: fixed 2 consts, use udp checksum 0x0000 in handcrafted packets so that CHECKSUM_CHECK_UDP==0 is not necessary

12 years agonew dhcp unit test: fix compilation for strict C, made local functions static, made...
goldsimon [Sun, 25 Mar 2012 15:15:56 +0000 (17:15 +0200)]
new dhcp unit test: fix compilation for strict C, made local functions static, made some variables and parameters const

12 years agoTCP unit tests: fix that ip.rterr stats are increased (some unit tests had no netif...
goldsimon [Sun, 25 Mar 2012 15:12:02 +0000 (17:12 +0200)]
TCP unit tests: fix that ip.rterr stats are increased (some unit tests had no netif set)

12 years agoAdd unit tests for DHCP
Erik Ekman [Thu, 22 Mar 2012 09:52:05 +0000 (10:52 +0100)]
Add unit tests for DHCP

Three simple tests that test the basic functionality of the DHCP client.
They require that UDP checksums are off for now.

12 years agoBetter fix for bug #35927 (missing refragmentaion in ip_forward) when IP_FRAG is...
goldsimon [Sun, 25 Mar 2012 13:12:42 +0000 (15:12 +0200)]
Better fix for bug #35927 (missing refragmentaion in ip_forward) when IP_FRAG is disabled.

12 years agoadded posix-compatibility include files posix/netdb.h and posix/sys/socket.h which...
goldsimon [Sun, 25 Mar 2012 13:02:58 +0000 (15:02 +0200)]
added posix-compatibility include files posix/netdb.h and posix/sys/socket.h which are a simple wrapper to the correct lwIP include files.

12 years agoFixed bug #35817: do_connect() invalidly signals op_completed for UDP/RAW with LWIP_T...
goldsimon [Sun, 25 Mar 2012 12:56:41 +0000 (14:56 +0200)]
Fixed bug #35817: do_connect() invalidly signals op_completed for UDP/RAW with LWIP_TCPIP_CORE_LOCKING==1

12 years agofixed bug #35931: Name space pollution in api_msg.c and netifapi.c
goldsimon [Sun, 25 Mar 2012 12:41:27 +0000 (14:41 +0200)]
fixed bug #35931: Name space pollution in api_msg.c and netifapi.c

12 years agofixed bug #35927: missing refragmentaion in ip_forward
goldsimon [Thu, 22 Mar 2012 18:35:04 +0000 (19:35 +0100)]
fixed bug #35927: missing refragmentaion in ip_forward

12 years agoSupport single-packet queueing in ND6 (similar to ARP), when
Ivan Delamer [Thu, 22 Mar 2012 17:14:49 +0000 (11:14 -0600)]
Support single-packet queueing in ND6 (similar to ARP), when
!LWIP_ND6_QUEUEING.

12 years agoDisable leftover ND6 queueing code when !LWIP_ND6_QUEUING.
Ivan Delamer [Thu, 22 Mar 2012 16:25:50 +0000 (10:25 -0600)]
Disable leftover ND6 queueing code when !LWIP_ND6_QUEUING.

12 years agopatch by Mason: fixed bug #35907: lwip_gethostbyname_r returns an invalid h_addr_list
goldsimon [Tue, 20 Mar 2012 21:06:32 +0000 (22:06 +0100)]
patch by Mason: fixed bug #35907: lwip_gethostbyname_r returns an invalid h_addr_list

12 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/lwip
goldsimon [Mon, 12 Mar 2012 15:43:23 +0000 (16:43 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip

12 years agoRemoved unnecessary global variable "subnetMask", which is only used in one function...
goldsimon [Mon, 12 Mar 2012 15:42:18 +0000 (16:42 +0100)]
Removed unnecessary global variable "subnetMask", which is only used in one function (GetMask)

12 years agopatch by Bostjan Meglic: fixed bug #35809: PPP GetMask(): Compiler warning on big...
goldsimon [Mon, 12 Mar 2012 15:39:52 +0000 (16:39 +0100)]
patch by Bostjan Meglic: fixed bug #35809: PPP GetMask(): Compiler warning on big endian, possible bug on little endian system

12 years agoMissing declarations in supporting IP_HDRINCL.
Ivan Delamer [Fri, 2 Mar 2012 16:35:42 +0000 (09:35 -0700)]
Missing declarations in supporting IP_HDRINCL.

12 years agoCheck arguments in nd6, and some other minor fixes nearby.
Ivan Delamer [Fri, 2 Mar 2012 16:27:14 +0000 (09:27 -0700)]
Check arguments in nd6, and some other minor fixes nearby.

12 years agoEarly exit when checking if ip6 reassembled packet is valid.
Ivan Delamer [Fri, 2 Mar 2012 16:18:54 +0000 (09:18 -0700)]
Early exit when checking if ip6 reassembled packet is valid.

12 years agoCheck that pbuf_header succeeds in IPv6 reassembly.
Ivan Delamer [Fri, 2 Mar 2012 16:16:33 +0000 (09:16 -0700)]
Check that pbuf_header succeeds in IPv6 reassembly.

12 years agoSupport IP_HDRINCL in ip6_output() and ip6_output_hinted(),
Ivan Delamer [Fri, 2 Mar 2012 16:06:57 +0000 (09:06 -0700)]
Support IP_HDRINCL in ip6_output() and ip6_output_hinted(),
previously only supported in ip6_output_if().

12 years agoFixed error in calculating some IPv6 option header lengths.
Ivan Delamer [Fri, 2 Mar 2012 15:59:34 +0000 (08:59 -0700)]
Fixed error in calculating some IPv6 option header lengths.

12 years agoSet ip_data.current_netif earlier to allow ICMPv6 packets in ip6_fwd.
Ivan Delamer [Fri, 2 Mar 2012 15:53:51 +0000 (08:53 -0700)]
Set ip_data.current_netif earlier to allow ICMPv6 packets in ip6_fwd.
Then set to "accepted" netif, not inp.

12 years agoIGMP stats: added missing tab (by Gisle Vanem)
goldsimon [Thu, 1 Mar 2012 18:21:17 +0000 (19:21 +0100)]
IGMP stats: added missing tab (by Gisle Vanem)

12 years agoFixed unused variable warnings produced with the last commit
goldsimon [Thu, 1 Mar 2012 18:10:52 +0000 (19:10 +0100)]
Fixed unused variable warnings produced with the last commit

12 years agoSpeed up LWIP_TCPIP_CORE_LOCKING by directly calling functions in api_msg.c instead...
goldsimon [Tue, 28 Feb 2012 11:45:59 +0000 (12:45 +0100)]
Speed up LWIP_TCPIP_CORE_LOCKING by directly calling functions in api_msg.c instead of calling via function pointer.

12 years agofixed bug #35595: Impossible to send broadcast without a gateway (introduced when...
goldsimon [Thu, 23 Feb 2012 09:14:27 +0000 (10:14 +0100)]
fixed bug #35595: Impossible to send broadcast without a gateway (introduced when fixing bug# 33551)

12 years agounit tests lwipopts.h: NO_SYS==1, disable netconn and sockets (not tests) -> lwipopts...
goldsimon [Wed, 22 Feb 2012 20:47:33 +0000 (21:47 +0100)]
unit tests lwipopts.h: NO_SYS==1, disable netconn and sockets (not tests) -> lwipopts.h is now usable for unix unit test makefile, too

12 years agoMinor: cosmetic source code layout changes
goldsimon [Wed, 22 Feb 2012 20:35:04 +0000 (21:35 +0100)]
Minor: cosmetic source code layout changes

12 years agoFixed unit tests: adapted lwipopts.h and fixed test_tcp_new_counters_pcb() after...
goldsimon [Wed, 22 Feb 2012 20:34:22 +0000 (21:34 +0100)]
Fixed unit tests: adapted lwipopts.h and fixed test_tcp_new_counters_pcb() after adding snd_wnd_max to struct tcp_pcb.

12 years agoAdded lwipopts.h file for unit tests
goldsimon [Thu, 16 Feb 2012 12:11:04 +0000 (13:11 +0100)]
Added lwipopts.h file for unit tests

12 years agofixed pbuf leak when PPP session is aborted through pppSigHUP() (bug #35541: PPP...
goldsimon [Thu, 16 Feb 2012 11:55:14 +0000 (12:55 +0100)]
fixed pbuf leak when PPP session is aborted through pppSigHUP() (bug #35541: PPP Memory Leak)

12 years agofixed bug #35531: Impossible to send multicast without a gateway (introduced when...
goldsimon [Thu, 16 Feb 2012 11:30:52 +0000 (12:30 +0100)]
fixed bug #35531: Impossible to send multicast without a gateway (introduced when fixing bug# 33551)

12 years agoPatch by Stéphane Lesage:
goldsimon [Thu, 16 Feb 2012 07:01:54 +0000 (08:01 +0100)]
Patch by Stéphane Lesage:
fixed bug #35536 SNMP: error too big response is malformed

12 years agofixed bug #35537: MEMP_NUM_* sanity checks should be disabled with MEMP_MEM_MALLOC==1
goldsimon [Thu, 16 Feb 2012 06:33:38 +0000 (07:33 +0100)]
fixed bug #35537: MEMP_NUM_* sanity checks should be disabled with MEMP_MEM_MALLOC==1

12 years agoRemoved unused variable in ip_debug_print()
goldsimon [Tue, 14 Feb 2012 20:29:14 +0000 (21:29 +0100)]
Removed unused variable in ip_debug_print()

12 years agoFixed unused variable warning
goldsimon [Tue, 14 Feb 2012 18:41:46 +0000 (19:41 +0100)]
Fixed unused variable warning

12 years agoCorrectly calculate the default value of MEMP_NUM_SYS_TIMEOUT as needed
goldsimon [Mon, 13 Feb 2012 20:38:48 +0000 (21:38 +0100)]
Correctly calculate the default value of MEMP_NUM_SYS_TIMEOUT as needed

12 years agoMultiple compilation fixes:
goldsimon [Mon, 13 Feb 2012 20:38:28 +0000 (21:38 +0100)]
Multiple compilation fixes:
- use C style comments, not C++ style;
- don't use #if with undefined parameter;

12 years agoFixed unused local variable warning (patch #7711)
goldsimon [Mon, 13 Feb 2012 19:41:58 +0000 (20:41 +0100)]
Fixed unused local variable warning (patch #7711)

12 years agopartly fixed bug #25882: TCP hangs on MSS > pcb->snd_wnd (by not creating segments...
goldsimon [Sun, 12 Feb 2012 13:14:19 +0000 (14:14 +0100)]
partly fixed bug #25882: TCP hangs on MSS > pcb->snd_wnd (by not creating segments bigger than half the window)

12 years agotcp pcb: persist_cnt can be u8_t instead of u32_t (since it is compared against u8_t...
goldsimon [Sun, 12 Feb 2012 13:04:59 +0000 (14:04 +0100)]
tcp pcb: persist_cnt can be u8_t instead of u32_t (since it is compared against u8_t only)

12 years agofixed bug #35435: No pcb state check before adding it to time-wait queue while closing
goldsimon [Sat, 11 Feb 2012 17:15:17 +0000 (18:15 +0100)]
fixed bug #35435: No pcb state check before adding it to time-wait queue while closing

12 years agoAllow unicast NA messages without LLA option, in accordance to RFC2461
Ivan Delamer [Fri, 27 Jan 2012 21:54:39 +0000 (14:54 -0700)]
Allow unicast NA messages without LLA option, in accordance to RFC2461
section 4.4, and as suggested by Phillip Toelke.

Change-Id: Ic9d9a6ad82ec201d25b9fc024936cfb1b41f1a7a

12 years agofixed bug #35305: pcb may be freed too early on shutdown(WR)
goldsimon [Sun, 22 Jan 2012 10:18:36 +0000 (11:18 +0100)]
fixed bug #35305: pcb may be freed too early on shutdown(WR)

12 years agofixed bug #34636: FIN_WAIT_2 - Incorrect shutdown of TCP pcb: don't let PCBs time...
goldsimon [Sat, 21 Jan 2012 17:05:15 +0000 (18:05 +0100)]
fixed bug #34636: FIN_WAIT_2 - Incorrect shutdown of TCP pcb: don't let PCBs time out from FIN_WAIT_2 if the RX side wasn't close (by either calling tcp_close or tcp_shutdown(RDWR))

12 years agoFixed my last chagne to pbuf_copy
goldsimon [Sat, 21 Jan 2012 15:57:53 +0000 (16:57 +0100)]
Fixed my last chagne to pbuf_copy

12 years ago- fixed bug #35151: DHCP asserts on incoming option lengths;
goldsimon [Fri, 20 Jan 2012 20:36:52 +0000 (21:36 +0100)]
- fixed bug #35151: DHCP asserts on incoming option lengths;
- fixed wrong CHANGELOG of the last commit

12 years agopbuf_copy(): moved the check for "p_to != NULL" to a better place.
goldsimon [Fri, 20 Jan 2012 20:21:10 +0000 (21:21 +0100)]
pbuf_copy(): moved the check for "p_to != NULL" to a better place.

12 years agofixed bug #35291: NULL pointer in pbuf_copy
goldsimon [Fri, 20 Jan 2012 20:19:26 +0000 (21:19 +0100)]
fixed bug #35291: NULL pointer in pbuf_copy

12 years agoAdded option CHECKSUM_GEN_ICMP
goldsimon [Mon, 16 Jan 2012 08:40:15 +0000 (09:40 +0100)]
Added option CHECKSUM_GEN_ICMP

12 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/lwip
goldsimon [Thu, 12 Jan 2012 14:40:41 +0000 (15:40 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip

12 years agoimplemented API functions to access so_options of IP pcbs (UDP, TCP, RAW) (fixes...
goldsimon [Sat, 17 Dec 2011 21:12:01 +0000 (22:12 +0100)]
implemented API functions to access so_options of IP pcbs (UDP, TCP, RAW) (fixes bug #35061)

12 years agoFixed typo in define check: LWIP_IPv6_FRAG -> LWIP_IPV6_FRAG
goldsimon [Wed, 14 Dec 2011 20:42:51 +0000 (21:42 +0100)]
Fixed typo in define check: LWIP_IPv6_FRAG -> LWIP_IPV6_FRAG

12 years agoAnother fix for bug #32417 (debug assert that fires)
goldsimon [Tue, 6 Dec 2011 20:21:44 +0000 (21:21 +0100)]
Another fix for bug #32417 (debug assert that fires)

12 years agobug #34846: time-exceeded was sometimes not sent to original fragment
Ivan Delamer [Tue, 29 Nov 2011 19:49:43 +0000 (12:49 -0700)]
bug #34846: time-exceeded was sometimes not sent to original fragment
source, but to the sender of a packet fragment that triggered a buffer
purge.

Change-Id: I4bf20747bd900150491852649918a85cb7bf2aad

12 years agoAdded parenthesis to netif/ip6 macros.
Ivan Delamer [Mon, 28 Nov 2011 21:07:53 +0000 (14:07 -0700)]
Added parenthesis to netif/ip6 macros.

Change-Id: I32d7f28c9e106641e3d5be8342d2c884e166bb0e

12 years agofixed bug #31177: tcp timers can corrupt tcp_active_pcbs in some cases
goldsimon [Fri, 25 Nov 2011 17:36:52 +0000 (18:36 +0100)]
fixed bug #31177: tcp timers can corrupt tcp_active_pcbs in some cases

12 years agofix for bug #34684 was wrong (netif for arp table entries was only set/reset with...
goldsimon [Thu, 24 Nov 2011 20:11:11 +0000 (21:11 +0100)]
fix for bug #34684 was wrong (netif for arp table entries was only set/reset with SNMP enabled)

12 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/lwip
goldsimon [Thu, 24 Nov 2011 06:47:40 +0000 (07:47 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip

12 years agofixed bug #34884: sys_msleep() body needs to be surrounded with '#ifndef sys_msleep'
goldsimon [Wed, 23 Nov 2011 19:58:19 +0000 (20:58 +0100)]
fixed bug #34884: sys_msleep() body needs to be surrounded with '#ifndef sys_msleep'

12 years agofix compilation of ip_canforward on 8-/16-bit platforms (where constants are 16-bit...
goldsimon [Wed, 23 Nov 2011 08:09:22 +0000 (09:09 +0100)]
fix compilation of ip_canforward on 8-/16-bit platforms (where constants are 16-bit and thus cannot be left-shifted by 24)

12 years agofixed bug #34684: Clear the arp table cache when netif is brought down
goldsimon [Tue, 22 Nov 2011 20:44:28 +0000 (21:44 +0100)]
fixed bug #34684: Clear the arp table cache when netif is brought down

12 years agoFix icmp6_send_response: cannot assign (packed) ip6_addr_p_t* to ip6_addr_t* -> need...
goldsimon [Tue, 22 Nov 2011 20:41:20 +0000 (21:41 +0100)]
Fix icmp6_send_response: cannot assign (packed) ip6_addr_p_t* to ip6_addr_t* -> need to copy the packed address to an aligned address first

12 years agoAdd IPv6 timeouts to check for MEMP_NUM_SYS_TIMEOUT).
Ivan Delamer [Thu, 17 Nov 2011 21:24:16 +0000 (14:24 -0700)]
Add IPv6 timeouts to check for MEMP_NUM_SYS_TIMEOUT).

Change-Id: Ic6a9493cde41652391b34a47e6003b9036f760de

12 years agoGenerate ICMPv6 responses from a context other than input callback
Ivan Delamer [Thu, 17 Nov 2011 17:55:45 +0000 (10:55 -0700)]
Generate ICMPv6 responses from a context other than input callback
(e.g. timers in IPv6 reassembly). see bug #34846.

Change-Id: I6b4d27c819291d8371c43288310d57c3f2c1c65f

12 years agoFixed bug #34733 Null pointer exception with SOCKET_DEBUG.
goldsimon [Sun, 13 Nov 2011 16:06:19 +0000 (17:06 +0100)]
Fixed bug #34733 Null pointer exception with SOCKET_DEBUG.

12 years agoSEQ-comparing defines: cast parameters to u32_t for clarity
goldsimon [Sat, 29 Oct 2011 19:43:13 +0000 (21:43 +0200)]
SEQ-comparing defines: cast parameters to u32_t for clarity

12 years agoUse pppRecvWakeup only if PPP_INPROC_OWNTHREAD is defined.
Ivan Delamer [Fri, 28 Oct 2011 22:22:54 +0000 (16:22 -0600)]
Use pppRecvWakeup only if PPP_INPROC_OWNTHREAD is defined.

Change-Id: Ie800289eb5f6a64d0be1d38eab7154d4aa473d57

12 years agoConditional compilation in ppp.c according to PPP_ options.
Ivan Delamer [Fri, 28 Oct 2011 20:23:20 +0000 (14:23 -0600)]
Conditional compilation in ppp.c according to PPP_ options.

Change-Id: I466ce2b0114c9428f5e21bd0a09bb221f40bfc3e

12 years agohandle NULL when parsing IPv6 address (check for formatting)
Ivan Delamer [Fri, 28 Oct 2011 19:54:16 +0000 (13:54 -0600)]
handle NULL when parsing IPv6 address (check for formatting)

Change-Id: I42e1288689946c295e0bd1490a5eb4d8befb5877

12 years agofixed bug #34638: Dead code in tcp_receive - pcb->dupacks
goldsimon [Fri, 28 Oct 2011 11:09:04 +0000 (13:09 +0200)]
fixed bug #34638: Dead code in tcp_receive - pcb->dupacks

12 years agoFix bug #34526: nd6_queue_packet() frees too much if out-of-memory
Ivan Delamer [Wed, 26 Oct 2011 20:31:48 +0000 (14:31 -0600)]
Fix bug #34526: nd6_queue_packet() frees too much if out-of-memory

Change-Id: Ib7ac0cb1b5a5389dd5449a908485493bd085ba9d

12 years ago- moved processing of refused_data to an own function (used from tcp_fasttmr and...
goldsimon [Sun, 23 Oct 2011 16:10:46 +0000 (18:10 +0200)]
- moved processing of refused_data to an own function (used from tcp_fasttmr and tcp_input);
- improved readability of tcp_slowtmr by using defines to access keepalive variables

12 years agoSlipif: fixed IPv6 support
goldsimon [Sun, 23 Oct 2011 15:38:23 +0000 (17:38 +0200)]
Slipif: fixed IPv6 support

12 years agofixed bug #34429: possible memory corruption with LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONT...
goldsimon [Sun, 23 Oct 2011 15:31:03 +0000 (17:31 +0200)]
fixed bug #34429: possible memory corruption with LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT set to 1

12 years agoSLIP netif: add support for multiple input strategies (threaded, polling, RX from...
goldsimon [Fri, 21 Oct 2011 20:25:44 +0000 (22:25 +0200)]
SLIP netif: add support for multiple input strategies (threaded, polling, RX from ISR)

12 years agoadded missing valid/set_invalid defines for NO_SYS
goldsimon [Fri, 21 Oct 2011 17:47:37 +0000 (19:47 +0200)]
added missing valid/set_invalid defines for NO_SYS

12 years agoremoved the need to disable ARP_QUEUEING when LWIP_ARP is disabled an TCP_QUEUE_OOSEQ...
goldsimon [Fri, 21 Oct 2011 11:24:33 +0000 (13:24 +0200)]
removed the need to disable ARP_QUEUEING when LWIP_ARP is disabled an TCP_QUEUE_OOSEQ when LWIP_TCP is disabled

12 years agoFix default value of TCP_SNDLOWAT for small values of TCP_SND_BUF (broken with my...
goldsimon [Wed, 19 Oct 2011 10:55:32 +0000 (12:55 +0200)]
Fix default value of TCP_SNDLOWAT for small values of TCP_SND_BUF (broken with my 2nd-last commit)

12 years agofixed bug #34592: lwip_gethostbyname_r uses nonstandard error value, removed those...
Simon Goldschmidt [Tue, 18 Oct 2011 18:56:08 +0000 (20:56 +0200)]
fixed bug #34592: lwip_gethostbyname_r uses nonstandard error value, removed those unused (nonstandard?) error values from arch.h

12 years agofixed default values of TCP_SNDLOWAT and TCP_SNDQUEUELOWAT for small windows (bug...
Simon Goldschmidt [Tue, 18 Oct 2011 18:22:09 +0000 (20:22 +0200)]
fixed default values of TCP_SNDLOWAT and TCP_SNDQUEUELOWAT for small windows (bug #34176 select after non-blocking send times out)

12 years agofixed bug #34587: TCP_BUILD_MSS_OPTION doesn't consider netif->mtu, causes slow network
Simon Goldschmidt [Tue, 18 Oct 2011 18:11:39 +0000 (20:11 +0200)]
fixed bug #34587: TCP_BUILD_MSS_OPTION doesn't consider netif->mtu, causes slow network

12 years agofixed bug #34581 missing parentheses in udplite sockets code
goldsimon [Tue, 18 Oct 2011 09:04:08 +0000 (11:04 +0200)]
fixed bug #34581 missing parentheses in udplite sockets code

12 years agofixed bug #34580 fcntl() is missing in LWIP_COMPAT_SOCKETS
goldsimon [Tue, 18 Oct 2011 09:00:10 +0000 (11:00 +0200)]
fixed bug #34580 fcntl() is missing in LWIP_COMPAT_SOCKETS

12 years agofixed bug #34569: shutdown(SHUT_WR) crashes netconn/socket api
Simon Goldschmidt [Mon, 17 Oct 2011 17:38:47 +0000 (19:38 +0200)]
fixed bug #34569: shutdown(SHUT_WR) crashes netconn/socket api

12 years agofixed bug #34517 (persist timer is started although no zero window is received) by...
Simon Goldschmidt [Thu, 13 Oct 2011 19:18:16 +0000 (21:18 +0200)]
fixed bug #34517 (persist timer is started although no zero window is received) by starting the persist timer when a zero window is received, not when we have more data queued for sending than fits into the window

12 years agofixed bug #34541: LWIP_U32_DIFF is unnecessarily complex: removed that define
Simon Goldschmidt [Thu, 13 Oct 2011 17:29:48 +0000 (19:29 +0200)]
fixed bug #34541: LWIP_U32_DIFF is unnecessarily complex: removed that define

12 years agofixed bug #34540: compiler error when CORE_LOCKING is used and not all protocols...
Simon Goldschmidt [Thu, 13 Oct 2011 17:25:11 +0000 (19:25 +0200)]
fixed bug #34540: compiler error when CORE_LOCKING is used and not all protocols are enabled

12 years agofixed bug #34534: Error in sending fragmented IP if MEM_ALIGNMENT > 4
Simon Goldschmidt [Wed, 12 Oct 2011 16:17:07 +0000 (18:17 +0200)]
fixed bug #34534: Error in sending fragmented IP if MEM_ALIGNMENT > 4

12 years agoadded unit test cases for seqno wraparound on fast-rexmit and rto-rexmit (unsent...
Simon Goldschmidt [Tue, 11 Oct 2011 19:43:27 +0000 (21:43 +0200)]
added unit test cases for seqno wraparound on fast-rexmit and rto-rexmit (unsent/unacked lists must be correctly sorted)

12 years agoslightly rearranged freeing an acked segment to prevent keeping the reference too...
Simon Goldschmidt [Tue, 11 Oct 2011 19:41:58 +0000 (21:41 +0200)]
slightly rearranged freeing an acked segment to prevent keeping the reference too long

12 years agoAdded unit test case for persist timer / zero window probes
Simon Goldschmidt [Mon, 10 Oct 2011 19:06:50 +0000 (21:06 +0200)]
Added unit test case for persist timer / zero window probes

12 years agofixed bug #34426: tcp_zero_window_probe() transmits incorrect byte value when pcb...
Simon Goldschmidt [Sun, 9 Oct 2011 18:11:33 +0000 (20:11 +0200)]
fixed bug #34426: tcp_zero_window_probe() transmits incorrect byte value when pcb->unacked != NULL

12 years agofixed bug #34447 LWIP_IP_ACCEPT_UDP_PORT(dst_port) wrong
Simon Goldschmidt [Sun, 9 Oct 2011 12:30:49 +0000 (14:30 +0200)]
fixed bug #34447 LWIP_IP_ACCEPT_UDP_PORT(dst_port) wrong

12 years agoTried to fix bug #32417 ("TCP_OVERSIZE seems to have problems with (fast-)retransmiss...
Simon Goldschmidt [Thu, 29 Sep 2011 19:12:34 +0000 (21:12 +0200)]
Tried to fix bug #32417 ("TCP_OVERSIZE seems to have problems with (fast-)retransmission"): Reset pcb->unsent_oversize in 2 more places...

12 years agoImplemented limiting data on ooseq queue (task #9989) (define TCP_OOSEQ_MAX_BYTES...
Simon Goldschmidt [Tue, 27 Sep 2011 20:42:46 +0000 (22:42 +0200)]
Implemented limiting data on ooseq queue (task #9989) (define TCP_OOSEQ_MAX_BYTES / TCP_OOSEQ_MAX_PBUFS in lwipopts.h), added unit test for this new feature

12 years agofixed bug #28288: Data after FIN in oos queue
Simon Goldschmidt [Tue, 27 Sep 2011 19:08:49 +0000 (21:08 +0200)]
fixed bug #28288: Data after FIN in oos queue

12 years agobug #34406 dhcp_option_hostname() can overflow the pbuf
goldsimon [Tue, 27 Sep 2011 05:49:04 +0000 (07:49 +0200)]
bug #34406 dhcp_option_hostname() can overflow the pbuf