Lines Matching refs:substring_to_idx

107 static int substring_to_idx(char *str, struct arglist *list)  in substring_to_idx()  function
516 if ((idx = substring_to_idx(*argv++, vlan_optlist)) == -1) help_exit(0); in vlan_parse_opt()
525 if ((idx = substring_to_idx(*argv, vlan_protolist)) == -1) help_exit(0); in vlan_parse_opt()
533 if ((param = substring_to_idx(*argv, on_off)) == -1) help_exit(0); in vlan_parse_opt()
560 uint8_t idx = substring_to_idx(*argv, objectlist); in linkupdate()
647 if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) help_exit(0); in link_set()
938 else if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) in iplink()
1081 idx = substring_to_idx(*argv, cmd_objectlist); in ipaddrupdate()
1242 switch (idx = substring_to_idx(*argv, cmd_objectlist)) { in ipaddr_listflush()
1429 else if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) in ipaddr()
1685 switch(idx = substring_to_idx(*argv, cmd_objectlist)) { in route_get()
1776 switch (idx = substring_to_idx(*argv, cmd_objectlist)) { in route_show_flush()
1804 idx = substring_to_idx(*argv, cmd_objectlist); in route_show_flush()
1817 idx = substring_to_idx(*argv, cmd_objectlist); in route_show_flush()
1837 idx = substring_to_idx(*argv, cmd_objectlist); in route_show_flush()
1928 idx = substring_to_idx(*argv, cmd_objectlist); in route_update()
1942 if (substring_to_idx(*argv, cmd_objectlist ) == 3) { in route_update()
1976 idx = substring_to_idx(*argv,rtmtypes); in route_update()
2029 switch (idx = substring_to_idx(*argv , cmd_objectlist1)) { in iproute()
2099 switch ((idx = substring_to_idx(*argv, options))) { in ruleupdate()
2305 else if ((idx = substring_to_idx(*argv++, options)) == -1) in iprule()
2668 else if ((idx = substring_to_idx(*argv++, opts)) == -1) in iptunnel()
2743 switch (substring_to_idx(ptr, ip_options)) { in ip_main()
2777 if ((idx = substring_to_idx(*optargv, ip_objectlist)) == -1) help_exit(0); in ip_main()