Lines Matching defs:route

291         Route *route = NULL;
301 log_warning_errno(r, "rtnl: failed to receive route: %m");
311 log_warning("rtnl: received unexpected message type when processing route");
317 log_debug("rtnl: received route without ifindex, ignoring");
320 log_warning_errno(r, "rtnl: could not get ifindex from route, ignoring: %m");
323 log_warning("rtnl: received route message with invalid ifindex, ignoring: %d", ifindex);
329 * get the route again, so just ignore it */
331 log_warning("rtnl: received route for nonexistent link (%d), ignoring", ifindex);
344 log_warning_errno(r, "rtnl: could not get route protocol: %m");
352 log_link_warning_errno(link, r, "rtnl: received route without valid destination, ignoring: %m");
358 log_link_warning_errno(link, r, "rtnl: received route with invalid gateway, ignoring: %m");
364 log_link_warning_errno(link, r, "rtnl: received route with invalid source, ignoring: %m");
370 log_link_warning_errno(link, r, "rtnl: received route with invalid preferred source, ignoring: %m");
379 log_link_warning_errno(link, r, "rtnl: received route without valid destination, ignoring: %m");
385 log_link_warning_errno(link, r, "rtnl: received route with invalid gateway, ignoring: %m");
391 log_link_warning_errno(link, r, "rtnl: received route with invalid source, ignoring: %m");
397 log_link_warning_errno(link, r, "rtnl: received route with invalid preferred source, ignoring: %m");
410 log_link_warning_errno(link, r, "rtnl: received route with invalid destination prefixlen, ignoring: %m");
416 log_link_warning_errno(link, r, "rtnl: received route with invalid source prefixlen, ignoring: %m");
422 log_link_warning_errno(link, r, "rtnl: received route with invalid scope, ignoring: %m");
428 log_link_warning_errno(link, r, "rtnl: received route with invalid tos, ignoring: %m");
434 log_link_warning_errno(link, r, "rtnl: received route with invalid table, ignoring: %m");
440 log_link_warning_errno(link, r, "rtnl: received route with invalid priority, ignoring: %m");
444 route_get(link, family, &dst, dst_prefixlen, tos, priority, table, &route);
448 if (!route) {
449 /* A route appeared that we did not request */
450 r = route_add_foreign(link, family, &dst, dst_prefixlen, tos, priority, table, &route);
455 route_update(route, &src, src_prefixlen, &gw, &prefsrc, scope, protocol);
461 if (route)
462 route_drop(route);
1237 sd_netlink_message *route;
1255 for (route = reply; route; route = sd_netlink_message_next(route)) {
1260 k = manager_rtnl_process_route(m->rtnl, route, m);
1297 * interface that is up and where the default route with the