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