Searched refs:n_metric (Results 1 - 6 of 6) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dinput.c336 n->n_metric = ntohl(n->n_metric);
346 n->n_metric == HOPCNT_INFINITY) {
397 v12buf.n->n_metric = htonl(metric);
438 v12buf.n->n_metric = HOPCNT_INFINITY;
461 v12buf.n->n_metric = HOPCNT_INFINITY;
469 v12buf.n->n_metric = rt->rt_metric + 1;
470 if (v12buf.n->n_metric > HOPCNT_INFINITY)
471 v12buf.n->n_metric = HOPCNT_INFINITY;
481 v12buf.n->n_metric
[all...]
H A Doutput.c456 wb->n->n_metric = ((stopint || ag->ag_metric < 1 ||
459 wb->n->n_metric = htonl(wb->n->n_metric);
874 v12buf.n->n_metric = htonl(def_metric);
1030 buf.rip_nets[0].n_metric = htonl(HOPCNT_INFINITY);
H A Drtquery.c135 OMSG.rip_nets[0].n_metric = htonl(HOPCNT_INFINITY);
743 net_buf, ntohl(n->n_metric), name);
H A Dtrace.c1149 ntohl(n->n_metric) == HOPCNT_INFINITY &&
1225 (unsigned long)ntohl(n->n_metric));
/opensolaris-onvv-gate/usr/src/head/protocols/
H A Drouted.h85 uint32_t n_metric; /* cost of route */ member in struct:netinfo
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rip.c255 mval = ntohl(nip->n_metric);

Completed in 85 milliseconds