Lines Matching full:rate
63 double rate[MAXS]; member
139 memset(&n->rate, 0, sizeof(n->rate)); in get_nlmsg()
213 unsigned rate; in load_raw_table() local
224 if (sscanf(p, "%u", &rate) != 1) in load_raw_table()
226 n->rate[i] = rate; in load_raw_table()
257 double *rates = n->rate; in dump_raw_db()
265 rates = h1->rate; in dump_raw_db()
345 fprintf(fp, "%8s/%-6s ", "RX Pkts", "Rate"); in print_head()
346 fprintf(fp, "%8s/%-6s ", "TX Pkts", "Rate"); in print_head()
347 fprintf(fp, "%8s/%-6s ", "RX Data", "Rate"); in print_head()
348 fprintf(fp, "%8s/%-6s\n","TX Data", "Rate"); in print_head()
354 fprintf(fp, "%8s/%-6s ", "RX Over", "Rate"); in print_head()
355 fprintf(fp, "%8s/%-6s\n","TX Coll", "Rate"); in print_head()
358 fprintf(fp, "%8s/%-6s ", "RX Errs", "Rate"); in print_head()
359 fprintf(fp, "%8s/%-6s ", "RX Drop", "Rate"); in print_head()
360 fprintf(fp, "%8s/%-6s ", "RX Over", "Rate"); in print_head()
361 fprintf(fp, "%8s/%-6s\n","RX Leng", "Rate"); in print_head()
364 fprintf(fp, "%8s/%-6s ", "RX Crc", "Rate"); in print_head()
365 fprintf(fp, "%8s/%-6s ", "RX Frm", "Rate"); in print_head()
366 fprintf(fp, "%8s/%-6s ", "RX Fifo", "Rate"); in print_head()
367 fprintf(fp, "%8s/%-6s\n","RX Miss", "Rate"); in print_head()
370 fprintf(fp, "%8s/%-6s ", "TX Errs", "Rate"); in print_head()
371 fprintf(fp, "%8s/%-6s ", "TX Drop", "Rate"); in print_head()
372 fprintf(fp, "%8s/%-6s ", "TX Coll", "Rate"); in print_head()
373 fprintf(fp, "%8s/%-6s\n","TX Carr", "Rate"); in print_head()
376 fprintf(fp, "%8s/%-6s ", "TX Abrt", "Rate"); in print_head()
377 fprintf(fp, "%8s/%-6s ", "TX Fifo", "Rate"); in print_head()
378 fprintf(fp, "%8s/%-6s ", "TX Hear", "Rate"); in print_head()
379 fprintf(fp, "%8s/%-6s\n","TX Wind", "Rate"); in print_head()
404 format_rate(fp, vals, n->rate, i); in print_one_if()
411 format_rate(fp, vals, n->rate, 11); in print_one_if()
412 format_rate(fp, vals, n->rate, 9); in print_one_if()
416 format_rate(fp, vals, n->rate, 4); in print_one_if()
417 format_rate(fp, vals, n->rate, 6); in print_one_if()
418 format_rate(fp, vals, n->rate, 11); in print_one_if()
419 format_rate(fp, vals, n->rate, 10); in print_one_if()
423 format_rate(fp, vals, n->rate, 12); in print_one_if()
424 format_rate(fp, vals, n->rate, 13); in print_one_if()
425 format_rate(fp, vals, n->rate, 14); in print_one_if()
426 format_rate(fp, vals, n->rate, 15); in print_one_if()
430 format_rate(fp, vals, n->rate, 5); in print_one_if()
431 format_rate(fp, vals, n->rate, 7); in print_one_if()
432 format_rate(fp, vals, n->rate, 9); in print_one_if()
433 format_rate(fp, vals, n->rate, 17); in print_one_if()
437 format_rate(fp, vals, n->rate, 16); in print_one_if()
438 format_rate(fp, vals, n->rate, 18); in print_one_if()
439 format_rate(fp, vals, n->rate, 19); in print_one_if()
440 format_rate(fp, vals, n->rate, 20); in print_one_if()
549 n->rate[i] += W*(sample-n->rate[i]); in update_db()
552 n->rate[i] = sample; in update_db()
555 n->rate[i] += w*(sample-n->rate[i]); in update_db()