]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/log
pes-rpp/rpp-lwip.git
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

12 years agoadded unit tests for data-after-FIN
Simon Goldschmidt [Mon, 26 Sep 2011 20:10:11 +0000 (22:10 +0200)]
added unit tests for data-after-FIN

12 years agofixed unit tests (one TCP test failed, removed comma at the end of array initializers)
Simon Goldschmidt [Mon, 26 Sep 2011 20:09:27 +0000 (22:09 +0200)]
fixed unit tests (one TCP test failed, removed comma at the end of array initializers)

12 years agofixed bug #34377 MEM_SIZE_F is not defined if MEM_LIBC_MALLOC==1
Simon Goldschmidt [Sat, 24 Sep 2011 11:59:33 +0000 (13:59 +0200)]
fixed bug #34377 MEM_SIZE_F is not defined if MEM_LIBC_MALLOC==1

12 years agoReverted invalid fix for invalid bug #34360 done yesterday...
Simon Goldschmidt [Fri, 23 Sep 2011 17:26:29 +0000 (19:26 +0200)]
Reverted invalid fix for invalid bug #34360 done yesterday...

12 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/lwip
Simon Goldschmidt [Fri, 23 Sep 2011 17:16:01 +0000 (19:16 +0200)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/lwip

12 years agofixed bug #33871: rejecting TCP_EVENT_RECV() for the last packet including FIN can...
Simon Goldschmidt [Fri, 23 Sep 2011 17:14:17 +0000 (19:14 +0200)]
fixed bug #33871: rejecting TCP_EVENT_RECV() for the last packet including FIN can lose data

12 years agofixed bug #34360 tcp_shutdown: RST on unacked is not send when shutting down both...
Simon Goldschmidt [Thu, 22 Sep 2011 19:38:56 +0000 (21:38 +0200)]
fixed bug #34360 tcp_shutdown: RST on unacked is not send when shutting down both rx AND tx

12 years agoFixed tcp_accepted define (need brackets around the parameter)
Simon Goldschmidt [Thu, 22 Sep 2011 17:19:07 +0000 (19:19 +0200)]
Fixed tcp_accepted define (need brackets around the parameter)

12 years agofixed bug #34355: nagle does not take snd_buf/snd_queuelen into account
Simon Goldschmidt [Thu, 22 Sep 2011 16:50:18 +0000 (18:50 +0200)]
fixed bug #34355: nagle does not take snd_buf/snd_queuelen into account

12 years agoCorrected fix for bug #34072 (UDP broadcast is received from wrong UDP pcb if udp...
Simon Goldschmidt [Thu, 22 Sep 2011 04:24:58 +0000 (06:24 +0200)]
Corrected fix for bug #34072 (UDP broadcast is received from wrong UDP pcb if udp port matches): pcbs bound to IPADDR_ANY did not receive broadcasts any more (bug #34294)

12 years agoImplemented timeout on send (TCP only, bug #33820)
Simon Goldschmidt [Wed, 21 Sep 2011 17:36:09 +0000 (19:36 +0200)]
Implemented timeout on send (TCP only, bug #33820)

12 years agofixed default value of TCP_SND_BUF to not violate the sanity checks in init.c
Simon Goldschmidt [Wed, 21 Sep 2011 16:47:44 +0000 (18:47 +0200)]
fixed default value of TCP_SND_BUF to not violate the sanity checks in init.c

12 years agoConverted runtime-sanity-checks into compile-time checks that can be disabled (since...
Simon Goldschmidt [Wed, 21 Sep 2011 16:35:29 +0000 (18:35 +0200)]
Converted runtime-sanity-checks into compile-time checks that can be disabled (since runtime checks can often not be seen on embedded targets)

12 years agofixed bug #34337 (possible NULL pointer in sys_check_timeouts)
goldsimon [Tue, 20 Sep 2011 05:21:19 +0000 (07:21 +0200)]
fixed bug #34337 (possible NULL pointer in sys_check_timeouts)

12 years agosplitted ppp.h to an internal and external header file to get a clear separation...
Simon Goldschmidt [Sun, 11 Sep 2011 17:30:28 +0000 (19:30 +0200)]
splitted ppp.h to an internal and external header file to get a clear separation of which functions an application or port may use (task #11281)

12 years agond6: use a static buffer to process RA options instead of using mem_malloc()
Simon Goldschmidt [Sun, 11 Sep 2011 11:44:08 +0000 (13:44 +0200)]
nd6: use a static buffer to process RA options instead of using mem_malloc()

12 years agouse pcb->mss instead of TCP_MSS for preallocate mss-sized pbufs (bug #34019)
Simon Goldschmidt [Sun, 11 Sep 2011 11:13:26 +0000 (13:13 +0200)]
use pcb->mss instead of TCP_MSS for preallocate mss-sized pbufs (bug #34019)

12 years agoAdded a config option to randomize initial local TCP/UDP ports (so that different...
Simon Goldschmidt [Sun, 11 Sep 2011 10:44:01 +0000 (12:44 +0200)]
Added a config option to randomize initial local TCP/UDP ports (so that different port ranges are used after a reboot; bug #33818; this one added tcp_init/udp_init functions again);
fixed a possible endless loop in tcp_new_port() if the number of active PCBs exceeds the number of available ports;

12 years agolwip_accept: fixed warning about accessing uninitialized 'port' when SOCKETS_DEBUG...
Simon Goldschmidt [Fri, 9 Sep 2011 21:20:34 +0000 (23:20 +0200)]
lwip_accept: fixed warning about accessing uninitialized 'port' when SOCKETS_DEBUG is enabled

12 years agoFixed typo: TCP_SNDQUEUELOWAT must be less than TCP_SND_QUEUELEN (as checked in init...
Simon Goldschmidt [Fri, 9 Sep 2011 20:28:01 +0000 (22:28 +0200)]
Fixed typo: TCP_SNDQUEUELOWAT must be less than TCP_SND_QUEUELEN (as checked in init.c), not greater

12 years agofixed bug #34072: UDP broadcast is received from wrong UDP pcb if udp port matches
Simon Goldschmidt [Fri, 9 Sep 2011 20:25:59 +0000 (22:25 +0200)]
fixed bug #34072: UDP broadcast is received from wrong UDP pcb if udp port matches

12 years agoMake LWIP_RAND optional (useful for small targets)
Simon Goldschmidt [Sat, 3 Sep 2011 20:27:30 +0000 (22:27 +0200)]
Make LWIP_RAND optional (useful for small targets)