Lines Matching refs:opt_list
189 /* find option 'code' in opt_list */
190 struct option_set *find_option(struct option_set *opt_list, char code)
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 void attach_option(struct option_set **opt_list, struct dhcp_option *option, char *buffer, int length)
206 if ((existing = find_option(*opt_list, option->code))) {
226 curr = opt_list;