Lines Matching refs:substring_to_idx

107 static int substring_to_idx(char *str, struct arglist *list)  in substring_to_idx()  function
522 if ((idx = substring_to_idx(*argv++, vlan_optlist)) == -1) iphelp(); in vlan_parse_opt()
531 if ((idx = substring_to_idx(*argv, vlan_protolist)) == -1) iphelp(); in vlan_parse_opt()
539 if ((param = substring_to_idx(*argv, on_off)) == -1) iphelp(); in vlan_parse_opt()
566 uint8_t idx = substring_to_idx(*argv, objectlist); in linkupdate()
653 if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) iphelp(); in link_set()
944 else if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) iphelp(); in iplink()
1086 idx = substring_to_idx(*argv, cmd_objectlist); in ipaddrupdate()
1247 switch (idx = substring_to_idx(*argv, cmd_objectlist)) { in ipaddr_listflush()
1434 else if ((idx = substring_to_idx(*argv++, cmd_objectlist)) == -1) iphelp(); in ipaddr()
1689 switch(idx = substring_to_idx(*argv, cmd_objectlist)) { in route_get()
1780 switch (idx = substring_to_idx(*argv, cmd_objectlist)) { in route_show_flush()
1808 idx = substring_to_idx(*argv, cmd_objectlist); in route_show_flush()
1821 idx = substring_to_idx(*argv, cmd_objectlist); in route_show_flush()
1841 idx = substring_to_idx(*argv, cmd_objectlist); in route_show_flush()
1932 idx = substring_to_idx(*argv, cmd_objectlist); in route_update()
1946 if (substring_to_idx(*argv, cmd_objectlist ) == 3) { in route_update()
1980 idx = substring_to_idx(*argv,rtmtypes); in route_update()
2033 switch (idx = substring_to_idx(*argv , cmd_objectlist1)) { in iproute()
2103 switch ((idx = substring_to_idx(*argv, options))) { in ruleupdate()
2309 else if ((idx = substring_to_idx(*argv++, options)) == -1) in iprule()
2672 else if ((idx = substring_to_idx(*argv++, opts)) == -1) in iptunnel()
2747 switch (substring_to_idx(ptr, ip_options)) { in ip_main()
2781 if ((idx = substring_to_idx(*optargv, ip_objectlist)) == -1) iphelp(); in ip_main()