[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #7409] IPv6 support for LwIP 1.4.0RC1
From: |
Ivan Delamer |
Subject: |
[lwip-devel] [patch #7409] IPv6 support for LwIP 1.4.0RC1 |
Date: |
Thu, 09 Jun 2011 10:05:05 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) |
Follow-up Comment #33, patch #7409 (project lwip):
I'm working on IPv6 code again.
First of all, nice work Simon on ipX_ macros, it really cleaned the code up!
I'll be working on some improvements and optimizations, also adding support
for sending RA messages (if IP6_FWD is enabled).
One thing we need to discuss is, how are we going to specify an interface
identifier for link-local addresses. e.g. in Windows you will see FE80::1234%1
and FE80::5678%2 to refer to link-local addresses on interfaces 1 and 2.
Currently we can choose the outgoing netif by matching a source address to an
address for the netif. But if two netifs have identical LL addresses (which is
not unheard of) then we have a problem.
I only have a very poor idea, but it is better than no idea: use unused bytes
in the LL address to specify an interface index. e.g. FE80::1%2 would become
FE80:2::1. This would be internal to the stack and the 2 would be cleaned up
before passing to the user.
Any other ideas?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7409>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/