summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-server-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-24 19:27:20 +0200
committerTom Gundersen <teg@jklm.no>2014-06-13 16:53:13 +0200
commitff734080aa02cd70b13bc0fdeec4a5886166163a (patch)
tree5a9bbea68d09df0ce04719d27ca4dc37b376d3be /src/libsystemd-network/dhcp-server-internal.h
parentb44cd8821087f2afebf85fec5b588f5720a9415c (diff)
sd-dhcp-server: add basic functionality for starting/stopping server
Bind to UDP socket and listen for messages, discarding anything we receive.
Diffstat (limited to 'src/libsystemd-network/dhcp-server-internal.h')
-rw-r--r--src/libsystemd-network/dhcp-server-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-server-internal.h b/src/libsystemd-network/dhcp-server-internal.h
index e09b35936f..8191ef7fd7 100644
--- a/src/libsystemd-network/dhcp-server-internal.h
+++ b/src/libsystemd-network/dhcp-server-internal.h
@@ -32,6 +32,8 @@ struct sd_dhcp_server {
sd_event *event;
int event_priority;
+ sd_event_source *receive_message;
+ int fd;
};
DEFINE_TRIVIAL_CLEANUP_FUNC(sd_dhcp_server*, sd_dhcp_server_unref);