HomeSort by: relevance | last modified time | path
    Searched defs:metric (Results 1 - 11 of 11) sorted by relevancy

  /src/usr.bin/rump_dhcpclient/
dhcpcd.h 91 int metric; member in struct:interface
if-options.h 84 int metric; member in struct:if_options
  /src/usr.sbin/mrouted/
route.c 342 update_route(u_int32_t origin, u_int32_t mask, u_int metric, u_int32_t src,
349 * Compute an adjusted metric, taking into account the cost of the
353 if (src != 0 && (metric < 1 || metric >= 2*UNREACHABLE)) {
355 "%s reports out-of-range metric %u for origin %s",
356 inet_fmt(src), metric,
360 adj_metric = metric + uvifs[vifi].uv_metric;
428 * the route timer and, if the reported metric has changed, update
460 * subnet and the reported metric for that origin is better than
462 * gateway and metric. We also switch gateways if the reporte
703 int metric; member in struct:newrt
740 int metric; local in function:accept_report
    [all...]
  /src/sbin/routed/
output.c 61 char metric; /* adjust metrics by interface */ member in struct:__anon7854488c0108
425 * shutting down, admit only a bad metric.
464 char metric, pref; local in function:walk_supply
533 metric = RT->rt_metric;
600 * Notice spare routes with the same metric that we are about to
614 if (rts->rts_metric > metric
620 * toward its source with an infinite metric.
622 * better metric than we now have, then we should
633 || RT->rt_poison_metric >= metric
638 metric = HOPCNT_INFINITY
    [all...]
parms.c 99 * Default poor-man's router discovery to a metric that will
101 * routes with metric 15.
178 int metric, n, lnum; local in function:gwkludge
221 /* {net | host} XX[/M] XX gateway XX metric DD [passive | external]\n */
225 " %64[^ / \t] metric %u %8s\n",
226 net_host, dname, gname, &metric, qual);
232 if (metric >= HOPCNT_INFINITY) {
233 msglog("bad metric in "_PATH_GATEWAYS" entry \"%s\"",
277 if (metric == 0)
278 metric = 1
    [all...]
table.c 77 * the same metric and next hop into a common route with a smaller netmask
253 * metric, it suppresses the target.
290 char metric,
315 nc_ag.ag_metric = metric;
405 ag->ag_metric = metric;
439 * same gateway and have the same metric.
475 * with the worse metric can be promoted.
507 ag->ag_metric = metric;
508 metric = x;
594 nag->ag_metric = metric;
1423 char metric, pref; local in function:walk_kern
    [all...]
  /src/usr.sbin/mrinfo/
mrinfo.c 206 u_char metric; local in function:accept_neighbors
212 metric = *p++;
222 inet_name(neighbor), metric, thresh);
244 u_char metric; local in function:accept_neighbors2
251 metric = *p++;
265 inet_name(neighbor), metric, thresh);
  /src/usr.sbin/lockstat/
main.c 741 double pcscale, metric; local in function:display
778 metric = l->count;
780 metric = l->time;
781 metric *= pcscale;
788 metric, (int)(l->count * cscale),
796 metric = lb->lb_counts[event];
798 metric = lb->lb_times[event];
799 metric *= pcscale;
804 metric, (int)(lb->lb_counts[event] * cscale),
  /src/usr.sbin/map-mbone/
mapper.c 56 u_char metric; /* TTL cost of forwarding */ member in struct:neighbor
310 u_char metric, threshold, ncount; local in function:accept_neighbors
323 metric = *p++;
359 if (nb_i->metric != nb_n->metric
363 "metric/threshold",
404 if (metric != nb->metric || threshold != nb->threshold)
407 "metric/threshold",
416 nb->metric = metric
445 u_char metric, threshold, ncount, flags; local in function:accept_neighbors2
    [all...]
  /src/sys/net/
rtsock_shared.c 1122 #define metric(f, e) if (which & (f)) out->rt_rmx.e = in->rtm_rmx.e; macro
1123 metric(RTV_RPIPE, rmx_recvpipe);
1124 metric(RTV_SPIPE, rmx_sendpipe);
1125 metric(RTV_SSTHRESH, rmx_ssthresh);
1126 metric(RTV_RTT, rmx_rtt);
1127 metric(RTV_RTTVAR, rmx_rttvar);
1128 metric(RTV_HOPCOUNT, rmx_hopcount);
1129 metric(RTV_MTU, rmx_mtu);
1130 #undef metric
1140 #define metric(e) out->rtm_rmx.e = in->rt_rmx.e macro
    [all...]
  /src/sbin/ifconfig/
ifconfig.c 180 struct pinteger parse_metric = PINTEGER_INITIALIZER(&parse_metric, "metric", 10,
181 setifmetric, "metric", &command_root.pb_parser);
212 , {.k_word = "metric", .k_nextparser = &parse_metric.pi_parser}
1151 int64_t metric; local in function:setifmetric
1153 rc = prop_dictionary_get_int64(env, "metric", &metric);
1156 ifr.ifr_metric = metric;
1307 printf(" metric %d", ifr.ifr_metric);
1547 "\t[ up ] [ down ] [ metric n ] [ mtu n ]\n", progname,

Completed in 21 milliseconds