summaryrefslogtreecommitdiffstats
path: root/dhcpcd.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-09 17:07:48 +0000
committerRoy Marples <roy@marples.name>2008-09-09 17:07:48 +0000
commit2b60ecb71e76e4a6ac765afac3ce7da87ef4464b (patch)
tree968c8817e04c5120bd31ed433f3aed92a0471a1a /dhcpcd.h
parent21164dfb798aedb56d11bcdca897106748094d91 (diff)
downloaddhcpcd-2b60ecb71e76e4a6ac765afac3ce7da87ef4464b.tar.xz
Sort interfaces according to preference and pass this to dhcpcd-run-hooks so we can prefer configs.
Diffstat (limited to 'dhcpcd.h')
-rw-r--r--dhcpcd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dhcpcd.h b/dhcpcd.h
index 08605074..2251febd 100644
--- a/dhcpcd.h
+++ b/dhcpcd.h
@@ -67,7 +67,6 @@ struct if_state {
time_t nakoff;
uint32_t xid;
int socket;
- int carrier;
int probes;
int claims;
int conflicts;
@@ -84,6 +83,7 @@ struct interface
unsigned char hwaddr[HWADDR_LEN];
size_t hwlen;
int metric;
+ int carrier;
int arpable;
int raw_fd;
@@ -106,6 +106,7 @@ struct interface
extern int pidfd;
extern int options;
+extern struct interface *ifaces;
int handle_args(int, char **);
void handle_exit_timeout(void *);