[RFC v7 00/12] DHCP refactoring (aka get rid of DHCP element)

2011-02-09 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de Hi, another update on this series. Up to the connection element removal patch it should work. Read: the removal of the connection element works ;) cheers, daniel Daniel Wagner (12): service: Refactor Service nameserver API ipconfig: Add

[RFC v7 04/12] ipconfig: Rename __connman_ipconig_set_gateway

2011-02-09 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de To avoid name clash with next patch. --- src/connman.h |2 +- src/ipconfig.c |2 +- src/network.c |4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/connman.h b/src/connman.h index 6a528e0..ed68f91 100644 ---

[RFC v7 05/12] ipconfig: Add ipaddress setters/getters

2011-02-09 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de --- src/connman.h | 11 +++ src/ipconfig.c | 84 2 files changed, 95 insertions(+), 0 deletions(-) diff --git a/src/connman.h b/src/connman.h index ed68f91..1140664 100644 ---

[RFC v7 06/12] service: Add __connman_service_timeserver_append/remove

2011-02-09 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de --- src/connman.h |5 + src/service.c | 21 + 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/src/connman.h b/src/connman.h index 1140664..75edee0 100644 --- a/src/connman.h +++ b/src/connman.h @@ -275,6

[RFC v7 08/12] connection: Remove connection element

2011-02-09 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de And add __connman_connection_gateway_add/remove. --- include/element.h |1 - src/connection.c | 328 + src/connman.h | 11 ++ src/element.c | 11 +- src/ipconfig.c| 27 -

[RFC v7 09/12] provider: Add connman_provider_set_ipaddress

2011-02-09 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de And remove the unimplemented IP configuration functions. --- include/provider.h | 15 +++ src/provider.c | 41 + 2 files changed, 48 insertions(+), 8 deletions(-) diff --git

[RFC v7 10/12] openvpn: Use provider set/get functions

2011-02-09 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de --- plugins/openvpn.c | 45 ++--- 1 files changed, 42 insertions(+), 3 deletions(-) diff --git a/plugins/openvpn.c b/plugins/openvpn.c index 60e75dc..0eaa2cb 100644 --- a/plugins/openvpn.c +++

[RFC v7 12/12] WIP: Random fixes

2011-02-09 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de Things which should go into one of the other patches. --- src/ipconfig.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/ipconfig.c b/src/ipconfig.c index abb548f..dd6ddef 100644 --- a/src/ipconfig.c +++

[RFC v7 11/12] dhcp: Remove DHCP element

2011-02-09 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de WIP --- src/connman.h |9 ++ src/dhcp.c| 303 +--- src/element.c |2 - src/main.c|2 + src/network.c | 99 +-- 5 files changed, 217 insertions(+), 198

Re: [RFC] doc: Extended tethering API

2011-02-09 Thread Samuel Ortiz
Hi Marcel, On Tue, Jan 25, 2011 at 06:17:37PM +0100, Marcel Holtmann wrote: Hi Samuel, So I've been thinking about how ConnMan could support the DUN server case. I gathered that the ConnMan requirements for that use case are the following: - Provide a free IP range for oFono's ppp

[PATCH] Rename __connman_technology_enable_device() to __connman_technology_set_enable().

2011-02-09 Thread Alok Barsode
From: Alok Barsode alok.bars...@nokia.com __connman_technology_enable_device() enabled the technology (state). Hence renaming it aptly.It used the device pointer to just get connman_service_type. --- src/connman.h|2 +- src/device.c |9 +++-- src/technology.c |8 ++--

[PATCH] Rename __connman_technology_disable_device() to __connman_technology_set_disable().

2011-02-09 Thread Alok Barsode
From: Alok Barsode alok.bars...@nokia.com __connman_technology_disable_device() disabled the technology (state). Hence renaming it aptly. It used the device pointer to just get connman_service_type. --- src/connman.h|2 +- src/device.c |6 -- src/technology.c |8 ++--

[PATCH] Remove blocked Technology state and use offline state instead.

2011-02-09 Thread Alok Barsode
From: Alok Barsode alok.bars...@nokia.com Both offline and blocked states mean the same hence merging them. --- doc/technology-api.txt |4 ++-- src/technology.c | 13 + 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/doc/technology-api.txt

Re: [PATCH ipv6 v2 00/15] Support IPv6 only networks

2011-02-09 Thread Samuel Ortiz
Hi Jukka, On Tue, Feb 08, 2011 at 12:30:03PM +0200, Jukka Rissanen wrote: Hi Samuel, thanks for the comments to v1 patchset. This second version fixes the issues you found out: Thanks. Patch #7: - The IPv6 default gateway issue is still open, so far I have not seen any problems with

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

2011-02-09 Thread Samuel Ortiz
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 100644 --- a/src/service.c +++

Re: [PATCH ipv6 v2 11/15] service: Check service state properly if user changes method.

2011-02-09 Thread Samuel Ortiz
Hi Jukka, On Tue, Feb 08, 2011 at 12:30:14PM +0200, Jukka Rissanen wrote: --- src/service.c | 65 +++-- 1 files changed, 49 insertions(+), 16 deletions(-) diff --git a/src/service.c b/src/service.c index 28a8f6a..2dff83a 100644 ---

Re: [PATCH ipv6 v2 12/15] service: Change IPv4 state when address is released.

2011-02-09 Thread Samuel Ortiz
Hi Jukka, On Tue, Feb 08, 2011 at 12:30:15PM +0200, Jukka Rissanen wrote: --- src/service.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/service.c b/src/service.c index 2dff83a..ff20e42 100644 --- a/src/service.c +++ b/src/service.c @@ -4202,6

Re: [PATCH ipv6 v2 14/15] service: Do not change state if combined state does not change.

2011-02-09 Thread Samuel Ortiz
Hi Jukka, On Tue, Feb 08, 2011 at 12:30:17PM +0200, Jukka Rissanen wrote: --- src/service.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/service.c b/src/service.c index ff20e42..a5ade8d 100644 --- a/src/service.c +++ b/src/service.c @@ -3344,6 +3344,9

Re: [PATCH v2] rtnl: fix some uninitalised warnings

2011-02-09 Thread Samuel Ortiz
Hi Kalle, On Tue, Feb 08, 2011 at 05:36:07PM +0200, Kalle Valo wrote: src/rtnl.c:578:8: error: 'src' may be used uninitialized in this function src/rtnl.c:610:8: error: 'src' may be used uninitialized in this function src/rtnl.c:1108:19: error: 'servers' may be used uninitialized in this

Re: [PATCH v1] doc: Add service provisioning method in Manager API

2011-02-09 Thread Samuel Ortiz
Hi Henri, On Tue, Feb 08, 2011 at 03:57:39PM +0200, Henri Bragge wrote: --- v1: - config string is passed directly as an argument, rather than inside a dict RFC: - initial revision I'm fine with that. Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/

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

2011-02-09 Thread Samuel Ortiz
Hi Henri, On Tue, Feb 08, 2011 at 03:56:14PM +0200, Henri Bragge wrote: --- doc/agent-api.txt | 31 --- 1 files changed, 28 insertions(+), 3 deletions(-) diff --git a/doc/agent-api.txt b/doc/agent-api.txt index 98499a3..d9caa4d 100644 --- a/doc/agent-api.txt