/dragonfly/contrib/tcpdump/ |
H A D | print-dvmrp.c | 152 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 D | print-ripng.c | 96 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 D | print-igrp.c | 72 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 D | print-babel.c | 537 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 D | print-eigrp.c | 146 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 D | print-isoclns.c | 2277 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 D | output.c | 441 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 D | parms.c | 163 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 D | table.c | 276 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 D | chkrt | 39 $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 D | ieee80211_hwmp.c | 931 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 D | route.c | 142 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 D | dhcpcd.h | 84 unsigned int metric; member
|
H A D | if.c | 707 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 D | arp.c | 553 if (iff != NULL && iff->metric < ifp->metric) in arp_announceaddr()
|
H A D | if-options.h | 228 int metric; member
|
H A D | ipv6nd.c | 549 iaf->iface->metric > iap->iface->metric) in ipv6nd_advertise() 658 if (ra1->iface->metric > ra2->iface->metric) in ipv6nd_sortrouters()
|
H A D | ipv6.c | 955 if (nap->iface->metric < dap->iface->metric) in ipv6_findaddr() 2211 rt->rt_metric = ifp->metric; in inet6_makeroute()
|
H A D | script.c | 368 if (efprintf(fp, "ifmetric=%d", ifp->metric) == -1) in make_env()
|
H A D | dhcpcd.c | 485 if (ifo->metric != -1) in configure_interface1() 486 ifp->metric = (unsigned int)ifo->metric; in configure_interface1()
|
H A D | if-options.c | 795 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 D | gifconfig.c | 90 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 D | tex | 26 2 string \000\021 TeX font metric data 29 2 string \000\022 TeX font metric data
|
/dragonfly/sys/net/ |
H A D | if_mib.c | 151 DONTCOPY(metric); in sysctl_ifdata()
|
/dragonfly/contrib/openresolv/ |
H A D | resolvconf.in | 107 -m metric Give the added DNS information a metric
|