lwIP - A Lightweight TCP/IP stack - Patches: patch #7409, IPv6 support for LwIP 1.4.0RC1
You are not allowed to post comments on this tracker with your current authentication level.
patch #7409: IPv6 support for LwIP 1.4.0RC1
Submitter: | Ivan Delamer <idelamer> | ||
Submitted: | Thu 09 Dec 2010 07:37:23 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | idelamer | Open/Closed: | Closed |
Planned Release: | None |
Jump to the original submission
Wed 26 Oct 2011 10:06:14 PM UTC, comment #34: |
Ivan Delamer <idelamer> |
Thu 09 Jun 2011 10:05:04 AM UTC, comment #33: I'm working on IPv6 code again.
|
Ivan Delamer <idelamer> |
Sun 05 Jun 2011 08:18:14 PM UTC, comment #32: Update: the increasement in ip.c comes from ip_input, which has some code added due to the facts that:
|
Simon Goldschmidt <goldsimon> |
Sun 05 Jun 2011 06:18:57 PM UTC, comment #31: For my application, lwIP is 26 bytes smaller with LWIP_IPV6 than1,4,0 from the downloaded ZIP file. However, that only includes the raw API without PPP, so I have no idea about sockets or netconn, yet. Also, I only compared the ".text" (code) section for now. BTW: compiled with gcc version 3.4.1 (Altera NIOS II 5.0 b73).
|
Simon Goldschmidt <goldsimon> |
Wed 01 Jun 2011 05:18:51 PM UTC, comment #30: For my application, CVS HEAD with LWIP_IPV6 = 0 is 4896 bytes (0x1320) larger than STABLE-1_4_0. There are no changes besides the 2 lwIP libs linked in. The lwipopts.h are identical. |
Bill Auerbach <billauerbach> |
Wed 01 Jun 2011 05:17:37 PM UTC, comment #29:
|
Simon Goldschmidt <goldsimon> |
Wed 01 Jun 2011 02:51:18 PM UTC, comment #28: Yeah, sorry, we're good. I had a bad #include search path. :-(
|
Bill Auerbach <billauerbach> |
Wed 01 Jun 2011 05:25:01 AM UTC, comment #27: That's strange, my tests didn't show any errors. However, I only was able to test TCP servers (netconn and raw API), I didn't have any UDP software at hand. I'll give it a try on a product running both TCP and UDP. |
Simon Goldschmidt <goldsimon> |
Tue 31 May 2011 02:53:37 PM UTC, comment #26: Thought I'd post status of this build. My application built the same way as I've been doing it with 1.4 (same lwipopts.h plus IPv6 additions to this file) does not run with this IPv6 build with LWIP_IPv6 = 0 or = 1.
|
Bill Auerbach <billauerbach> |
Sat 28 May 2011 09:43:38 AM UTC, comment #25:
|
Simon Goldschmidt <goldsimon> |
Fri 27 May 2011 06:26:16 PM UTC, comment #24: Sorry, I'm trying different builds and things come up...
|
Bill Auerbach <billauerbach> |
Fri 27 May 2011 05:47:05 PM UTC, comment #23: And in udp_sendto_chksum:
|
Bill Auerbach <billauerbach> |
Fri 27 May 2011 05:23:03 PM UTC, comment #22: There are syntax errors on:
|
Bill Auerbach <billauerbach> |
Thu 26 May 2011 04:36:15 PM UTC, comment #21: It should be ip6_route(pcb->local_ip, pcb->remote_ip)
|
Ivan Delamer <idelamer> |
Thu 26 May 2011 03:41:46 PM UTC, comment #20: Ivan, I noted that the ipv6 routing code is used differently in 2 places:
|
Simon Goldschmidt <goldsimon> |
Wed 25 May 2011 05:50:01 PM UTC, comment #19: Oh, I forgot to add this list of what I've also changed:
|
Simon Goldschmidt <goldsimon> |
Wed 25 May 2011 05:27:54 PM UTC, comment #18: Done.
|
Simon Goldschmidt <goldsimon> |
Wed 25 May 2011 04:42:16 AM UTC, comment #17: Even the pcbs should not be changed with IPv6 disabled. The output should be exactly the same as before (not like 1.4.0RC1, since there were other changes since then). That's what I'm working on, currently, but it doesn't compile cleanly, yet. |
Simon Goldschmidt <goldsimon> |
Tue 24 May 2011 10:42:05 PM UTC, comment #16: The only change is to the pcb structs. If you don't use PCBs from your application (e.g. you use netconn api) then everything else is the same. |
Ivan Delamer <idelamer> |
Tue 24 May 2011 08:25:06 PM UTC, comment #15: With IPv6 disabled, do we have the same output as 1.4.0RC1 (pre IPv6)? |
Bill Auerbach <billauerbach> |
Tue 24 May 2011 08:12:08 PM UTC, comment #14: Just a small status update: I'm still at cleaning up the code. I'm nearly done, currently at fixing compilation with IPv6 disabled, then I'll check it in (few days left only :-) |
Simon Goldschmidt <goldsimon> |
Wed 18 May 2011 05:55:47 PM UTC, comment #13: There are a few things that I'm ready to add, such as support of IPv6 router mode (send RA ICMPv6 messages), and several optimizations. However, I think the priority is having the code up to LwIP standards in terms of eliminating #ifs and combining code.
|
Ivan Delamer <idelamer> |
Tue 17 May 2011 07:50:56 PM UTC, comment #12: Just found the time to test and check in the patch after applying it to 1.4.0 final (only small modifications were needed).
|
Simon Goldschmidt <goldsimon> |
Sun 15 May 2011 07:21:46 PM UTC, comment #11: ip6_frag is inspired by ip_frag, so some of the code is similar. The queueing and recombining of packets is quite similar. However, there are differences in processing since in v6 the fragment information is contained in an option. Some IPv6 options are present in every fragment (called the unfragmentable part) and other options+payload are fragmented. So the header processing and fragment merging is a bit different.
|
Ivan Delamer <idelamer> |
Sun 15 May 2011 06:36:34 PM UTC, comment #10: You wouldn't need the full space for an IPv6 address everywhere, only in places where the protocol type is unknown. In other places, 8 bytes mi be enough.
|
Simon Goldschmidt <goldsimon> |
Sun 15 May 2011 04:25:41 PM UTC, comment #9: Simon,
|
Ivan Delamer <idelamer> |
Sat 14 May 2011 10:52:18 PM UTC, comment #8: Ivan, first of all, thanks for this excellent work!
|
Simon Goldschmidt <goldsimon> |
Fri 13 May 2011 04:44:52 PM UTC, comment #7: I will starting using it immediately in development to get some mileage under its belt. Hopefully I'll find that it can be turned on and off with little (or no?) changes to an application. |
Bill Auerbach <billauerbach> |
Fri 13 May 2011 08:34:41 AM UTC, comment #6: If we don't think it breaks anything else then I agree: lets get it checked in so we can work on it. |
Kieran Mansley <kieranm> |
Fri 13 May 2011 07:36:23 AM UTC, comment #5: I didn't have time to have a detailed look at this, however, I'd like to review it and check it in, if only to have a working IPv6 version which we can then change as it suits us.
|
Simon Goldschmidt <goldsimon> |
Mon 24 Jan 2011 02:21:48 PM UTC, comment #4: As of RFC4443 4.2 An Echo Reply SHOULD be sent in response to an Echo Request message sent to an IPv6 multicast or anycast address.
|
-Deleted Account- <kudatk> |
Tue 18 Jan 2011 10:27:18 PM UTC, comment #3: New IPv6 patch version, includes a number of fixes and improvements contributed by Brad Giffel:
|
Ivan Delamer <idelamer> |
Fri 17 Dec 2010 10:59:38 PM UTC, comment #2: Sorry, the previous patch also includes:
|
Ivan Delamer <idelamer> |
Fri 17 Dec 2010 10:57:42 PM UTC, comment #1: Patch Update (the new patch includes all previous IPv6 patches).
|
Ivan Delamer <idelamer> |
Thu 09 Dec 2010 07:37:23 PM UTC, original submission:
This patch adds support for IPv6 to LwIP 1.4.0RC1.
|
Ivan Delamer <idelamer> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 8 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2011-10-26 | idelamer | Status | In Progress | Done | |
Open/Closed | Open | Closed | |||
2011-09-02 | rahul_g | Attached File | - | Added 0003-lwip-unix-port-create-ipv6-linklocal-address.patch, #23924 | |
2011-09-02 | rahul_g | Attached File | - | Added 0002-create-ipv6-linklocal-address.patch, #23923 | |
2011-08-11 | rahul_g | Attached File | - | Added 0001-lwip-unix-port-filter-ipv6-and-ip6output.patch, #23782 | |
2011-01-18 | idelamer | Attached File | - | Added 2011-01-18 IPv6 for LwIP 1_4_0_RC1 patch.zip, #22449 | |
2010-12-17 | idelamer | Attached File | - | Added 2010-12-17 IPv6 for LwIP 1_4_0_RC2 patch.zip, #22221 | |
2010-12-09 | idelamer | Attached File | - | Added 2010-12-09 IPv6 for LwIP 1_4_0_RC2 patch.txt, #22167 |
Powered by Savane 3.13-4448.
Corresponding source code
IPv6 is integrated into GIT HEAD, no longer need for this patch.