Searched refs:opt_list (Results 1 - 3 of 3) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/udhcpd/
H A Doptions.h37 struct option_set *find_option(struct option_set *opt_list, char code);
38 void attach_option(struct option_set **opt_list, struct dhcp_option *option, char *buffer, int length);
H A Doptions.c189 /* find option 'code' in opt_list */
190 struct option_set *find_option(struct option_set *opt_list, char code) argument
192 while (opt_list && opt_list->data[OPT_CODE] < code)
193 opt_list = opt_list->next;
195 if (opt_list && opt_list->data[OPT_CODE] == code) return opt_list;
200 /* add an option to the opt_list */
201 attach_option(struct option_set **opt_list, struct dhcp_option *option, char *buffer, int length) argument
[all...]
H A Dfiles.c72 /* read a dhcp option and add it to opt_list */
75 struct option_set **opt_list = arg; local
145 attach_option(opt_list, option, buffer, length);

Completed in 39 milliseconds