Changeset View
Changeset View
Standalone View
Standalone View
sbin/dhclient/clparse.c
Show First 20 Lines • Show All 681 Lines • ▼ Show 20 Lines | |||||
parse_option_decl(FILE *cfile, struct option_data *options) | parse_option_decl(FILE *cfile, struct option_data *options) | ||||
{ | { | ||||
char *val; | char *val; | ||||
int token; | int token; | ||||
u_int8_t buf[4]; | u_int8_t buf[4]; | ||||
u_int8_t hunkbuf[1024]; | u_int8_t hunkbuf[1024]; | ||||
unsigned hunkix = 0; | unsigned hunkix = 0; | ||||
char *vendor; | char *vendor; | ||||
char *fmt; | const char *fmt; | ||||
struct universe *universe; | struct universe *universe; | ||||
struct option *option; | struct option *option; | ||||
struct iaddr ip_addr; | struct iaddr ip_addr; | ||||
u_int8_t *dp; | u_int8_t *dp; | ||||
unsigned len; | unsigned len; | ||||
int nul_term = 0; | int nul_term = 0; | ||||
token = next_token(&val, cfile); | token = next_token(&val, cfile); | ||||
▲ Show 20 Lines • Show All 261 Lines • Show Last 20 Lines |