Home
last modified time | relevance | path

Searched refs:metric (Results 1 – 25 of 33) sorted by relevance

12

/dragonfly/contrib/tcpdump/
H A Dprint-dvmrp.c152 u_int metric, done; in print_report() local
186 metric = GET_U_1(bp); in print_report()
188 done = metric & 0x80; in print_report()
189 metric &= 0x7f; in print_report()
191 metric); in print_report()
237 u_char metric; in print_neighbors() local
248 metric = GET_U_1(bp); in print_neighbors()
262 GET_IPADDR_STRING(bp), metric, thresh); in print_neighbors()
280 u_char metric, thresh, flags; in print_neighbors2() local
292 metric = GET_U_1(bp); in print_neighbors2()
[all …]
H A Dprint-ripng.c96 uint8_t metric; in rip6_entry_print() local
103 metric = GET_U_1(ni->rip6_metric); in rip6_entry_print()
104 if (metric && print_metric) in rip6_entry_print()
105 ND_PRINT(" (%u)", metric); in rip6_entry_print()
H A Dprint-igrp.c72 u_int metric, mtu; in igrp_entry_print() local
76 metric = ND_MIN(bandwidth + delay, 0xffffff); in igrp_entry_print()
81 GET_U_1(igr->igr_rel), GET_U_1(igr->igr_ld), metric, in igrp_entry_print()
H A Dprint-babel.c537 u_short interval, seqno, metric; in babel_print_v2_tlvs() local
554 metric = GET_BE_U_2(message + 10); in babel_print_v2_tlvs()
560 metric, seqno, format_interval_update(interval)); in babel_print_v2_tlvs()
648 u_short interval, seqno, metric; in babel_print_v2_tlvs() local
660 metric = GET_BE_U_2(message + 10); in babel_print_v2_tlvs()
678 metric, seqno, format_interval_update(interval)); in babel_print_v2_tlvs()
H A Dprint-eigrp.c146 nd_uint32_t metric; member
187 nd_uint16_t metric; member
416 GET_BE_U_4(tlv_ptr.eigrp_tlv_ip_ext->metric)); in eigrp_print()
494 GET_BE_U_2(tlv_ptr.eigrp_tlv_at_ext->metric)); in eigrp_print()
H A Dprint-isoclns.c2277 u_int metric, status_byte, bit_length, byte_length, sublen, processed, subtlvtype, subtlvlen; in isis_print_extd_ip_reach() local
2279 metric = GET_BE_U_4(tptr); in isis_print_extd_ip_reach()
2328 metric); in isis_print_extd_ip_reach()
/dragonfly/sbin/routed/
H A Doutput.c441 char metric, pref; in walk_supply() local
510 metric = RT->rt_metric; in walk_supply()
587 if (rts->rts_metric > metric in walk_supply()
611 metric = HOPCNT_INFINITY; in walk_supply()
619 if (RT->rt_poison_metric >= metric in walk_supply()
622 RT->rt_poison_metric = metric; in walk_supply()
629 metric += ws.metric; in walk_supply()
637 if (metric >= HOPCNT_INFINITY) { in walk_supply()
643 metric = HOPCNT_INFINITY; in walk_supply()
694 ws.metric = 1; in supply()
[all …]
H A Dparms.c163 int metric, n, lnum; in gwkludge() local
211 net_host, dname, gname, &metric, qual); in gwkludge()
217 if (metric >= HOPCNT_INFINITY) { in gwkludge()
262 if (metric == 0) in gwkludge()
263 metric = 1; in gwkludge()
273 if (metric == 0) in gwkludge()
274 metric = 1; in gwkludge()
278 if (metric != 0) { in gwkludge()
328 ifp->int_metric = metric; in gwkludge()
H A Dtable.c276 char metric, in ag_check() argument
301 nc_ag.ag_metric = metric; in ag_check()
393 ag->ag_metric = metric; in ag_check()
499 ag->ag_metric = metric; in ag_check()
500 metric = x; in ag_check()
586 nag->ag_metric = metric; in ag_check()
670 int metric, in rtioctl() argument
1367 char metric, pref; in walk_kern() local
1423 metric = RT->rt_metric; in walk_kern()
1424 if (metric == HOPCNT_INFINITY) { in walk_kern()
[all …]
/dragonfly/usr.sbin/route6d/misc/
H A Dchkrt39 $metric = $1;
43 print "NOT FOUND: $dst $intf $gateway $metric $age\n";
48 print "WRONG GW: $dst $intf $gateway $metric $age\n";
54 print "WRONG IF: $dst $intf $gateway $metric $age\n";
/dragonfly/sys/netproto/802_11/wlan/
H A Dieee80211_hwmp.c931 int metric = 0; in hwmp_update_transmitter() local
969 rttran->rt_metric = metric; in hwmp_update_transmitter()
992 uint32_t metric = 0; in hwmp_recv_preq() local
1095 rtorig->rt_metric = metric; in hwmp_recv_preq()
1383 uint32_t metric = 0; in hwmp_recv_prep() local
1474 metric, rt->rt_metric); in hwmp_recv_prep()
1492 rt->rt_metric, metric); in hwmp_recv_prep()
1500 rt->rt_metric, metric); in hwmp_recv_prep()
1506 rt->rt_metric = metric; in hwmp_recv_prep()
1613 rtext->rt_metric = metric; in hwmp_recv_prep()
[all …]
/dragonfly/contrib/dhcpcd/src/
H A Droute.c142 c = (int)(rt1->rt_ifp->metric - rt2->rt_ifp->metric); in rt_compare_os()
194 c = (int)(ifp1->metric - ifp2->metric); in rt_compare_proto()
390 rt->rt_metric = ifp->metric; in rt_setif()
H A Ddhcpcd.h84 unsigned int metric; member
H A Dif.c707 ifp->metric = (unsigned int)ifr.ifr_metric; in if_discover()
711 ifp->metric = RTMETRIC_BASE + ifp->index; in if_discover()
714 ifp->metric += RTMETRIC_WIRELESS; in if_discover()
H A Darp.c553 if (iff != NULL && iff->metric < ifp->metric) in arp_announceaddr()
H A Dif-options.h228 int metric; member
H A Dipv6nd.c549 iaf->iface->metric > iap->iface->metric) in ipv6nd_advertise()
658 if (ra1->iface->metric > ra2->iface->metric) in ipv6nd_sortrouters()
H A Dipv6.c955 if (nap->iface->metric < dap->iface->metric) in ipv6_findaddr()
2211 rt->rt_metric = ifp->metric; in inet6_makeroute()
H A Dscript.c368 if (efprintf(fp, "ifmetric=%d", ifp->metric) == -1) in make_env()
H A Ddhcpcd.c485 if (ifo->metric != -1) in configure_interface1()
486 ifp->metric = (unsigned int)ifo->metric; in configure_interface1()
H A Dif-options.c795 ifo->metric = (int)strtoi(arg, NULL, 0, 0, INT32_MAX, &e); in parse_option()
2464 ifo->metric = -1; in default_config()
/dragonfly/usr.sbin/gifconfig/
H A Dgifconfig.c90 static int metric; variable
345 metric = ifr.ifr_metric; in ifconfig()
463 if (metric) in status()
464 printf(" metric %d", metric); in status()
/dragonfly/contrib/file/magic/Magdir/
H A Dtex26 2 string \000\021 TeX font metric data
29 2 string \000\022 TeX font metric data
/dragonfly/sys/net/
H A Dif_mib.c151 DONTCOPY(metric); in sysctl_ifdata()
/dragonfly/contrib/openresolv/
H A Dresolvconf.in107 -m metric Give the added DNS information a metric

12