summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-protocol.h
Commit message (Collapse)AuthorAge
* sd-dhcp-client: allow the max dhcp message size to be set to the MTU of the linkTom Gundersen2014-08-01
|
* sd-dhcp-client: add support for FORCERENEWTom Gundersen2014-07-28
| | | | | This partially implements RFC3203. Note that we are not fully compliant as we do not support authentication.
* networkd: dhcp add vendor class indentifier option 60Susant Sahani2014-07-14
| | | | | | | | | | | | | | | | Vendor Class Identifier be used by DHCP clients to identify their vendor type and configuration. When using this option, vendors can define their own specific identifier values, such as to convey a particular hardware or operating system configuration or other identifying information. Vendor-specified DHCP options—features that let administrators assign separate options to clients with similar configuration requirements. For example, if DHCP-aware clients for example we want to separate different gateway and option for different set of people (dev/test/hr/finance) in a org or devices for example web/database servers or let's say in a embedded device etc and require a different default gateway or DNS server than the rest of clients.
* Add support for DHCP static route optionsEugene Yakubovich2014-06-29
| | | | | | This adds support for DHCP options 33 and 121: Static Route and Classless Static Route. To enable this feature, set UseRoutes=true in .network file. Returned routes are added to the routing table.
* sd-dhcp: rely on FIONREAD workingTom Gundersen2014-05-21
| | | | This fallback will anyway never get tested, so rip it out.
* dhcp-lease: add support for parsing a few more dhcp optionsTom Gundersen2014-05-20
|
* sd-dhcp: refactor dhcp_option_appendTom Gundersen2014-05-20
| | | | | | | | | | | | | Store a pointer to the options in the DHCPMessage struct, and pass this together with an offset around, rather than a uint8_t**. This avoids us having to (re)compute the pointer; and changes dhcp_option_append from adjusting both the pointer to the next option and the remaining size of the options, to just adjusting the current offset. This makes the code a bit simpler to follow IMHO, but there should be no functional change.
* sd-dhcp-client: Add an explicit stop state for the DHCP clientPatrik Flykt2014-04-11
| | | | | | | Add an explicit stop state for the DHCP client so that the library user can issue a stop at any time the callback has been called. When returning from the callback, check also the stop state and stop any further DHCP processing.
* sd-dhcp-client: move magic cookie into DHCPMessage structTom Gundersen2014-04-06
| | | | | | | | Also move the checking of it to the main message handler, rather than the options parser. Fix a bug, so we now drop the packet if any of the magic bytes don't match. Before we used to only drop the packet if they were all wrong.
* sd-dhcp-lease: add Root Path supportTom Gundersen2014-03-03
| | | | This is necessary when mounting /dev/nfs based on a DHCP lease.
* sd-network: add new libraryTom Gundersen2014-02-28
This is similar to sd-login, but exposes the state of networkd rather than logind. Include it in libsystemd-dhcp and rename it to libsystemd-network.