sd-dhcp6-client: Add Option Request Option support

System Internals / systemd - Patrik Flykt [linux.intel.com] - 26 June 2014 08:10 UTC

Provide a function to request more options from the DHCPv6 server. Provide a sensible default set at startup and add test basic test cases for the intended usage.

Define DNS and NTP related option codes and add comments for the unassigned codes.

da6fe47 sd-dhcp6-client: Add Option Request Option support
src/libsystemd-network/dhcp6-protocol.h | 12 ++++++
src/libsystemd-network/sd-dhcp6-client.c | 57 ++++++++++++++++++++++++++++
src/libsystemd-network/test-dhcp6-client.c | 9 +++++
src/systemd/sd-dhcp6-client.h | 2 +
4 files changed, 80 insertions(+)

Upstream: github.com


  • Share