Lines Matching refs:route
37 #include <net/route.h>
74 /* Many lines inspired or shamelessly stolen from sbin/route/route.c */
308 /* From src/sbin/route/route.c */
326 /* Adds a route. Or changes it. */
367 /* route to mpls interface */
386 warnp("Error adding a route: %s\n", route_strerror(errno));
409 /* Deletes a route */
451 warnp("Error deleting route(%s): %s/%s",
455 warnp("Error deleting route(%s) : %s",
463 * Check for a route and returns it in rg
507 debugp("Cannot get a route !(rlen=%d instead of %d) - %s\n",
540 /* Check if we don't have a less specific route */
554 /* triggered when a route event occurs */
580 debugp("Check route triggered by PID: %d\n", rg->m_rtm.rtm_pid);
631 * Check if the route is connected. If so, bind it to
633 * was announced by a LDP neighbour and route it there
661 break; /* Non-existent route XXX ?! */
663 * Send withdraw check the binding, delete the route, delete
670 /* No readd or delete IP route. Just delete the MPLS route */
742 fatalp("route-sysctl-estimate: %s",
773 debugp("MPLS route deleted.\n");
809 debugp("MPLS route to %s deleted.\n",
843 fatalp("route-sysctl-estimate: %s", strerror(errno));
847 fatalp("route-sysctl-estimate: %s", strerror(errno));
870 debugp("MPLS route deleted.\n");
882 debugp("MPLS route to %s deleted.\n",