summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-server-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-25 18:28:03 +0200
committerTom Gundersen <teg@jklm.no>2014-06-13 17:07:19 +0200
commit2dead8129f7b6fe644e17e1dc1739bebacfe1364 (patch)
tree6fe7573d838a3486a97b25f8ac984045284a82d8 /src/libsystemd-network/dhcp-server-internal.h
parent4dc355680460fdc8e0d590d8572dff1b6a257d88 (diff)
sd-dhcp-server: add basic REQUEST/ACK support
Diffstat (limited to 'src/libsystemd-network/dhcp-server-internal.h')
-rw-r--r--src/libsystemd-network/dhcp-server-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-server-internal.h b/src/libsystemd-network/dhcp-server-internal.h
index 381304ee47..cd480e7bba 100644
--- a/src/libsystemd-network/dhcp-server-internal.h
+++ b/src/libsystemd-network/dhcp-server-internal.h
@@ -40,6 +40,8 @@ struct sd_dhcp_server {
int index;
be32_t address;
+ be32_t pool_start;
+ size_t pool_size;
};
typedef struct DHCPClientId {
@@ -55,6 +57,7 @@ typedef struct DHCPRequest {
DHCPClientId client_id;
size_t max_optlen;
be32_t server_id;
+ be32_t requested_ip;
} DHCPRequest;
DEFINE_TRIVIAL_CLEANUP_FUNC(sd_dhcp_server*, sd_dhcp_server_unref);