Home | History | Annotate | Download | only in mrouted

Lines Matching refs:UNREACHABLE

121 	if (r->rt_metric != UNREACHABLE &&
152 if (r->rt_metric != UNREACHABLE) {
156 r->rt_metric = UNREACHABLE;
176 * A neighbor has failed or become unreachable. If that neighbor was
188 if (r->rt_metric != UNREACHABLE) {
351 * all unreachable/poisoned metrics into a single value.
353 if (src != 0 && (metric < 1 || metric >= 2*UNREACHABLE)) {
361 if (adj_metric > UNREACHABLE) adj_metric = UNREACHABLE;
369 * Don't create a new entry if the report says it's unreachable,
372 if (adj_metric == UNREACHABLE) {
396 rtp->rt_metric = UNREACHABLE; /* temporary; updated below */
403 if (r->rt_metric == UNREACHABLE) {
405 * The routing entry is for a formerly-unreachable or new origin.
409 if (adj_metric == UNREACHABLE)
435 if (adj_metric == UNREACHABLE) {
508 else if (metric > UNREACHABLE) { /* "poisoned reverse" */
552 if (metric > UNREACHABLE) {
625 else if (r->rt_metric != UNREACHABLE) {
637 r->rt_metric = UNREACHABLE;
647 * Mark all routes as unreachable. This function is called only from
660 r->rt_metric = UNREACHABLE;
899 *p++ = (r->rt_parent == vifi && r->rt_metric != UNREACHABLE) ?
900 (char)(r->rt_metric + UNREACHABLE) : /* "poisoned reverse" */
1019 *p++ = (r->rt_parent == vifi && r->rt_metric != UNREACHABLE) ?
1020 (char)(r->rt_metric + UNREACHABLE) : /* "poisoned reverse" */
1108 fprintf(fp, (r->rt_metric == UNREACHABLE) ? " NR " : "%4u ",