Searched refs:string_to_idx (Results 1 – 1 of 1) sorted by relevance
120 static int string_to_idx(char *str, struct arglist *list) in string_to_idx() function328 int idx = string_to_idx(name, rtmtypes); in rtmtype_str2idx()2446 if (*argv && ipt_opt_idx <= 2 && string_to_idx(*argv, opts) == -1) { in parse_iptunnel_args()2458 switch (idx = string_to_idx(*argv, opts)) { in parse_iptunnel_args()2757 if ((TT.addressfamily = string_to_idx(*optargv, ip_aflist)) == -1) in ip_main()2784 if ((idx = string_to_idx(toys.which->name, ip_objectlist)) == -1) in ip_main()