Lines Matching defs:n

340 #define	ADVANCE(x, n) ((x) += ROUNDUP_LONG(salen(n)))
353 (void) fprintf(stderr, gettext("route: botched keyword: %s\n"),
357 "[ -R <root-dir> ] cmd [[ -<qualifers> ] args ]\n"));
380 syntax_error(gettext("route: botched keyword: %s\n"), keyword);
386 syntax_error(gettext("route: argument required following keyword %s\n"),
396 (void) fprintf(stderr, "%s\n", strerror(sverrno));
423 case 'n':
536 "route: show command requires -p\n"));
612 gettext("route: flush: insufficient privileges\n"));
624 "T_SVR4_OPTMGMT_REQ\n");
643 gettext("ipRouteEntrySize can't be determined.\n"));
680 "ipv6RouteEntrySize cannot be determined.\n"));
792 gettext("route: write to routing socket: %s\n"),
796 "routing socket got only %d for rlen\n"), rlen);
818 (void) printf("done\n");
1182 const char *ws = "\f\n\r\t\v ";
1242 "are mutually exclusive\n"));
1250 "are mutually exclusive\n"));
1389 "attribute\n"));
1395 "bad security attribute: %s\n"),
1403 "security attributes.\n"));
1444 "route %s\n", iflag ?
1458 syntax_error(gettext("route: destination required\n"));
1463 "route: gateway required for add or delete command\n"));
1529 file_line[len - 1] = '\n';
1574 if (file_line[4] == '#' || file_line[4] == '\n') {
1618 (void) printf("\n");
1647 "# File generated by route(1M) - do not edit.\n";
1696 (void) fprintf(stderr, ": entry exists\n");
1701 (void) printf("\n");
1706 gettext("route: change command not supported with -p\n"));
1713 (void) fprintf(stderr, gettext(": not in file\n"));
1726 (void) printf(gettext(": not in file\n"));
1750 syntax_error(gettext("route: invalid arguments for show\n"));
1757 (void) printf("No persistent routes are defined\n");
1782 (void) printf("No persistent routes are defined\n");
1811 gettext("route: %s: no such interface\n"),
1844 (void) printf("\n");
1894 (void) printf(": %s\n", err);
1962 int n;
1992 for (n = ifc.ifc_len / sizeof (struct ifreq); n > 0; n--, ifr++) {
2120 "route: bad prefix length: %d\n"),
2135 "use <prefix>/<prefix-length> instead\n"));
2154 "route: bad prefix length: %d\n"),
2187 * If the plenp argument is non-NULL, allow <addr>/<n> syntax and
2188 * pass out <n> in *plenp.
2189 * If <n> doesn't parse return BAD_ADDR as *plenp.
2190 * If no /<n> is present return NO_PREFIX as *plenp.
2204 * If plenp is non-NULL, /<n> syntax for netmask is allowed.
2216 syntax_error(gettext("route: %s: unexpected '/'\n"), str);
2266 syntax_error(gettext("%s: bad value\n"), s);
2275 * If the last argument is non-NULL allow a <addr>/<n> syntax and
2276 * pass out <n> in *plenp.
2277 * If <n> doesn't parse return BAD_ADDR as *plenp.
2278 * If no /<n> is present return NO_PREFIX as *plenp.
2291 * If plenp is non-NULL, /<n> syntax for netmask is allowed.
2303 syntax_error(gettext("route: %s: unexpected '/'\n"), str);
2325 "again later)\n"), s);
2328 syntax_error(gettext("route: %s: bad address\n"), s);
2333 * Parse <addr>/<n> syntax and return the integer n.
2334 * If <addr> is missing or <n> is not a valid integer, this function calls
2336 * if n is not between 0 and max_plen inclusive, this functions calls
2338 * If /<n> is not present, this function returns NO_PREFIX.
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"),
2396 int n;
2428 n = read(s, msg, sizeof (msg));
2429 if (n <= 0)
2431 (void) printf("got message of size %d\n", n);
2432 print_rtmsg((struct rt_msghdr *)msg, n);
2521 "len\n"), rlen);
2530 gettext("route: read from routing socket: %s\n"),
2592 (void) printf("routing message version %d not understood\n",
2598 "returned %d\n",
2608 (void) printf("routing message type %d not understood\n",
2649 (void) printf(" route to: %s\n", routename(&req_rt->ri_dst.sa));
2652 gettext("routing message version %d not understood\n"),
2659 "returned %d\n"), rtm->rtm_msglen, msglen);
2662 (void) fprintf(stderr, "RTM_GET: %s (errno %d)\n",
2699 (void) printf("destination: %s\n", routename(dst));
2704 (void) printf(" mask: %s\n", routename(mask));
2708 (void) printf(" gateway: %s\n", routename(gate));
2710 (void) printf(" setsrc: %s\n", routename(src));
2723 (void) printf("\n");
2725 (void) printf(" interface: %.*s\n",
2735 (void) printf("\n%s\n", " recvpipe sendpipe ssthresh rtt,ms "
2774 (void) putchar('\n');
2800 (void) putchar('\n');
2816 (void) putchar('\n');
3102 "# level name len\n");
3106 (void) printf("%d %4ld %5ld %ld\n",
3121 "(level %lu, name %lu)\n", j, req->level,
3131 "0x%lx\n"), j, tea->TLI_error, tea->UNIX_error);
3142 "ctlbuf.len = %d, PRIM_type = %ld\n",
3146 "MGMT_flags = 0x%lx, req->len = %ld\n",
3170 "length = %ld\n",
3185 "databuf.maxlen = %d, databuf.len = %d\n",
3251 (void) printf("\n%s%s", labelstr, rtsa_to_str(rtsa, buf,