Lines Matching refs:route
55 struct rtnl_route *route; in main() local
66 route = nl_cli_route_alloc(); in main()
108 case 'd': nl_cli_route_parse_dst(route, optarg); break; in main()
109 case 'n': nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main()
110 case 't': nl_cli_route_parse_table(route, optarg); break; in main()
111 case ARG_FAMILY: nl_cli_route_parse_family(route, optarg); break; in main()
112 case ARG_SRC: nl_cli_route_parse_src(route, optarg); break; in main()
113 case ARG_IIF: nl_cli_route_parse_iif(route, optarg, link_cache); break; in main()
114 case ARG_PREF_SRC: nl_cli_route_parse_pref_src(route, optarg); break; in main()
115 case ARG_METRICS: nl_cli_route_parse_metric(route, optarg); break; in main()
116 case ARG_PRIORITY: nl_cli_route_parse_prio(route, optarg); break; in main()
117 case ARG_SCOPE: nl_cli_route_parse_scope(route, optarg); break; in main()
118 case ARG_PROTOCOL: nl_cli_route_parse_protocol(route, optarg); break; in main()
119 case ARG_TYPE: nl_cli_route_parse_type(route, optarg); break; in main()
123 if ((err = rtnl_route_add(sock, route, NLM_F_EXCL)) < 0) in main()
128 nl_object_dump(OBJ_CAST(route), &dp); in main()