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() function334 int idx = string_to_idx(name, rtmtypes); in rtmtype_str2idx()2450 if (*argv && ipt_opt_idx <= 2 && string_to_idx(*argv, opts) == -1) { in parse_iptunnel_args()2462 switch (idx = string_to_idx(*argv, opts)) { in parse_iptunnel_args()2761 if ((TT.addressfamily = string_to_idx(*optargv, ip_aflist)) == -1) in ip_main()2788 if ((idx = string_to_idx(toys.which->name, ip_objectlist)) == -1) in ip_main()