• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp-2.4.4/pppd/

Lines Matching defs:options

2  * options.c - handles option processing for PPP.
43 #define RCSID "$Id: options.c,v 1.100 2006/06/18 11:26:00 paulus Exp $"
147 int option_priority = OPRIO_CFGFILE; /* priority of the current options */
182 * Structure to store extra lists of options.
185 option_t *options;
232 "Take options from a file", OPT_NOPRINT },
234 "Take options from a privileged file", OPT_NOPRINT },
247 "Show brief listing of options" },
249 "Show brief listing of options", OPT_ALIAS },
286 "Print out option values after parsing all options", 1 },
288 "Stop after parsing, printing, and checking options", 1 },
343 Usage: %s [ options ], where options are:\n\
353 file <f> Take options from file <f>\n\
356 See pppd(8) for more options.\n\
397 * options_from_file - Read a string of options from a file,
430 warn("Warning: can't open options file %s: %m", filename);
433 option_error("Can't open options file %s: %m", filename);
475 * and if so, interpret options from it.
501 * options_for_tty - See if an options file exists for the serial
502 * device, and if so, interpret options from it.
503 * We only allow the per-tty options file to override anything from
519 return 1; /* don't look for /etc/ppp/options.tty */
536 * options_from_list - process a string of options in a wordlist.
621 for (opt = list->options; opt->name != NULL; ++opt)
624 for (opt = the_channel->options; opt->name != NULL; ++opt)
628 if ((opt = protocols[i]->options) != NULL)
855 * add_options - add a list of options to the set we grok.
866 list->options = opt;
872 * check_options - check that options are valid and consistent.
986 * print_option_list - print out options in effect from an
987 * array of options.
1006 * print_options - print out what options are in effect.
1016 printer(arg, "pppd options in effect:\n");
1020 print_option_list(list->options, printer, arg);
1021 print_option_list(the_channel->options, printer, arg);
1023 print_option_list(protocols[i]->options, printer, arg);
1406 * The following procedures parse options.