Lines Matching refs:route

43  *	@(#)route.c	8.6 (Berkeley) 4/28/95
59 #include <net/route.h>
181 * Size of buffers used to hold command lines from the saved route file as
195 * to route add, change, delete, and get.
353 (void) fprintf(stderr, gettext("route: botched keyword: %s\n"),
356 (void) fprintf(stderr, gettext("usage: route [ -fnpqv ] "
380 syntax_error(gettext("route: botched keyword: %s\n"), keyword);
386 syntax_error(gettext("route: argument required following keyword %s\n"),
393 (void) fprintf(stderr, "route: ");
536 "route: show command requires -p\n"));
595 /* This flushes the persistent route file */
612 gettext("route: flush: insufficient privileges\n"));
792 gettext("route: write to routing socket: %s\n"),
795 (void) fprintf(stderr, gettext("route: write to "
1063 * Print the short form summary of a route command.
1241 syntax_error(gettext("route: -host and -net "
1249 syntax_error(gettext("route: -host and -net "
1387 syntax_error(gettext("route: can't "
1394 syntax_error(gettext("route: "
1401 syntax_error(gettext("route: "
1433 * Needed for compatibility with old route
1444 "route %s\n", iflag ?
1458 syntax_error(gettext("route: destination required\n"));
1463 "route: gateway required for add or delete command\n"));
1515 * routes to the persistent route file, everything on
1519 * yet must be present in the persistent route file.
1532 quit(gettext("failed to write to route file"),
1549 * Search the route file for routes matching the supplied route. There are 3
1579 "route: failed to write to temp file"),
1588 * route file must be treated as AF_INET by default.
1613 (void) printf("persistent: route %s", file_line);
1632 * Perform the route operation given in argv on the persistent route file.
1633 * If do_flush is set, the persistent route file is flushed of all routes
1647 "# File generated by route(1M) - do not edit.\n";
1651 quit("failed to open route file", errno);
1658 quit(gettext("failed to lock route file"), errno);
1664 quit(gettext("failed to open route file"), errno);
1667 quit(gettext("failed to open route file"), errno);
1684 quit(gettext("failed to update route file"), errno);
1706 gettext("route: change command not supported with -p\n"));
1717 quit(gettext("failed to update route file"), errno);
1750 syntax_error(gettext("route: invalid arguments for show\n"));
1760 quit(gettext("failed to open route file"), errno);
1768 quit(gettext("failed to lock route file"),
1773 quit(gettext("failed to open route file"), errno);
1811 gettext("route: %s: no such interface\n"),
1990 /* Let's check to see if this is maybe a local subnet route. */
2037 * If exit_on_error is true, this function will cause route to exit on error by
2120 "route: bad prefix length: %d\n"),
2134 gettext("route: -netmask not supported for IPv6: "
2154 "route: bad prefix length: %d\n"),
2216 syntax_error(gettext("route: %s: unexpected '/'\n"), str);
2303 syntax_error(gettext("route: %s: unexpected '/'\n"), str);
2324 syntax_error(gettext("route: %s: bad address (try "
2328 syntax_error(gettext("route: %s: bad address\n"), s);
2349 syntax_error(gettext("route: %s: unexpected '/'\n"), addr);
2359 syntax_error(gettext("route: bad prefix length %s\n"), str);
2363 syntax_error(gettext("route: prefix length %s out of range\n"),
2520 gettext("route: write to routing socket got only %d for "
2530 gettext("route: read from routing socket: %s\n"),
2547 "RTM_REDIRECT: Told to use different route",
2649 (void) printf(" route to: %s\n", routename(&req_rt->ri_dst.sa));