chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dhcp: Process DHCP Ack/Nak message
[elogind.git]
/
src
/
systemd
/
sd-dhcp-client.h
diff --git
a/src/systemd/sd-dhcp-client.h
b/src/systemd/sd-dhcp-client.h
index 5c9c32793e4ded4f8a87759b781a48de997716b4..ed72cf1a7e01f978dad4db5279aa2468fb513026 100644
(file)
--- a/
src/systemd/sd-dhcp-client.h
+++ b/
src/systemd/sd-dhcp-client.h
@@
-27,6
+27,12
@@
#include "sd-event.h"
+enum {
+ DHCP_EVENT_NO_LEASE = 1,
+ DHCP_EVENT_IP_ACQUIRE = 2,
+ DHCP_EVENT_IP_CHANGE = 3,
+};
+
typedef struct sd_dhcp_client sd_dhcp_client;
int sd_dhcp_client_set_request_option(sd_dhcp_client *client, uint8_t option);