5 #define INIT_SELECTING 0
11 #define RENEW_REQUESTED 6
15 struct client_config_t {
16 char foreground; /* Do not fork */
17 char quit_after_lease; /* Quit after obtaining lease */
18 char abort_if_no_lease; /* Abort if no lease */
19 char background_if_no_lease; /* Fork to background if no lease */
20 char *interface; /* The name of the interface to use */
21 char *pidfile; /* Optionally store the process ID */
22 char *script; /* User script to run at dhcp events */
23 unsigned char *clientid; /* Optional client id to use */
24 unsigned char *hostname; /* Optional hostname to use */
25 int ifindex; /* Index number of the interface to use */
26 unsigned char arp[6]; /* Our arp address */
29 extern struct client_config_t client_config;