Home
last modified time | relevance | path

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

12

/freebsd/contrib/tcpdump/
H A Dprint-dvmrp.c150 u_int metric, done; in print_report() local
184 metric = GET_U_1(bp); in print_report()
186 done = metric & 0x80; in print_report()
187 metric &= 0x7f; in print_report()
189 metric); in print_report()
235 u_char metric; in print_neighbors() local
246 metric = GET_U_1(bp); in print_neighbors()
260 GET_IPADDR_STRING(bp), metric, thresh); in print_neighbors()
278 u_char metric, thresh, flags; in print_neighbors2() local
290 metric = GET_U_1(bp); in print_neighbors2()
[all …]
H A Dprint-ripng.c94 uint8_t metric; in rip6_entry_print() local
101 metric = GET_U_1(ni->rip6_metric); in rip6_entry_print()
102 if (metric && print_metric) in rip6_entry_print()
103 ND_PRINT(" (%u)", metric); in rip6_entry_print()
H A Dprint-igrp.c70 u_int metric, mtu; in igrp_entry_print() local
74 metric = ND_MIN(bandwidth + delay, 0xffffff); in igrp_entry_print()
79 GET_U_1(igr->igr_rel), GET_U_1(igr->igr_ld), metric, in igrp_entry_print()
H A Dprint-babel.c535 u_short interval, seqno, metric; in babel_print_v2_tlvs() local
552 metric = GET_BE_U_2(message + 10); in babel_print_v2_tlvs()
558 metric, seqno, format_interval_update(interval)); in babel_print_v2_tlvs()
646 u_short interval, seqno, metric; in babel_print_v2_tlvs() local
658 metric = GET_BE_U_2(message + 10); in babel_print_v2_tlvs()
676 metric, seqno, format_interval_update(interval)); in babel_print_v2_tlvs()
H A Dprint-eigrp.c144 nd_uint32_t metric; member
185 nd_uint16_t metric; member
414 GET_BE_U_4(tlv_ptr.eigrp_tlv_ip_ext->metric)); in eigrp_print()
492 GET_BE_U_2(tlv_ptr.eigrp_tlv_at_ext->metric)); in eigrp_print()
H A Dprint-isoclns.c2269 u_int metric, status_byte, bit_length, byte_length, sublen, processed, subtlvtype, subtlvlen; in isis_print_extd_ip_reach() local
2271 metric = GET_BE_U_4(tptr); in isis_print_extd_ip_reach()
2320 metric); in isis_print_extd_ip_reach()
/freebsd/usr.sbin/prometheus_sysctl_exporter/
H A Dprometheus_sysctl_exporter.c377 char *metric, size_t mlen) in oid_get_metric() argument
384 snprintf(metric, mlen, "%s", "sysctl"); in oid_get_metric()
389 strlcat(metric, "_", mlen); in oid_get_metric()
394 strlcat(metric, buf, mlen); in oid_get_metric()
402 strlcat(metric, "_celsius", mlen); in oid_get_metric()
404 strlcat(metric, "_seconds", mlen); in oid_get_metric()
417 strlcat(metric, buf, mlen); in oid_get_metric()
421 strlcat(metric, "\\", mlen); in oid_get_metric()
423 strlcat(metric, buf, mlen); in oid_get_metric()
425 strlcat(metric, "\"", mlen); in oid_get_metric()
[all …]
/freebsd/usr.sbin/route6d/misc/
H A Dchkrt38 $metric = $1;
42 print "NOT FOUND: $dst $intf $gateway $metric $age\n";
47 print "WRONG GW: $dst $intf $gateway $metric $age\n";
53 print "WRONG IF: $dst $intf $gateway $metric $age\n";
/freebsd/sbin/routed/
H A Doutput.c47 char metric; /* adjust metrics by interface */ member
436 char metric, pref; in walk_supply() local
505 metric = RT->rt_metric; in walk_supply()
586 if (rts->rts_metric > metric in walk_supply()
605 || RT->rt_poison_metric >= metric in walk_supply()
610 metric = HOPCNT_INFINITY; in walk_supply()
618 if (RT->rt_poison_metric >= metric in walk_supply()
621 RT->rt_poison_metric = metric; in walk_supply()
627 pref = RT->rt_poison_metric + ws.metric; in walk_supply()
628 metric += ws.metric; in walk_supply()
[all …]
H A Dparms.c164 int metric, n, lnum; in gwkludge() local
212 net_host, dname, gname, &metric, qual); in gwkludge()
218 if (metric >= HOPCNT_INFINITY) { in gwkludge()
264 if (metric == 0) in gwkludge()
265 metric = 1; in gwkludge()
275 if (metric == 0) in gwkludge()
276 metric = 1; in gwkludge()
280 if (metric != 0) { in gwkludge()
330 ifp->int_metric = metric; in gwkludge()
H A Dtable.c277 char metric, in ag_check() argument
302 nc_ag.ag_metric = metric; in ag_check()
392 ag->ag_metric = metric; in ag_check()
494 ag->ag_metric = metric; in ag_check()
495 metric = x; in ag_check()
581 nag->ag_metric = metric; in ag_check()
670 int metric, in rtioctl() argument
685 # define ARGS rtm_type_name(action), rtname(dst,mask,gate), metric, flags in rtioctl()
695 if (metric != 0 || action == RTM_CHANGE) { in rtioctl()
696 w.w_rtm.rtm_rmx.rmx_hopcount = metric; in rtioctl()
[all …]
/freebsd/contrib/ntp/ntpd/
H A Drefclock_chu.c320 double metric; /* integrator sum */ member
1436 int metric; /* distance metric */ in chu_major() local
1458 metric = 0; in chu_major()
1471 metric += val1; in chu_major()
1487 return (metric); in chu_major()
1533 double metric; in chu_newchan() local
1556 sp->metric -= sp->integ[sp->iptr]; in chu_newchan()
1558 sp->metric += sp->integ[sp->iptr]; in chu_newchan()
1561 metric = 0; in chu_newchan()
1564 if (up->xmtr[i].metric > metric) { in chu_newchan()
[all …]
H A Drefclock_wwv.c492 double metric; /* signal quality metric */ member
1187 * When the channel metric reaches threshold and the second in wwv_rf()
1205 if (sp->metric >= TTHR && epoch == sp->mepoch % WWV_SEC) in wwv_rf()
1350 sp->metric = 0; in wwv_qrz()
1352 sp->metric = wwv_metric(sp); in wwv_qrz()
1357 sp->reach & 0xffff, sp->metric, sp->synmax, in wwv_qrz()
1823 * the channel metric computed by the wwv_metric() routine. in wwv_rsec()
1842 sp->metric = wwv_metric(sp); in wwv_rsec()
1857 rp->metric in wwv_rsec()
[all...]
/freebsd/lib/libdevstat/
H A Ddevstat.c94 devstat_metric metric; member
1239 devstat_metric metric; in devstat_compute_statistics() local
1293 while ((metric = (devstat_metric)va_arg(ap, devstat_metric)) != 0) { in devstat_compute_statistics()
1295 if (metric == DSM_NONE) in devstat_compute_statistics()
1298 if (metric >= DSM_MAX) { in devstat_compute_statistics()
1301 metric); in devstat_compute_statistics()
1306 switch (devstat_arg_list[metric].argtype) { in devstat_compute_statistics()
1322 if (devstat_arg_list[metric].argtype == DEVSTAT_ARG_SKIP) in devstat_compute_statistics()
1325 switch (metric) { in devstat_compute_statistics()
1578 "%s: unknown metric %d", __func__, metric); in devstat_compute_statistics()
/freebsd/sys/net80211/
H A Dieee80211_hwmp.c906 int metric = 0; in hwmp_update_transmitter() local
919 metric = ms->ms_pmetric->mpm_metric(ni); in hwmp_update_transmitter()
921 rttran->rt_metric > metric) in hwmp_update_transmitter()
927 rttran->rt_metric, metric); in hwmp_update_transmitter()
929 rttran->rt_metric = metric; in hwmp_update_transmitter()
951 uint32_t metric = 0; in hwmp_recv_preq() local
1022 metric = preq->preq_metric + ms->ms_pmetric->mpm_metric(ni); in hwmp_recv_preq()
1025 metric < rtorig->rt_metric)) { in hwmp_recv_preq()
1028 rtorig->rt_metric = metric; in hwmp_recv_preq()
1276 uint32_t metric = 0; in hwmp_recv_prep() local
[all …]
H A Dieee80211_mesh.c3321 ieee80211_add_meshlmetric(uint8_t *frm, uint8_t flags, uint32_t metric) in ieee80211_add_meshlmetric() argument
3326 ADDWORD(frm, metric); in ieee80211_add_meshlmetric()
/freebsd/lib/libifconfig/
H A Dlibifconfig.c406 ifconfig_set_metric(ifconfig_handle_t *h, const char *name, const int metric) in ifconfig_set_metric() argument
412 ifr.ifr_metric = metric; in ifconfig_set_metric()
422 ifconfig_get_metric(ifconfig_handle_t *h, const char *name, int *metric) in ifconfig_get_metric() argument
433 *metric = ifr.ifr_metric; in ifconfig_get_metric()
H A Dlibifconfig.h177 const int metric);
178 int ifconfig_get_metric(ifconfig_handle_t *h, const char *name, int *metric);
/freebsd/share/examples/libifconfig/
H A Dstatus.c464 int metric, mtu; in print_iface() local
471 if (ifconfig_get_metric(lifh, ifa->ifa_name, &metric) == 0) { in print_iface()
472 printf("metric %d ", metric); in print_iface()
/freebsd/contrib/file/magic/Magdir/
H A Dtex28 2 string \000\021 TeX font metric data
31 2 string \000\022 TeX font metric data
/freebsd/tools/diag/prtblknos/
H A DREADME25 The distance metric is the size of the gap from the end of the
/freebsd/contrib/netbsd-tests/net/if/
H A Dt_ifconfig.sh288 atf_check -s exit:0 rump.ifconfig shmif0 metric 10
289 atf_check -s exit:0 rump.ifconfig shmif0 metric 0
/freebsd/contrib/openresolv/
H A Dresolvconf.in103 -m metric Give the added DNS information a metric
/freebsd/share/examples/csh/
H A Ddot.cshrc72 …'n/*/(range phase link netmask mtu vlandev vlan metric mediaopt down delete broadcast arp debug)/'…
/freebsd/crypto/openssl/doc/man3/
H A DDEFINE_STACK_OF.pod219 Any comparison function supplied should use a metric suitable

12