Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-12 | dhcp: Add function for sending a raw packet | Patrik Flykt | |
Open a packet socket, create a link level header, send packet and close socket. Adding it to a separate file makes testing of the DHCP sending much easier, as the test program can supply any socket to the DHCP client code. | |||
2013-12-12 | dhcp: Add option appending and parsing | Patrik 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. |