dhcp-manager: add ability to specify the number of IPv6 prefixes to request

System Internals / NetworkManager - Lubomir Rintel [v3.sk] - 9 November 2016 10:23 UTC

Utilizes RFC 3633 prefix option in role of requesting router to ask the delegating router for prefixes. In future we'll be able to use the addresses from those prefixes on ipv6.method=shared connections.

4ec37b0 dhcp-manager: add ability to specify the number of IPv6 prefixes to request
src/devices/nm-device.c | 3 ++-
src/dhcp-manager/nm-dhcp-client.c | 43 +++++++++++++++++++++++--------
src/dhcp-manager/nm-dhcp-client.h | 7 +++--
src/dhcp-manager/nm-dhcp-dhclient.c | 14 ++++++----
src/dhcp-manager/nm-dhcp-dhcpcd.c | 3 ++-
src/dhcp-manager/nm-dhcp-manager.c | 12 +++++----
src/dhcp-manager/nm-dhcp-manager.h | 3 ++-
src/dhcp-manager/nm-dhcp-systemd.c | 10 ++++++--
src/dhcp-manager/nm-dhcp-utils.c | 48 +++++++++++++++++++++++++++++++++++
src/dhcp-manager/nm-dhcp-utils.h | 2 ++
10 files changed, 117 insertions(+), 28 deletions(-)

Upstream: cgit.freedesktop.org


  • Share