/freebsd-10.0-release/contrib/groff/src/utils/addftinfo/ |
H A D | addftinfo.cpp | 184 char_metric metric; local 185 metric.width = (int)strtol(p, &next, 10); 187 printf("%d", metric.width); 189 metric.type = (int)strtol(p, &next, 10); 192 guess(name.contents(), param, &metric); 193 if (metric.sk == 0) { 194 if (metric.left_ic == 0) { 195 if (metric.ic == 0) { 196 if (metric.depth == 0) { 197 if (metric [all...] |
H A D | guess.h | 44 void guess(const char *s, const font_params ¶m, char_metric *metric);
|
H A D | guess.cpp | 23 void guess(const char *s, const font_params ¶m, char_metric *metric) argument 25 int &height = metric->height; 26 int &depth = metric->depth; 28 metric->ic = 0; 29 metric->left_ic = 0; 30 metric->sk = 0; 39 if (metric->type & 01) 41 if (metric->type & 02)
|
/freebsd-10.0-release/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";
|
/freebsd-10.0-release/usr.sbin/IPXrouted/ |
H A D | output.c | 138 int size, metric, ticks; local 189 metric = HOPCNT_INFINITY; 191 metric = rt->rt_metric + 1; 195 if (metric >= HOPCNT_INFINITY) 210 nn->rip_metric = htons(metric); 213 (metric < ntohs(nn->rip_metric))) { 214 nn->rip_metric = htons(metric); 221 n->rip_metric = htons(metric);
|
H A D | tables.c | 119 rtadd(struct sockaddr *dst, struct sockaddr *gate, short metric, argument 142 rt->rt_metric = metric; 149 if (metric) 171 struct sockaddr *gate, short metric, short ticks, int state) 191 rt->rt_metric = metric; 200 if (metric) 210 rtchange(struct rt_entry *rt, struct sockaddr *gate, short metric, argument 228 (metric < rt->rt_clone->rt_metric))) { 242 (metric == rt->rt_clone->rt_metric)) { 267 metric 170 rtadd_clone(struct rt_entry *ort, struct sockaddr *dst, struct sockaddr *gate, short metric, short ticks, int state) argument [all...] |
H A D | sap_output.c | 123 int size, metric; local 184 metric = min(ntohs(sap->sap.hops) + 1, HOPCNT_INFINITY); 187 n->hops = htons(metric);
|
/freebsd-10.0-release/contrib/tcpdump/ |
H A D | print-igrp.c | 48 u_int metric, mtu; local 62 metric = bandwidth + delay; 63 if (metric > 0xffffff) 64 metric = 0xffffff; 69 igr->igr_rel, igr->igr_ld, metric,
|
H A D | print-dvmrp.c | 173 register int metric, done; local 212 metric = *bp++; 213 done = metric & 0x80; 214 metric &= 0x7f; 215 printf("\n\t %s metric %d", intoa(htonl(origin)), 216 metric); 263 register u_char metric; local 271 metric = *bp++; 279 ipaddr_string(bp), metric, thresh); 294 register u_char metric, thres local [all...] |
H A D | print-ripng.c | 50 rip6_entry_print(register const struct netinfo6 *ni, int metric) argument 56 if (metric)
|
H A D | print-babel.c | 337 u_short interval, seqno, metric; local 351 metric = EXTRACT_16BITS(message + 10); 352 printf("%s%s%s %s metric %u seqno %u interval %u", 357 metric, seqno, interval);
|
H A D | print-eigrp.c | 145 u_int8_t metric[4]; member in struct:eigrp_tlv_ip_ext_t 186 u_int8_t metric[2]; member in struct:eigrp_tlv_at_ext_t 373 printf("\n\t origin-router %s, origin-as %u, origin-proto %s, flags [0x%02x], tag 0x%08x, metric %u", 379 EXTRACT_32BITS(tlv_ptr.eigrp_tlv_ip_ext->metric)); 436 printf("\n\t origin-router %u, origin-as %u, origin-proto %s, flags [0x%02x], tag 0x%08x, metric %u", 442 EXTRACT_16BITS(tlv_ptr.eigrp_tlv_at_ext->metric));
|
H A D | print-isoclns.c | 1581 /* print the 4-byte metric block which is common found in the old-style TLVs */ 1971 u_int metric, status_byte, bit_length, byte_length, sublen, processed, subtlvtype, subtlvlen; local 1975 metric = EXTRACT_32BITS(tptr); 2032 metric);
|
/freebsd-10.0-release/contrib/groff/src/libs/libgroff/ |
H A D | font.cpp | 468 void font::add_entry(int idx, const font_char_metric &metric) argument 478 ch[ch_used++] = metric; 725 font_char_metric metric; local 726 metric.height = 0; 727 metric.depth = 0; 728 metric.pre_math_space = 0; 729 metric.italic_correction = 0; 730 metric.subscript_correction = 0; 732 &metric.width, &metric [all...] |
/freebsd-10.0-release/sbin/routed/ |
H A D | output.c | 57 char metric; /* adjust metrics by interface */ member in struct:__anon5835 407 * shutting down, admit only a bad metric. 446 char metric, pref; local 515 metric = RT->rt_metric; 582 * Notice spare routes with the same metric that we are about to 596 if (rts->rts_metric > metric 602 * toward its source with an infinite metric. 604 * better metric than we now have, then we should 615 || RT->rt_poison_metric >= metric 620 metric [all...] |
H A D | parms.c | 95 * Default poor-man's router discovery to a metric that will 97 * routes with metric 15. 174 int metric, n, lnum; local 217 /* {net | host} XX[/M] XX gateway XX metric DD [passive | external]\n */ 221 " %64[^ / \t] metric %u %8s\n", 222 net_host, dname, gname, &metric, qual); 228 if (metric >= HOPCNT_INFINITY) { 229 msglog("bad metric in "_PATH_GATEWAYS" entry \"%s\"", 274 if (metric == 0) 275 metric [all...] |
H A D | table.c | 74 * the same metric and next hop into a common route with a smaller netmask 250 * metric, it suppresses the target. 287 char metric, 312 nc_ag.ag_metric = metric; 402 ag->ag_metric = metric; 436 * same gateway and have the same metric. 472 * with the worse metric can be promoted. 504 ag->ag_metric = metric; 505 metric = x; 591 nag->ag_metric = metric; 283 ag_check(naddr dst, naddr mask, naddr gate, naddr nhop, char metric, char pref, u_int new_seqno, u_short tag, u_short state, void (*out)(struct ag_info *)) argument 676 rtioctl(int action, naddr dst, naddr gate, naddr mask, int metric, int flags) argument 1410 char metric, pref; local [all...] |
/freebsd-10.0-release/lib/libdevstat/ |
H A D | devstat.c | 94 devstat_metric metric; member in struct:devstat_args 1229 devstat_metric metric; local 1283 while ((metric = (devstat_metric)va_arg(ap, devstat_metric)) != 0) { 1285 if (metric == DSM_NONE) 1288 if (metric >= DSM_MAX) { 1290 "%s: metric %d is out of range", __func__, 1291 metric); 1296 switch (devstat_arg_list[metric].argtype) { 1312 if (devstat_arg_list[metric].argtype == DEVSTAT_ARG_SKIP) 1315 switch (metric) { [all...] |
/freebsd-10.0-release/contrib/ntp/ntpd/ |
H A D | refclock_chu.c | 234 #define METRIC 50. /* min channel metric */ 294 double metric; /* integrator sum */ member in struct:xmtr 318 struct xmtr xmtr[NCHAN]; /* station metric */ 1288 * synchronized; however, believe the time only if within metric 1291 * metric threshold. 1348 * If in sync and the signal metric is above threshold, the 1521 double metric; local 1541 sp->metric -= sp->integ[sp->iptr]; 1543 sp->metric += sp->integ[sp->iptr]; 1545 metric [all...] |
H A D | refclock_wwv.c | 482 double metric; /* signal quality metric */ member in struct:sync 1197 * When the channel metric reaches threshold and the second 1215 if (sp->metric >= TTHR && epoch == sp->mepoch % SECOND) { 1363 sp->metric = 0; 1365 sp->metric = wwv_metric(sp); 1370 sp->reach & 0xffff, sp->metric, sp->synmax, 1836 * the channel metric computed by the wwv_metric() routine. 1855 sp->metric = wwv_metric(sp); 1870 rp->metric [all...] |
/freebsd-10.0-release/sys/net80211/ |
H A D | ieee80211_hwmp.c | 906 * Update forwarding information to TA if metric improves. 914 int metric = 0; local 927 metric = ms->ms_pmetric->mpm_metric(ni); 929 rttran->rt_metric > metric) 932 "%s path to transmiter %6D of %s, metric %d:%d", 935 rttran->rt_metric, metric); 937 rttran->rt_metric = metric; 960 uint32_t metric = 0; local 1031 metric = preq->preq_metric + ms->ms_pmetric->mpm_metric(ni); 1034 metric < rtori 1281 uint32_t metric = 0; local 1750 uint32_t metric = 0; local [all...] |
H A D | ieee80211_mesh.c | 2929 ni, "send LINK METRIC REPLY action: metric 0x%x", 2944 * mesh link metric 2947 * [tlv] mesh link metric 2984 * mesh link metric 3139 "unknown path metric algorithm: 0x%x\n", 3228 * For now just use HWMP routing, Airtime link metric, Null Congestion 3242 *frm++ = ms->ms_pmetric->mpm_ie; /* link metric */ 3349 ieee80211_add_meshlmetric(uint8_t *frm, uint8_t flags, uint32_t metric) argument 3354 ADDWORD(frm, metric);
|
/freebsd-10.0-release/contrib/openresolv/ |
H A D | resolvconf.in | 65 -m metric Give the added DNS information a metric 385 # Pad metric to 6 characters, so 5 is less than 10
|
/freebsd-10.0-release/sys/net/ |
H A D | if_mib.c | 124 DONTCOPY(metric);
|
H A D | rtsock.c | 1018 #define metric(f, e) if (which & (f)) out->e = in->e; macro 1023 metric(RTV_MTU, rmx_mtu); 1024 metric(RTV_WEIGHT, rmx_weight); 1029 #undef metric macro 1035 #define metric(e) out->e = in->e; macro 1037 metric(rmx_mtu); 1038 metric(rmx_weight); 1042 #undef metric macro
|