Lines Matching defs:stat
30 #include <sys/stat.h>
454 atge_l1_smb_t *stat;
462 stat = (atge_l1_smb_t *)atgep->atge_hw_stats;
466 stat->rx_frames += smb->rx_frames;
467 stat->rx_bcast_frames += smb->rx_bcast_frames;
468 stat->rx_mcast_frames += smb->rx_mcast_frames;
469 stat->rx_pause_frames += smb->rx_pause_frames;
470 stat->rx_control_frames += smb->rx_control_frames;
471 stat->rx_crcerrs += smb->rx_crcerrs;
472 stat->rx_lenerrs += smb->rx_lenerrs;
473 stat->rx_bytes += smb->rx_bytes;
474 stat->rx_runts += smb->rx_runts;
475 stat->rx_fragments += smb->rx_fragments;
476 stat->rx_pkts_64 += smb->rx_pkts_64;
477 stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
478 stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
479 stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
480 stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
481 stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
482 stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
483 stat->rx_pkts_truncated += smb->rx_pkts_truncated;
484 stat->rx_fifo_oflows += smb->rx_fifo_oflows;
485 stat->rx_alignerrs += smb->rx_alignerrs;
486 stat->rx_bcast_bytes += smb->rx_bcast_bytes;
487 stat->rx_mcast_bytes += smb->rx_mcast_bytes;
488 stat->rx_pkts_filtered += smb->rx_pkts_filtered;
491 stat->tx_frames += smb->tx_frames;
492 stat->tx_bcast_frames += smb->tx_bcast_frames;
493 stat->tx_mcast_frames += smb->tx_mcast_frames;
494 stat->tx_pause_frames += smb->tx_pause_frames;
495 stat->tx_excess_defer += smb->tx_excess_defer;
496 stat->tx_control_frames += smb->tx_control_frames;
497 stat->tx_deferred += smb->tx_deferred;
498 stat->tx_bytes += smb->tx_bytes;
499 stat->tx_pkts_64 += smb->tx_pkts_64;
500 stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
501 stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
502 stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
503 stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
504 stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
505 stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
506 stat->tx_single_colls += smb->tx_single_colls;
507 stat->tx_multi_colls += smb->tx_multi_colls;
508 stat->tx_late_colls += smb->tx_late_colls;
509 stat->tx_excess_colls += smb->tx_excess_colls;
510 stat->tx_underrun += smb->tx_underrun;
511 stat->tx_desc_underrun += smb->tx_desc_underrun;
512 stat->tx_lenerrs += smb->tx_lenerrs;
513 stat->tx_pkts_truncated += smb->tx_pkts_truncated;
514 stat->tx_bcast_bytes += smb->tx_bcast_bytes;
515 stat->tx_mcast_bytes += smb->tx_mcast_bytes;