Searched refs:cf_options (Results 1 – 3 of 3) sorted by relevance
/external/dhcpcd/ |
D | if-options.c | 59 const struct option cf_options[] = { variable 766 for (i = 0; i < sizeof(cf_options) / sizeof(cf_options[0]); i++) { in parse_config_line() 767 if (!cf_options[i].name || in parse_config_line() 768 strcmp(cf_options[i].name, opt) != 0) in parse_config_line() 771 if (cf_options[i].has_arg == required_argument && !line) { in parse_config_line() 778 return parse_option(ifo, cf_options[i].val, line); in parse_config_line() 899 while ((opt = getopt_long(argc, argv, IF_OPTS, cf_options, &oi)) != -1) in add_options()
|
D | if-options.h | 83 extern const struct option cf_options[];
|
D | dhcpcd.c | 1688 while ((opt = getopt_long(argc, argv, IF_OPTS, cf_options, &oi)) != -1) in handle_args() 1826 while ((opt = getopt_long(argc, argv, IF_OPTS, cf_options, &oi)) != -1) in main()
|