Lines Matching refs:ival
157 int ival; in nl_cli_route_parse_nexthop() local
174 if (!(ival = rtnl_link_name2i(link_cache, arg))) in nl_cli_route_parse_nexthop()
177 rtnl_route_nh_set_ifindex(nh, ival); in nl_cli_route_parse_nexthop()
243 int ival; in nl_cli_route_parse_scope() local
245 if ((ival = rtnl_str2scope(arg)) < 0) in nl_cli_route_parse_scope()
248 rtnl_route_set_scope(route, ival); in nl_cli_route_parse_scope()
273 int ival; in nl_cli_route_parse_type() local
275 if ((ival = nl_str2rtntype(arg)) < 0) in nl_cli_route_parse_type()
278 if ((ival = rtnl_route_set_type(route, ival)) < 0) in nl_cli_route_parse_type()
279 nl_cli_fatal(ival, "Unable to set routing type: %s", in nl_cli_route_parse_type()
280 nl_geterror(ival)); in nl_cli_route_parse_type()
285 int ival; in nl_cli_route_parse_iif() local
287 if (!(ival = rtnl_link_name2i(link_cache, arg))) in nl_cli_route_parse_iif()
290 rtnl_route_set_iif(route, ival); in nl_cli_route_parse_iif()