Lines Matching defs:route
2 * lib/route/route.c Routes
14 * @defgroup route Routing
24 #include <netlink/route/rtnl.h>
25 #include <netlink/route/route.h>
26 #include <netlink/route/link.h>
33 struct rtnl_route *route;
36 if ((err = rtnl_route_parse(nlh, &route)) < 0)
39 err = pp->pp_cb((struct nl_object *) route, pp);
41 rtnl_route_put(route);
63 * Build a route cache holding all routes currently configured in the kernel
104 * @name Route Addition
133 int rtnl_route_add(struct nl_sock *sk, struct rtnl_route *route, int flags)
138 if ((err = rtnl_route_build_add_request(route, flags, &msg)) < 0)
155 int rtnl_route_delete(struct nl_sock *sk, struct rtnl_route *route, int flags)
160 if ((err = rtnl_route_build_del_request(route, flags, &msg)) < 0)
181 .co_name = "route/route",