The following set of patchs is the second version of IPV4LL support.
I had to add a function in src/dhcp to clear IP configuration, but i think
the naming connman_dhcp_release is a little bit confusing.
The way to call IPV4LL protocol may be improved by exporting ipv4ll_start
function, and call him in dhcp plugin.
---
gdhcp: Add support for IPV4LL
gdhcp: add function to get IPV4LL netmask
Add function to clear IP configuration
add IPV4LL support in dhcp plugin
Makefile.am | 2
gdhcp/client.c | 319 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
gdhcp/gdhcp.h | 4 +
gdhcp/ipv4ll.c | 140 +++++++++++++++++++++++++
gdhcp/ipv4ll.h | 55 ++++++++++
include/dhcp.h | 1
plugins/dhcp.c | 37 ++++++
src/dhcp.c | 13 ++
8 files changed, 562 insertions(+), 9 deletions(-)
create mode 100644 gdhcp/ipv4ll.c
create mode 100644 gdhcp/ipv4ll.h
--
Julien Massot
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman