summaryrefslogtreecommitdiffstats
path: root/dhcpcd.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-16 22:23:07 +0000
committerRoy Marples <roy@marples.name>2008-07-16 22:23:07 +0000
commita26af49123674044a0216fbae83bec30db5f8ab3 (patch)
tree5024ea32e0cdc998220c80a17d3d3afba0e86ef0 /dhcpcd.h
parentc4d4ee1358061ff620679a51b0d620ce4fa1326b (diff)
downloaddhcpcd-a26af49123674044a0216fbae83bec30db5f8ab3.tar.xz
Add support for link carrier detection. For Linux this involved a big change to the netlink code to add callbacks, for BSD just an extra function. We also have an option not to wait for a DHCP lease and fork right away - useful for startup scripts.
Diffstat (limited to 'dhcpcd.h')
-rw-r--r--dhcpcd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcpcd.h b/dhcpcd.h
index 10d23ffb..c6c98504 100644
--- a/dhcpcd.h
+++ b/dhcpcd.h
@@ -68,6 +68,8 @@ extern char *dhcpcd_skiproutes;
#define DHCPCD_FORKED (1 << 17)
#define DHCPCD_HOSTNAME (1 << 18)
#define DHCPCD_CLIENTID (1 << 19)
+#define DHCPCD_LINK (1 << 20)
+#define DHCPCD_NOWAIT (1 << 21)
struct options {
char interface[IF_NAMESIZE];