Home | History | Annotate | Download | only in pppd

Lines Matching defs:options

2  * options.c - handles option processing for PPP.
43 #define RCSID "$Id: options.c,v 1.102 2008/06/15 06:53:06 paulus Exp $"
144 int option_priority = OPRIO_CFGFILE; /* priority of the current options */
184 * Structure to store extra lists of options.
187 option_t *options;
233 "Take options from a file", OPT_NOPRINT },
235 "Take options from a privileged file", OPT_NOPRINT },
248 "Show brief listing of options" },
250 "Show brief listing of options", OPT_ALIAS },
287 "Print out option values after parsing all options", 1 },
289 "Stop after parsing, printing, and checking options", 1 },
351 Usage: %s [ options ], where options are:\n\
361 file <f> Take options from file <f>\n\
364 See pppd(8) for more options.\n\
405 * options_from_file - Read a string of options from a file,
438 warn("Warning: can't open options file %s: %m", filename);
441 option_error("Can't open options file %s: %m", filename);
483 * and if so, interpret options from it.
509 * options_for_tty - See if an options file exists for the serial
510 * device, and if so, interpret options from it.
511 * We only allow the per-tty options file to override anything from
527 return 1; /* don't look for /etc/ppp/options.tty */
544 * options_from_list - process a string of options in a wordlist.
629 for (opt = list->options; opt->name != NULL; ++opt)
632 for (opt = the_channel->options; opt->name != NULL; ++opt)
636 if ((opt = protocols[i]->options) != NULL)
874 * add_options - add a list of options to the set we grok.
885 list->options = opt;
891 * check_options - check that options are valid and consistent.
1002 * print_option_list - print out options in effect from an
1003 * array of options.
1022 * print_options - print out what options are in effect.
1032 printer(arg, "pppd options in effect:\n");
1036 print_option_list(list->options, printer, arg);
1037 print_option_list(the_channel->options, printer, arg);
1039 print_option_list(protocols[i]->options, printer, arg);
1422 * The following procedures parse options.