RE: [PATCH ipv6 v2 06/15] service: Only disconnect the service if both IPv4 and IPv6 states agree.

2011-02-10 Thread Jukka.Rissanen
Hi Samuel, ext Samuel Ortiz wrote: Hi Jukka, On Tue, Feb 08, 2011 at 12:30:09PM +0200, Jukka Rissanen wrote: --- src/service.c | 17 + 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/service.c b/src/service.c index c27431c..89f7b4d 100644 ---

RE: [PATCH ipv6 v2 10/15] service: IPv6 autoconf will change the service state.

2011-02-10 Thread Jukka.Rissanen
Hi Samuel, ext Samuel Ortiz wrote: Hi Jukka, On Tue, Feb 08, 2011 at 12:30:13PM +0200, Jukka Rissanen wrote: --- src/service.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/src/service.c b/src/service.c index 89f7b4d..28a8f6a

RE: [PATCH ipv6 v2 10/15] service: IPv6 autoconf will change the service state.

2011-02-10 Thread Jukka.Rissanen
Why do we need that if we already set the IPv6 state in network.c:set_connected() ? This is needed so that if RA is received so we automagically go to READY state. Forgot to mention that this can happen for example if IPv6 is enabled manually without connman involvement. Jukka

Re: [PATCH ipv6 v2 06/15] service: Only disconnect the service if both IPv4 and IPv6 states agree.

2011-02-10 Thread Samuel Ortiz
Hi Jukka, On Thu, Feb 10, 2011 at 08:09:08AM +, jukka.rissa...@nokia.com wrote: Hi Samuel, ext Samuel Ortiz wrote: Hi Jukka, On Tue, Feb 08, 2011 at 12:30:09PM +0200, Jukka Rissanen wrote: --- src/service.c | 17 + 1 files changed, 13 insertions(+), 4

[PATCH] Remove change parameter from connman_rtnl_link_cb_t.

2011-02-10 Thread Alok Barsode
From: Alok Barsode alok.bars...@nokia.com change parameter mapped to ifi_change (change mask) in ifinfomsg. Its not used at the moment hence removing it. --- include/rtnl.h |3 +-- plugins/ethernet.c |2 +- plugins/vpn.c |2 +- plugins/wifi.c |7 ++- src/rtnl.c

Re: [PATCH v1] doc: Add EAP login support in Agent API

2011-02-10 Thread Patrik Flykt
Hi, On Wed, 2011-02-09 at 20:21 +0100, ext Samuel Ortiz wrote: + string AuthMethod + + EAP Phase2 authentication method. For example gtc, + mschapv2 or md5. Used to supplement Passphrase + field when requesting

[PATCH v2] doc: Add EAP login support in Agent API

2011-02-10 Thread Henri Bragge
--- How about this? eap- not absolutely necessary prefix for types but I tried to avoid any confusion. PATCH v2: - dropped phase2 method, new fields types eap-password and eap-response instead PATCH v1: - dropped challenge, renamed phase2 method RFC: - initial revision

[PATCH ipv6 v3 00/12] Support IPv6 only networks

2011-02-10 Thread Jukka Rissanen
Hi Samuel, here is the v3 of the IPv6 only patchset. Following changes were done compared to v2: #4: merged patch #14 from v2 #6: removed this patch as it was useless #7: patch #8 from v2 merged, fixed also line len #11: changed the func name Regards, Jukka Jukka Rissanen (12): ipconfig:

[PATCH ipv6 v3 03/12] ipconfig: Added helper function that returns the config type.

2011-02-10 Thread Jukka Rissanen
--- src/connman.h |2 ++ src/ipconfig.c |6 ++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/connman.h b/src/connman.h index 992d533..7f18ff4 100644 --- a/src/connman.h +++ b/src/connman.h @@ -218,6 +218,8 @@ void __connman_ipconfig_delroute(int index, int

[PATCH ipv6 v3 01/12] ipconfig: Clear the ipaddress pointers when address is deleted.

2011-02-10 Thread Jukka Rissanen
--- src/ipconfig.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index 6ef39c5..bd664f3 100644 --- a/src/ipconfig.c +++ b/src/ipconfig.c @@ -682,7 +682,8 @@ void __connman_ipconfig_deladdr(int index, int family, const char *label,

[PATCH ipv6 v3 02/12] ipv6: Add property for IPv6 nameserver

2011-02-10 Thread Jukka Rissanen
--- include/property.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/property.h b/include/property.h index e18e1e9..487a170 100644 --- a/include/property.h +++ b/include/property.h @@ -57,6 +57,7 @@ enum connman_property_id {

[PATCH ipv6 v3 05/12] ipconfig: Enable or disable IPv6 when loading the saved service.

2011-02-10 Thread Jukka Rissanen
--- src/ipconfig.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index 4d9b30f..0627b5b 100644 --- a/src/ipconfig.c +++ b/src/ipconfig.c @@ -1778,6 +1778,14 @@ int __connman_ipconfig_load(struct connman_ipconfig *ipconfig,

[PATCH ipv6 v3 06/12] network: Enable IPv6 autoconf to change the service state to ready.

2011-02-10 Thread Jukka Rissanen
--- src/network.c | 43 +-- 1 files changed, 41 insertions(+), 2 deletions(-) diff --git a/src/network.c b/src/network.c index c3febd3..7a4d931 100644 --- a/src/network.c +++ b/src/network.c @@ -768,6 +768,37 @@ static int manual_ipv6_set(struct

[PATCH ipv6 v3 07/12] network: Set service state correctly when ipconfig is cleared.

2011-02-10 Thread Jukka Rissanen
--- src/network.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/network.c b/src/network.c index 7a4d931..240da89 100644 --- a/src/network.c +++ b/src/network.c @@ -1094,12 +1094,14 @@ int __connman_network_clear_ipconfig(struct connman_network *network, {

[PATCH ipv6 v3 08/12] service: IPv6 autoconf will change the service state.

2011-02-10 Thread Jukka Rissanen
--- src/service.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/src/service.c b/src/service.c index 5db3bae..1b8e42a 100644 --- a/src/service.c +++ b/src/service.c @@ -4123,18 +4123,46 @@ static void service_lower_down(struct connman_ipconfig

[PATCH ipv6 v3 09/12] service: Check service state properly if user changes method.

2011-02-10 Thread Jukka Rissanen
--- src/service.c | 63 ++-- 1 files changed, 47 insertions(+), 16 deletions(-) diff --git a/src/service.c b/src/service.c index 1b8e42a..07fa7f6 100644 --- a/src/service.c +++ b/src/service.c @@ -2012,6 +2012,49 @@ error: return

[PATCH ipv6 v3 10/12] service: Change IPv4 state when address is released.

2011-02-10 Thread Jukka Rissanen
--- src/service.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/service.c b/src/service.c index 07fa7f6..7751dc0 100644 --- a/src/service.c +++ b/src/service.c @@ -4194,6 +4194,12 @@ static void service_ip_release(struct connman_ipconfig *ipconfig)

[PATCH ipv6 v3 12/12] todo: Remove IPv6 enhancements as they are implemented.

2011-02-10 Thread Jukka Rissanen
--- TODO | 13 - 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/TODO b/TODO index 7ae6974..371eb07 100644 --- a/TODO +++ b/TODO @@ -67,19 +67,6 @@ Core credentials, ConnMan should be able to initiate a WiSPR authentication. -- IPv6 enhancements - -