chiark / gitweb /
sd-dhcp6-client: Add basic DHCPv6 option handling
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 19 Jun 2014 12:39:20 +0000 (15:39 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 19 Jun 2014 12:44:43 +0000 (15:44 +0300)
commitf12ed3bf0b315fc88d5fbdf5bdca14b218c86e0c
tree0199a8e65a8c285052dca77d0349394ae85523d1
parentd1b0afe3653b4316a6361d204169620726d468a0
sd-dhcp6-client: Add basic DHCPv6 option handling

Add option appending and parsing. DHCPv6 options are not aligned, thus
the option handling code must be able to handle options starting at
any byte boundary.

Add a test case for the basic option handling.
Makefile.am
src/libsystemd-network/dhcp6-internal.h
src/libsystemd-network/dhcp6-option.c [new file with mode: 0644]
src/libsystemd-network/test-dhcp6-client.c