diff options
Diffstat (limited to 'urunlevel/networking/udhcp/dhcpc.h')
-rw-r--r-- | urunlevel/networking/udhcp/dhcpc.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/urunlevel/networking/udhcp/dhcpc.h b/urunlevel/networking/udhcp/dhcpc.h deleted file mode 100644 index 25252af..0000000 --- a/urunlevel/networking/udhcp/dhcpc.h +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | /* dhcpc.h */ | ||
2 | #ifndef _DHCPC_H | ||
3 | #define _DHCPC_H | ||
4 | |||
5 | //#define DEFAULT_SCRIPT "/usr/share/udhcpc/default.script" | ||
6 | #define DEFAULT_SCRIPT "/sbin/udhcpc_script" | ||
7 | |||
8 | /* allow libbb_udhcp.h to redefine DEFAULT_SCRIPT */ | ||
9 | #include "libbb_udhcp.h" | ||
10 | |||
11 | #define INIT_SELECTING 0 | ||
12 | #define REQUESTING 1 | ||
13 | #define BOUND 2 | ||
14 | #define RENEWING 3 | ||
15 | #define REBINDING 4 | ||
16 | #define INIT_REBOOT 5 | ||
17 | #define RENEW_REQUESTED 6 | ||
18 | #define RELEASED 7 | ||
19 | |||
20 | |||
21 | struct client_config_t { | ||
22 | char foreground; /* Do not fork */ | ||
23 | char quit_after_lease; /* Quit after obtaining lease */ | ||
24 | char abort_if_no_lease; /* Abort if no lease */ | ||
25 | char background_if_no_lease; /* Fork to background if no lease */ | ||
26 | char *interface; /* The name of the interface to use */ | ||
27 | char *pidfile; /* Optionally store the process ID */ | ||
28 | char *script; /* User script to run at dhcp events */ | ||
29 | uint8_t *clientid; /* Optional client id to use */ | ||
30 | uint8_t *hostname; /* Optional hostname to use */ | ||
31 | int ifindex; /* Index number of the interface to use */ | ||
32 | uint8_t arp[6]; /* Our arp address */ | ||
33 | }; | ||
34 | |||
35 | extern struct client_config_t client_config; | ||
36 | |||
37 | |||
38 | #endif | ||