summaryrefslogtreecommitdiff
path: root/src/libsystemd-dhcp
AgeCommit message (Collapse)Author
2013-12-12dhcp: Add buffer length and invalid cookie tests for DHCP optionsPatrik Flykt
Create an initial simple test program for these two cases.
2013-12-12dhcp: Add option appending and parsingPatrik Flykt
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.
2013-12-12build: Add initial build supportPatrik Flykt
The client test program is the only one to be built so far.
2013-12-12dhcp: Add test for DHCP client initialization and parameter settingPatrik Flykt
2013-12-12dhcp: Add DHCP client initializationPatrik Flykt
Provide functionality for initializing a DHCP client struct, setting interface index, last used address and additional options to request. On initialization the most useful options are added by default.