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

/netbsd-current/sbin/routed/
H A Dinput.c282 n->n_metric = ntohl(n->n_metric);
291 && n->n_metric == HOPCNT_INFINITY) {
341 v12buf.n->n_metric = htonl(i);
399 v12buf.n->n_metric = HOPCNT_INFINITY;
413 v12buf.n->n_metric = j;
415 v12buf.n->n_metric = HOPCNT_INFINITY;
427 v12buf.n->n_metric = htonl(v12buf.n->n_metric);
607 n->n_metric
[all...]
H A Doutput.c427 wb->n->n_metric = ((stopint || ag->ag_metric < 1)
430 wb->n->n_metric = htonl(wb->n->n_metric);
798 v12buf.n->n_metric = htonl(def_metric);
948 buf.rip_nets[0].n_metric = htonl(HOPCNT_INFINITY);
H A Dtrace.c929 && ntohl(n->n_metric) == HOPCNT_INFINITY
1009 (u_int)ntohl(n->n_metric));
/netbsd-current/include/protocols/
H A Drouted.h84 uint32_t n_metric; /* cost of route */ member in struct:netinfo
/netbsd-current/sbin/routed/rtquery/
H A Drtquery.c150 OMSG.rip_nets[0].n_metric = htonl(HOPCNT_INFINITY);
787 net_buf, (int)ntohl(n->n_metric), name);

Completed in 190 milliseconds