Lines Matching full:opts
107 static const struct option opts[] =
109 static const struct myoption opts[] =
259 { 'M', ARG_DUP, "<bootp opts>", gettext_noop("Specify BOOTP options to DHCP server."), NULL },
630 for ( j = 0; opts[j].name; j++)
631 if (opts[j].val == usage[i].opt)
638 sprintf(buff+4, "--%s%s%s", opts[j].name, eq, desc);
2652 for (option = 0, i = 0; opts[i].name; i++)
2653 if (strcmp(opts[i].name, start) == 0)
2655 option = opts[i].val;
2661 else if (opts[i].has_arg == 0 && arg)
2663 else if (opts[i].has_arg == 1 && !arg)
2732 struct dhcp_opt *opts, *cp, **up;
2735 for (up = &daemon->dhcp_opts, opts = daemon->dhcp_opts; opts; opts = cp)
2737 cp = opts->next;
2739 if (opts->flags & DHOPT_BANK)
2741 if ((opts->flags & DHOPT_VENDOR))
2742 free(opts->u.vendor_class);
2743 free(opts->val);
2744 for (id = opts->netid; id; id = next)
2750 *up = opts->next;
2751 free(opts);
2754 up = &opts->next;
2797 option = getopt_long(argc, argv, OPTSTRING, opts, NULL);