[systemd-devel] [PATCH v2 0/9] DHCPv6 address assignment

Patrik Flykt patrik.flykt at linux.intel.com
Tue Jan 20 09:35:55 PST 2015


Here is version 2 updated according to comments.

The trivial debug printout removal being too trivial is no longer
part of this set. NTP and DNS information I also left off, I think
there might have been a few bugs so there should be some initial test
cases done first. And the values so received should be used in

I'll update the test case verbosity in another patch later. The
proposed log_link_warning_errno() I also delegated "for later",
let's try to have the DHCPv6 address assignment done first.

Please review,


Patrik Flykt (9):
  sd-dhcp6-lease: Revise address iteration functions
  sd-icmp6-nd: Update Router Advertisement handling
  sd-icmp6-nd: Add link and prefix structures for ICMPv6
  sd-icmp6-nd: Add helper function to get the IPv6 link MTU
  test-icmp6-rs: Add trivial test case for an MTU that is not present
  sd-icmp6-nd: Parse ICMPv6 prefix information
  test-icmp6-nd: Add test cases for prefixes
  sd-icmp6-nd: Add support for fetching the latest expired prefix
  networkd-dhcp6: Assign DHCPv6 addresses and prefix lengths

 src/libsystemd-network/sd-dhcp6-lease.c    |  26 +-
 src/libsystemd-network/sd-icmp6-nd.c       | 387 ++++++++++++++++++++++++++++-
 src/libsystemd-network/test-dhcp6-client.c |  45 ++--
 src/libsystemd-network/test-icmp6-rs.c     | 219 +++++++++++++++-
 src/network/networkd-dhcp6.c               | 165 +++++++++++-
 src/systemd/sd-dhcp6-lease.h               |  13 +-
 src/systemd/sd-icmp6-nd.h                  |  30 ++-
 7 files changed, 803 insertions(+), 82 deletions(-)


More information about the systemd-devel mailing list