chiark / gitweb /
dhcp: Add option appending and parsing
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 9 Dec 2013 21:43:11 +0000 (23:43 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 12 Dec 2013 16:43:33 +0000 (11:43 -0500)
commit524cf45894e8219bb66caca58a451bffdc5167ad
treeaac5a0893ea5761574fc859689a05c47a797e90e
parentb5d01d174c5cb3d2ae49875d3bc1f233c5412120
dhcp: Add option appending and parsing

Add functions to append and parse DHCP options. Not all options
are passed to the callback function, the ones not exposed are
pad, end, message type and overload. If indicated by the overload
option, file and sname fields will be examined for more options.

The option functions are internal to DHCP, add a new header files
for interal function prototypes.
src/libsystemd-dhcp/dhcp-internal.h [new file with mode: 0644]
src/libsystemd-dhcp/dhcp-option.c [new file with mode: 0644]