diff options
author | Ronan Pigott <ronan@rjp.ie> | 2023-10-24 20:01:32 +0200 |
---|---|---|
committer | Ronan Pigott <ronan@rjp.ie> | 2023-10-27 00:26:50 +0200 |
commit | 808b65a08729caa268efd57c478285ee4912d5a3 (patch) | |
tree | 19fd7ac7f3fb996e340eb102ab36969b02d8e044 /src/libsystemd-network/dhcp-lease-internal.h | |
parent | network: cleanup unreachable condition in dhcp client path (diff) | |
download | systemd-808b65a08729caa268efd57c478285ee4912d5a3.tar.xz systemd-808b65a08729caa268efd57c478285ee4912d5a3.zip |
network: implement RFC4039 DHCP Rapid Commit
This implements the DHCPv4 equivalent of the DHCPv6 Rapid Commit option,
enabling a lease to be selected in an accelerated 2-message exchange
instead of the typical 4-message exchange.
Diffstat (limited to 'src/libsystemd-network/dhcp-lease-internal.h')
-rw-r--r-- | src/libsystemd-network/dhcp-lease-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-lease-internal.h b/src/libsystemd-network/dhcp-lease-internal.h index ce1342e9fd..0b72813733 100644 --- a/src/libsystemd-network/dhcp-lease-internal.h +++ b/src/libsystemd-network/dhcp-lease-internal.h @@ -50,6 +50,8 @@ struct sd_dhcp_lease { struct in_addr *router; size_t router_size; + bool rapid_commit; + DHCPServerData servers[_SD_DHCP_LEASE_SERVER_TYPE_MAX]; struct sd_dhcp_route *static_routes; |