Home
last modified time | relevance | path

Searched refs:cf_options (Results 1 – 3 of 3) sorted by relevance

/external/dhcpcd/
Dif-options.c59 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()
Dif-options.h83 extern const struct option cf_options[];
Ddhcpcd.c1688 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()