| /src/external/bsd/tcpdump/dist/ |
| print-ripng.c | 99 uint8_t metric; local 106 metric = GET_U_1(ni->rip6_metric); 107 if (metric && print_metric) 108 ND_PRINT(" (%u)", metric);
|
| print-dvmrp.c | 155 u_int metric, done; local 189 metric = GET_U_1(bp); 191 done = metric & 0x80; 192 metric &= 0x7f; 193 ND_PRINT("\n\t %s metric %u", intoa(htonl(origin)), 194 metric); 240 u_char metric; local 251 metric = GET_U_1(bp); 265 GET_IPADDR_STRING(bp), metric, thresh); 283 u_char metric, thresh, flags local [all...] |
| print-igrp.c | 75 u_int metric, mtu; local 79 metric = ND_MIN(bandwidth + delay, 0xffffff); 84 GET_U_1(igr->igr_rel), GET_U_1(igr->igr_ld), metric,
|
| print-babel.c | 540 u_short interval, seqno, metric; local 557 metric = GET_BE_U_2(message + 10); 558 ND_PRINT("%s%s%s %s metric %u seqno %u interval %s", 563 metric, seqno, format_interval_update(interval)); 651 u_short interval, seqno, metric; local 663 metric = GET_BE_U_2(message + 10); 679 ND_PRINT(" %s metric %u seqno %u interval %s", 681 metric, seqno, format_interval_update(interval));
|
| print-eigrp.c | 149 nd_uint32_t metric; member in struct:eigrp_tlv_ip_ext_t 190 nd_uint16_t metric; member in struct:eigrp_tlv_at_ext_t 413 ND_PRINT("\n\t origin-router %s, origin-as %u, origin-proto %s, flags [0x%02x], tag 0x%08x, metric %u", 419 GET_BE_U_4(tlv_ptr.eigrp_tlv_ip_ext->metric)); 491 ND_PRINT("\n\t origin-router %u, origin-as %u, origin-proto %s, flags [0x%02x], tag 0x%08x, metric %u", 497 GET_BE_U_2(tlv_ptr.eigrp_tlv_at_ext->metric));
|
| /src/external/gpl2/groff/dist/src/utils/addftinfo/ |
| addftinfo.cpp | 186 char_metric metric; local 187 metric.width = (int)strtol(p, &next, 10); 189 printf("%d", metric.width); 191 metric.type = (int)strtol(p, &next, 10); 194 guess(name.contents(), param, &metric); 195 if (metric.sk == 0) { 196 if (metric.left_ic == 0) { 197 if (metric.ic == 0) { 198 if (metric.depth == 0) { 199 if (metric.height != 0 [all...] |
| /src/usr.bin/rump_dhcpclient/ |
| dhcpcd.h | 91 int metric; member in struct:interface
|
| if-options.h | 84 int metric; member in struct:if_options
|
| /src/usr.sbin/mrouted/ |
| route.c | 342 update_route(u_int32_t origin, u_int32_t mask, u_int metric, u_int32_t src, 349 * Compute an adjusted metric, taking into account the cost of the 353 if (src != 0 && (metric < 1 || metric >= 2*UNREACHABLE)) { 355 "%s reports out-of-range metric %u for origin %s", 356 inet_fmt(src), metric, 360 adj_metric = metric + uvifs[vifi].uv_metric; 428 * the route timer and, if the reported metric has changed, update 460 * subnet and the reported metric for that origin is better than 462 * gateway and metric. We also switch gateways if the reporte 703 int metric; member in struct:newrt 740 int metric; local [all...] |
| /src/external/apache2/mDNSResponder/dist/ServiceRegistration/ |
| omr-watcher.h | 47 int metric; member in struct:omr_prefix 73 omr_prefix_t *NULLABLE omr_prefix_create(struct in6_addr *NONNULL prefix, int prefix_length, int metric, int flags,
|
| cti-services.h | 72 int metric; member in struct:_cti_prefix 490 cti_prefix_create_(struct in6_addr *NONNULL prefix, int prefix_length, int metric, int flags, int rloc, bool stable, bool ncp, 492 #define cti_prefix_create(prefix, prefix_length, metric, flags, rloc, stable, ncp) \ 493 cti_prefix_create_(prefix, prefix_length, metric, flags, rloc, stable, ncp, __FILE__, __LINE__)
|
| cti-services.c | 1641 cti_prefix_create_(struct in6_addr *prefix, int prefix_length, int metric, int flags, int rloc, bool stable, bool ncp, 1648 prefix_ret->metric = metric; 1683 int metric = 0; local 1713 } else if (!strcmp(key, "Metric")) { 1715 ERROR("prefixes array %zu: Metric appears twice.", i); 1718 metric = (int)xpc_dictionary_get_uint64(array_sub_dict, "value"); 1756 cti_prefix_t *prefix = cti_prefix_create(&prefix_addr, prefix_len, metric, 0, 0, false, false);
|
| /src/external/gpl3/binutils/dist/gprofng/common/ |
| hwcentry.h | 59 /* ABS determines the type of backtracking available for a particular metric. 65 * is not applicable to the metric, for example: 89 * See SW_count_n metric on sparc. 91 * for "unskidded DTLB_miss" with DTLB_miss metric. 110 char *metric; /* descriptive name, for well-known counters only */ member in struct:__anon10196 112 int timecvt; /* multiplier to convert metric to time, 0 if N/A */ 168 * <list[]->metric>: 180 * 'metric' is a static string and shouldn't be freed. 264 * <pret_ctr->metric>: 277 * 'metric' is a static string and shouldn't be freed [all...] |
| /src/external/gpl3/binutils.old/dist/gprofng/common/ |
| hwcentry.h | 59 /* ABS determines the type of backtracking available for a particular metric. 65 * is not applicable to the metric, for example: 89 * See SW_count_n metric on sparc. 91 * for "unskidded DTLB_miss" with DTLB_miss metric. 110 char *metric; /* descriptive name, for well-known counters only */ member in struct:__anon11669 112 int timecvt; /* multiplier to convert metric to time, 0 if N/A */ 168 * <list[]->metric>: 180 * 'metric' is a static string and shouldn't be freed. 264 * <pret_ctr->metric>: 277 * 'metric' is a static string and shouldn't be freed [all...] |
| /src/sbin/routed/ |
| output.c | 61 char metric; /* adjust metrics by interface */ member in struct:__anon809 425 * shutting down, admit only a bad metric. 464 char metric, pref; local 533 metric = RT->rt_metric; 600 * Notice spare routes with the same metric that we are about to 614 if (rts->rts_metric > metric 620 * toward its source with an infinite metric. 622 * better metric than we now have, then we should 633 || RT->rt_poison_metric >= metric 638 metric = HOPCNT_INFINITY [all...] |
| parms.c | 99 * Default poor-man's router discovery to a metric that will 101 * routes with metric 15. 178 int metric, n, lnum; local 221 /* {net | host} XX[/M] XX gateway XX metric DD [passive | external]\n */ 225 " %64[^ / \t] metric %u %8s\n", 226 net_host, dname, gname, &metric, qual); 232 if (metric >= HOPCNT_INFINITY) { 233 msglog("bad metric in "_PATH_GATEWAYS" entry \"%s\"", 277 if (metric == 0) 278 metric = 1 [all...] |
| table.c | 77 * the same metric and next hop into a common route with a smaller netmask 253 * metric, it suppresses the target. 290 char metric, 315 nc_ag.ag_metric = metric; 405 ag->ag_metric = metric; 439 * same gateway and have the same metric. 475 * with the worse metric can be promoted. 507 ag->ag_metric = metric; 508 metric = x; 594 nag->ag_metric = metric; 1423 char metric, pref; local [all...] |
| /src/usr.sbin/mrinfo/ |
| mrinfo.c | 206 u_char metric; local 212 metric = *p++; 222 inet_name(neighbor), metric, thresh); 244 u_char metric; local 251 metric = *p++; 265 inet_name(neighbor), metric, thresh);
|
| /src/usr.sbin/lockstat/ |
| main.c | 741 double pcscale, metric; local 778 metric = l->count; 780 metric = l->time; 781 metric *= pcscale; 788 metric, (int)(l->count * cscale), 796 metric = lb->lb_counts[event]; 798 metric = lb->lb_times[event]; 799 metric *= pcscale; 804 metric, (int)(lb->lb_counts[event] * cscale),
|
| /src/usr.sbin/map-mbone/ |
| mapper.c | 56 u_char metric; /* TTL cost of forwarding */ member in struct:neighbor 310 u_char metric, threshold, ncount; local 323 metric = *p++; 359 if (nb_i->metric != nb_n->metric 363 "metric/threshold", 404 if (metric != nb->metric || threshold != nb->threshold) 407 "metric/threshold", 416 nb->metric = metric 445 u_char metric, threshold, ncount, flags; local [all...] |
| /src/sys/net/ |
| rtsock_shared.c | 1122 #define metric(f, e) if (which & (f)) out->rt_rmx.e = in->rtm_rmx.e; macro 1123 metric(RTV_RPIPE, rmx_recvpipe); 1124 metric(RTV_SPIPE, rmx_sendpipe); 1125 metric(RTV_SSTHRESH, rmx_ssthresh); 1126 metric(RTV_RTT, rmx_rtt); 1127 metric(RTV_RTTVAR, rmx_rttvar); 1128 metric(RTV_HOPCOUNT, rmx_hopcount); 1129 metric(RTV_MTU, rmx_mtu); 1130 #undef metric macro 1140 #define metric(e) out->rtm_rmx.e = in->rt_rmx.e macro 1149 #undef metric macro [all...] |
| /src/external/bsd/dhcpcd/dist/src/ |
| dhcpcd.h | 85 unsigned int metric; member in struct:interface
|
| /src/external/bsd/ntp/dist/ntpd/ |
| refclock_chu.c | 172 * m signal metric (0 - 100) 253 #define MINMETRIC 50 /* min channel metric (of 160) */ 285 #define METRIC 0x0800 /* one or more stations heard */ 322 double metric; /* integrator sum */ member in struct:xmtr 346 struct xmtr xmtr[NCHAN]; /* station metric */ 1352 * frame metric, it is considered valid. However, the timecode 1390 * If in sync and the signal metric is above threshold, the 1438 int metric; /* distance metric */ local 1460 metric = 0 1535 double metric; local [all...] |
| /src/external/gpl2/groff/dist/src/libs/libgroff/ |
| font.cpp | 470 void font::add_entry(int idx, const font_char_metric &metric) 480 ch[ch_used++] = metric; 727 font_char_metric metric; local 728 metric.height = 0; 729 metric.depth = 0; 730 metric.pre_math_space = 0; 731 metric.italic_correction = 0; 732 metric.subscript_correction = 0; 734 &metric.width, &metric.height, &metric.depth [all...] |
| /src/sbin/ifconfig/ |
| ifconfig.c | 180 struct pinteger parse_metric = PINTEGER_INITIALIZER(&parse_metric, "metric", 10, 181 setifmetric, "metric", &command_root.pb_parser); 212 , {.k_word = "metric", .k_nextparser = &parse_metric.pi_parser} 1151 int64_t metric; local 1153 rc = prop_dictionary_get_int64(env, "metric", &metric); 1156 ifr.ifr_metric = metric; 1307 printf(" metric %d", ifr.ifr_metric); 1547 "\t[ up ] [ down ] [ metric n ] [ mtu n ]\n", progname,
|