Hi,
here are some patches to fix route and gateway handling for static
and autoconfigured IPv6 addresses.
Description of patches:
01 - Error print enhancement
02,03 - Very minor indentation fixes
04 - Functions for setting and clearing IPv6 gateway address,
needed by patch #07
05 - Set routes to IPv6 nameservers properly
06 - Association state was not set for IPv6
07 - Fix gateway handling for IPv6
08 - Setup gateways for manual IPv6 configs
09 - Added function to remove IP address from interface without
removing the address from internal structures.
This is needed by patch #10
10 - Remove address from interface
11 - Enable IPv6 support function. This is needed by patch #12
12 - Remove IPv6 autoconfigured addresses and routes by disabling IPv6
temporarily. This is done so that kernel can do the hard work for
us as it will remove all autoconfigured address automagically
when IPv6 is disabled.
13 - Mark the IPv6 gateway handling as done
Jukka
Jukka Rissanen (13):
inet: Changed error prints to print the error string.
inet: Fixed indentation.
service: Fixed indentation.
inet: Added support functions for setting and clearing IPv6 gateway
address.
service: Set and clear IPv6 nameserver addresses properly.
network: Add IPv6 associating state.
connection: Separate IPv4 and IPv6 gateway and routing handling.
network: Set manual IPv6 state and gateway.
ipconfig: Added function to remove address from interface.
network: Clear interface addresses after removing gateway address.
ipconfig: Added function to enable IPv6.
network: Clear IPv6 autoconfigured routes when disconnected.
TODO: IPv6 gateway handling done.
TODO | 10 -
include/inet.h | 2 +
include/ipconfig.h | 2 +
src/connection.c | 495 ++++++++++++++++++++++++++++++++++++++++------------
src/connman.h | 12 +-
src/inet.c | 106 +++++++++++-
src/ipconfig.c | 56 +++++--
src/network.c | 43 ++++-
src/service.c | 56 +++++-
9 files changed, 624 insertions(+), 158 deletions(-)
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman