Hi all,

this is second version of the IPv6 and IPv4 separation in connman_ipconfig 
struct.
The v1 patch was a big one and now it is split to smaller chunks as instructed 
by Samuel.

The patches are necessary so that connman can be used in an environment where 
might not be IPv4 addresses available (like in many LTE networks). Everything 
should be working as is after the patch i.e., the patch does not change any 
fundamental things but the patch is needed for future work.

Regards,

Jukka


Jukka Rissanen (10):
  Make sure ipconfig is not null before accessing members
  Removed ipconfig from connman_network struct as it is not used.
  Do not add duplicate IP address to address list.
  Allow more than one IP address in the address list.
  Changing __connman_service_notify() to use the service directly
    instead of ipconfig. This is done to make the code more readable.
  Separate IPv4 and IPv6 in connman_ipconfig struct so that connman can
    work with IPv6 only networks.
  Return only a valid IPv6 configuration
  Set the IPv6 gateway address only if using IPv6 config
  Check that ipconfig is valid IPv4 config before returning data
  Check that ipconfig is valid IPv6 config before returning data

 include/ipconfig.h |    3 +-
 include/network.h  |    4 +-
 plugins/ofono.c    |    4 +-
 src/connman.h      |   13 ++-
 src/ipconfig.c     |  357 +++++++++++++++++++++++++++++++++++++---------------
 src/ipv4.c         |    2 +-
 src/network.c      |  150 ++++++++++++++---------
 src/provider.c     |   21 +++-
 src/service.c      |  318 +++++++++++++++++++++++++++++++---------------
 9 files changed, 596 insertions(+), 276 deletions(-)

_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to