Lines Matching refs: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);
2669 for (option = 0, i = 0; opts[i].name; i++)
2670 if (strcmp(opts[i].name, start) == 0)
2672 option = opts[i].val;
2678 else if (opts[i].has_arg == 0 && arg)
2680 else if (opts[i].has_arg == 1 && !arg)
2749 struct dhcp_opt *opts, *cp, **up;
2752 for (up = &daemon->dhcp_opts, opts = daemon->dhcp_opts; opts; opts = cp)
2754 cp = opts->next;
2756 if (opts->flags & DHOPT_BANK)
2758 if ((opts->flags & DHOPT_VENDOR))
2759 free(opts->u.vendor_class);
2760 free(opts->val);
2761 for (id = opts->netid; id; id = next)
2767 *up = opts->next;
2768 free(opts);
2771 up = &opts->next;
2814 option = getopt_long(argc, argv, OPTSTRING, opts, NULL);