]>
rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/log
goldsimon [Fri, 11 May 2012 20:56:53 +0000 (22:56 +0200)]
fixed bug #36412: memp.c does not compile when MEMP_OVERFLOW_CHECK > zero and MEMP_SEPARATE_POOLS == 1
goldsimon [Fri, 11 May 2012 20:37:30 +0000 (22:37 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip
goldsimon [Tue, 8 May 2012 05:42:32 +0000 (07:42 +0200)]
fixed bug: #36380 unsent_oversize mismatch in 1.4.1RC1 (this was a debug-check issue only)
goldsimon [Mon, 7 May 2012 20:12:01 +0000 (22:12 +0200)]
Added a readme.txt about the PPP code.
goldsimon [Sat, 5 May 2012 07:28:24 +0000 (09:28 +0200)]
Added missing name (patch by)
Ivan Delamer [Sat, 5 May 2012 00:25:22 +0000 (18:25 -0600)]
In ip6_input(), do not accept link-local packets on netifs other than
inp.
Change-Id: I7f3c779e69292bc078890e0acdc37112559644ce
Ivan Delamer [Sat, 5 May 2012 00:19:40 +0000 (18:19 -0600)]
Fixed #define that was commited by mistake.
Change-Id: Ic44560284e932b2d7c503155085160647ac82bb8
Ivan Delamer [Sat, 5 May 2012 00:11:47 +0000 (18:11 -0600)]
In ip6_input(), accept solicited node packets that match the receiving
netif addresses, when multicast is disabled.
Change-Id: I3f59258ee605a820f0a525b696b1dede0d53948f
Ivan Delamer [Fri, 4 May 2012 23:43:54 +0000 (17:43 -0600)]
fixes bug #36389: Use IPv6 Src Address of Echo Response as Destination
Address in Echo Response
Ivan Delamer [Fri, 4 May 2012 23:33:06 +0000 (17:33 -0600)]
Fix bug #36391 - inet6_addr_to_ip6addr()
Change-Id: I2ab73901a8552e3c247d95985f6ce5d6ef7d4599
goldsimon [Thu, 3 May 2012 18:39:43 +0000 (20:39 +0200)]
patch by Sylvain Rochet: fixed bug #36283 (PPP struct used on header size computation and not packed)
goldsimon [Thu, 3 May 2012 18:21:50 +0000 (20:21 +0200)]
dhcp: check array bounds before accessing it (bug #36170)
goldsimon [Thu, 3 May 2012 18:11:23 +0000 (20:11 +0200)]
Added unit test that pbuf_copy returns a correct error code for pbuf queues ending with a zero-length pbuf.
goldsimon [Thu, 3 May 2012 17:45:22 +0000 (19:45 +0200)]
fixed bug #36388 (PPP: checksum-only in last pbuf leads to pbuf with zero length)
goldsimon [Wed, 28 Mar 2012 09:06:52 +0000 (11:06 +0200)]
fixed the fix for bug #35945 (SYN packet should provide the recv MSS not the send MSS) if TCP_CALCULATE_EFF_SEND_MSS==0
goldsimon [Tue, 27 Mar 2012 18:42:46 +0000 (20:42 +0200)]
fixed bug #35756 header length calculation problem in ppp/vj.c - removed unused/invalid defines TCPH_OFFSET(_SET).
goldsimon [Tue, 27 Mar 2012 18:18:23 +0000 (20:18 +0200)]
fixed bug #35945: SYN packet should provide the recv MSS not the send MSS
goldsimon [Sun, 25 Mar 2012 15:20:22 +0000 (17:20 +0200)]
udp_input: fixed unreachable code warning for CHECKSUM_CHECK_UDP==0
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
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
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
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)
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.
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.
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.
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
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
goldsimon [Thu, 22 Mar 2012 18:35:04 +0000 (19:35 +0100)]
fixed bug #35927: missing refragmentaion in ip_forward
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.
Ivan Delamer [Thu, 22 Mar 2012 16:25:50 +0000 (10:25 -0600)]
Disable leftover ND6 queueing code when !LWIP_ND6_QUEUING.
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
goldsimon [Mon, 12 Mar 2012 15:43:23 +0000 (16:43 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip
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)
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
Ivan Delamer [Fri, 2 Mar 2012 16:35:42 +0000 (09:35 -0700)]
Missing declarations in supporting IP_HDRINCL.
Ivan Delamer [Fri, 2 Mar 2012 16:27:14 +0000 (09:27 -0700)]
Check arguments in nd6, and some other minor fixes nearby.
Ivan Delamer [Fri, 2 Mar 2012 16:18:54 +0000 (09:18 -0700)]
Early exit when checking if ip6 reassembled packet is valid.
Ivan Delamer [Fri, 2 Mar 2012 16:16:33 +0000 (09:16 -0700)]
Check that pbuf_header succeeds in IPv6 reassembly.
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().
Ivan Delamer [Fri, 2 Mar 2012 15:59:34 +0000 (08:59 -0700)]
Fixed error in calculating some IPv6 option header lengths.
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.
goldsimon [Thu, 1 Mar 2012 18:21:17 +0000 (19:21 +0100)]
IGMP stats: added missing tab (by Gisle Vanem)
goldsimon [Thu, 1 Mar 2012 18:10:52 +0000 (19:10 +0100)]
Fixed unused variable warnings produced with the last commit
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.
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)
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
goldsimon [Wed, 22 Feb 2012 20:35:04 +0000 (21:35 +0100)]
Minor: cosmetic source code layout changes
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.
goldsimon [Thu, 16 Feb 2012 12:11:04 +0000 (13:11 +0100)]
Added lwipopts.h file for unit tests
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)
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)
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
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
goldsimon [Tue, 14 Feb 2012 20:29:14 +0000 (21:29 +0100)]
Removed unused variable in ip_debug_print()
goldsimon [Tue, 14 Feb 2012 18:41:46 +0000 (19:41 +0100)]
Fixed unused variable warning
goldsimon [Mon, 13 Feb 2012 20:38:48 +0000 (21:38 +0100)]
Correctly calculate the default value of MEMP_NUM_SYS_TIMEOUT as needed
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;
goldsimon [Mon, 13 Feb 2012 19:41:58 +0000 (20:41 +0100)]
Fixed unused local variable warning (patch #7711)
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)
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)
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
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
goldsimon [Sun, 22 Jan 2012 10:18:36 +0000 (11:18 +0100)]
fixed bug #35305: pcb may be freed too early on shutdown(WR)
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))
goldsimon [Sat, 21 Jan 2012 15:57:53 +0000 (16:57 +0100)]
Fixed my last chagne to pbuf_copy
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
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.
goldsimon [Fri, 20 Jan 2012 20:19:26 +0000 (21:19 +0100)]
fixed bug #35291: NULL pointer in pbuf_copy
goldsimon [Mon, 16 Jan 2012 08:40:15 +0000 (09:40 +0100)]
Added option CHECKSUM_GEN_ICMP
goldsimon [Thu, 12 Jan 2012 14:40:41 +0000 (15:40 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip
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)
goldsimon [Wed, 14 Dec 2011 20:42:51 +0000 (21:42 +0100)]
Fixed typo in define check: LWIP_IPv6_FRAG -> LWIP_IPV6_FRAG
goldsimon [Tue, 6 Dec 2011 20:21:44 +0000 (21:21 +0100)]
Another fix for bug #32417 (debug assert that fires)
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
Ivan Delamer [Mon, 28 Nov 2011 21:07:53 +0000 (14:07 -0700)]
Added parenthesis to netif/ip6 macros.
Change-Id: I32d7f28c9e106641e3d5be8342d2c884e166bb0e
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
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)
goldsimon [Thu, 24 Nov 2011 06:47:40 +0000 (07:47 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip
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'
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)
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
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
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
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
goldsimon [Sun, 13 Nov 2011 16:06:19 +0000 (17:06 +0100)]
Fixed bug #34733 Null pointer exception with SOCKET_DEBUG.
goldsimon [Sat, 29 Oct 2011 19:43:13 +0000 (21:43 +0200)]
SEQ-comparing defines: cast parameters to u32_t for clarity
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
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
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
goldsimon [Fri, 28 Oct 2011 11:09:04 +0000 (13:09 +0200)]
fixed bug #34638: Dead code in tcp_receive - pcb->dupacks
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
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
goldsimon [Sun, 23 Oct 2011 15:38:23 +0000 (17:38 +0200)]
Slipif: fixed IPv6 support
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
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)
goldsimon [Fri, 21 Oct 2011 17:47:37 +0000 (19:47 +0200)]
added missing valid/set_invalid defines for NO_SYS
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
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)
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
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)