Lines Matching refs:ival
154 int ival; in nl_cli_route_parse_nexthop() local
171 if (!(ival = rtnl_link_name2i(link_cache, arg))) in nl_cli_route_parse_nexthop()
174 rtnl_route_nh_set_ifindex(nh, ival); in nl_cli_route_parse_nexthop()
228 int ival; in nl_cli_route_parse_scope() local
230 if ((ival = rtnl_str2scope(arg)) < 0) in nl_cli_route_parse_scope()
233 rtnl_route_set_scope(route, ival); in nl_cli_route_parse_scope()
258 int ival; in nl_cli_route_parse_type() local
260 if ((ival = nl_str2rtntype(arg)) < 0) in nl_cli_route_parse_type()
263 if ((ival = rtnl_route_set_type(route, ival)) < 0) in nl_cli_route_parse_type()
264 nl_cli_fatal(ival, "Unable to set routing type: %s", in nl_cli_route_parse_type()
265 nl_geterror(ival)); in nl_cli_route_parse_type()
270 int ival; in nl_cli_route_parse_iif() local
272 if (!(ival = rtnl_link_name2i(link_cache, arg))) in nl_cli_route_parse_iif()
275 rtnl_route_set_iif(route, ival); in nl_cli_route_parse_iif()