Lines Matching refs:GET_STAT

141 #define GET_STAT(a, b) 0  macro
163 count = GET_STAT(iface, in get_net_pkt_tc_stats_detail()
168 count = GET_STAT(iface, in get_net_pkt_tc_stats_detail()
179 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_tc_stats_detail()
185 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_tc_stats_detail()
227 count = GET_STAT(iface, tx_time_detail[j].count); in get_net_pkt_stats_detail()
231 count = GET_STAT(iface, rx_time_detail[j].count); in get_net_pkt_stats_detail()
241 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_stats_detail()
247 avg = (uint32_t)(GET_STAT(iface, in get_net_pkt_stats_detail()
315 net_stats_t count = GET_STAT(iface, in print_tc_tx_stats()
319 priority2str(GET_STAT(iface, tc.sent[i].priority)), in print_tc_tx_stats()
320 GET_STAT(iface, tc.sent[i].priority), in print_tc_tx_stats()
321 GET_STAT(iface, tc.sent[i].pkts), in print_tc_tx_stats()
322 GET_STAT(iface, tc.sent[i].bytes)); in print_tc_tx_stats()
325 priority2str(GET_STAT(iface, tc.sent[i].priority)), in print_tc_tx_stats()
326 GET_STAT(iface, tc.sent[i].priority), in print_tc_tx_stats()
327 GET_STAT(iface, tc.sent[i].pkts), in print_tc_tx_stats()
328 GET_STAT(iface, tc.sent[i].bytes), in print_tc_tx_stats()
329 (uint32_t)(GET_STAT(iface, in print_tc_tx_stats()
340 priority2str(GET_STAT(iface, tc.sent[i].priority)), in print_tc_tx_stats()
341 GET_STAT(iface, tc.sent[i].priority), in print_tc_tx_stats()
342 GET_STAT(iface, tc.sent[i].pkts), in print_tc_tx_stats()
343 GET_STAT(iface, tc.sent[i].bytes)); in print_tc_tx_stats()
350 net_stats_t count = GET_STAT(iface, tx_time.count); in print_tc_tx_stats()
354 (uint32_t)(GET_STAT(iface, tx_time.sum) / (uint64_t)count), in print_tc_tx_stats()
374 net_stats_t count = GET_STAT(iface, in print_tc_rx_stats()
378 priority2str(GET_STAT(iface, tc.recv[i].priority)), in print_tc_rx_stats()
379 GET_STAT(iface, tc.recv[i].priority), in print_tc_rx_stats()
380 GET_STAT(iface, tc.recv[i].pkts), in print_tc_rx_stats()
381 GET_STAT(iface, tc.recv[i].bytes)); in print_tc_rx_stats()
384 priority2str(GET_STAT(iface, tc.recv[i].priority)), in print_tc_rx_stats()
385 GET_STAT(iface, tc.recv[i].priority), in print_tc_rx_stats()
386 GET_STAT(iface, tc.recv[i].pkts), in print_tc_rx_stats()
387 GET_STAT(iface, tc.recv[i].bytes), in print_tc_rx_stats()
388 (uint32_t)(GET_STAT(iface, in print_tc_rx_stats()
399 priority2str(GET_STAT(iface, tc.recv[i].priority)), in print_tc_rx_stats()
400 GET_STAT(iface, tc.recv[i].priority), in print_tc_rx_stats()
401 GET_STAT(iface, tc.recv[i].pkts), in print_tc_rx_stats()
402 GET_STAT(iface, tc.recv[i].bytes)); in print_tc_rx_stats()
409 net_stats_t count = GET_STAT(iface, rx_time.count); in print_tc_rx_stats()
413 (uint32_t)(GET_STAT(iface, rx_time.sum) / (uint64_t)count), in print_tc_rx_stats()
428 GET_STAT(iface, pm.last_suspend_time)); in print_net_pm_stats()
430 (uint32_t)(GET_STAT(iface, pm.overall_suspend_time) / in print_net_pm_stats()
431 GET_STAT(iface, pm.suspend_count))); in print_net_pm_stats()
433 GET_STAT(iface, pm.overall_suspend_time)); in print_net_pm_stats()
435 GET_STAT(iface, pm.suspend_count)); in print_net_pm_stats()
460 GET_STAT(iface, ipv6.recv), in net_shell_print_statistics()
461 GET_STAT(iface, ipv6.sent), in net_shell_print_statistics()
462 GET_STAT(iface, ipv6.drop), in net_shell_print_statistics()
463 GET_STAT(iface, ipv6.forwarded)); in net_shell_print_statistics()
466 GET_STAT(iface, ipv6_nd.recv), in net_shell_print_statistics()
467 GET_STAT(iface, ipv6_nd.sent), in net_shell_print_statistics()
468 GET_STAT(iface, ipv6_nd.drop)); in net_shell_print_statistics()
472 GET_STAT(iface, ipv6_pmtu.recv), in net_shell_print_statistics()
473 GET_STAT(iface, ipv6_pmtu.sent), in net_shell_print_statistics()
474 GET_STAT(iface, ipv6_pmtu.drop)); in net_shell_print_statistics()
478 GET_STAT(iface, ipv6_mld.recv), in net_shell_print_statistics()
479 GET_STAT(iface, ipv6_mld.sent), in net_shell_print_statistics()
480 GET_STAT(iface, ipv6_mld.drop)); in net_shell_print_statistics()
486 GET_STAT(iface, ipv4.recv), in net_shell_print_statistics()
487 GET_STAT(iface, ipv4.sent), in net_shell_print_statistics()
488 GET_STAT(iface, ipv4.drop), in net_shell_print_statistics()
489 GET_STAT(iface, ipv4.forwarded)); in net_shell_print_statistics()
493 GET_STAT(iface, ip_errors.vhlerr), in net_shell_print_statistics()
494 GET_STAT(iface, ip_errors.hblenerr), in net_shell_print_statistics()
495 GET_STAT(iface, ip_errors.lblenerr)); in net_shell_print_statistics()
497 GET_STAT(iface, ip_errors.fragerr), in net_shell_print_statistics()
498 GET_STAT(iface, ip_errors.chkerr), in net_shell_print_statistics()
499 GET_STAT(iface, ip_errors.protoerr)); in net_shell_print_statistics()
503 GET_STAT(iface, ipv4_pmtu.recv), in net_shell_print_statistics()
504 GET_STAT(iface, ipv4_pmtu.sent), in net_shell_print_statistics()
505 GET_STAT(iface, ipv4_pmtu.drop)); in net_shell_print_statistics()
510 GET_STAT(iface, icmp.recv), in net_shell_print_statistics()
511 GET_STAT(iface, icmp.sent), in net_shell_print_statistics()
512 GET_STAT(iface, icmp.drop)); in net_shell_print_statistics()
514 GET_STAT(iface, icmp.typeerr), in net_shell_print_statistics()
515 GET_STAT(iface, icmp.chkerr)); in net_shell_print_statistics()
519 GET_STAT(iface, ipv4_igmp.recv), in net_shell_print_statistics()
520 GET_STAT(iface, ipv4_igmp.sent), in net_shell_print_statistics()
521 GET_STAT(iface, ipv4_igmp.drop)); in net_shell_print_statistics()
525 GET_STAT(iface, udp.recv), in net_shell_print_statistics()
526 GET_STAT(iface, udp.sent), in net_shell_print_statistics()
527 GET_STAT(iface, udp.drop)); in net_shell_print_statistics()
529 GET_STAT(iface, udp.chkerr)); in net_shell_print_statistics()
534 GET_STAT(iface, tcp.bytes.received), in net_shell_print_statistics()
535 GET_STAT(iface, tcp.bytes.sent), in net_shell_print_statistics()
536 GET_STAT(iface, tcp.resent)); in net_shell_print_statistics()
538 GET_STAT(iface, tcp.recv), in net_shell_print_statistics()
539 GET_STAT(iface, tcp.sent), in net_shell_print_statistics()
540 GET_STAT(iface, tcp.seg_drop)); in net_shell_print_statistics()
542 GET_STAT(iface, tcp.rexmit), in net_shell_print_statistics()
543 GET_STAT(iface, tcp.chkerr), in net_shell_print_statistics()
544 GET_STAT(iface, tcp.ackerr)); in net_shell_print_statistics()
546 GET_STAT(iface, tcp.rsterr), in net_shell_print_statistics()
547 GET_STAT(iface, tcp.rst)); in net_shell_print_statistics()
549 GET_STAT(iface, tcp.conndrop), in net_shell_print_statistics()
550 GET_STAT(iface, tcp.connrst)); in net_shell_print_statistics()
551 PR("TCP pkt drop %d\n", GET_STAT(iface, tcp.drop)); in net_shell_print_statistics()
555 GET_STAT(iface, dns.recv), in net_shell_print_statistics()
556 GET_STAT(iface, dns.sent), in net_shell_print_statistics()
557 GET_STAT(iface, dns.drop)); in net_shell_print_statistics()
560 PR("Bytes received %u\n", GET_STAT(iface, bytes.received)); in net_shell_print_statistics()
561 PR("Bytes sent %u\n", GET_STAT(iface, bytes.sent)); in net_shell_print_statistics()
562 PR("Processing err %d\n", GET_STAT(iface, processing_error)); in net_shell_print_statistics()