Lines Matching defs:smb
1999 struct smb *smb;
2010 smb = sc->age_rdata.age_smb_block;
2011 if (smb->updated == 0)
2016 stat->rx_frames += smb->rx_frames;
2017 stat->rx_bcast_frames += smb->rx_bcast_frames;
2018 stat->rx_mcast_frames += smb->rx_mcast_frames;
2019 stat->rx_pause_frames += smb->rx_pause_frames;
2020 stat->rx_control_frames += smb->rx_control_frames;
2021 stat->rx_crcerrs += smb->rx_crcerrs;
2022 stat->rx_lenerrs += smb->rx_lenerrs;
2023 stat->rx_bytes += smb->rx_bytes;
2024 stat->rx_runts += smb->rx_runts;
2025 stat->rx_fragments += smb->rx_fragments;
2026 stat->rx_pkts_64 += smb->rx_pkts_64;
2027 stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
2028 stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
2029 stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
2030 stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
2031 stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
2032 stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
2033 stat->rx_pkts_truncated += smb->rx_pkts_truncated;
2034 stat->rx_fifo_oflows += smb->rx_fifo_oflows;
2035 stat->rx_desc_oflows += smb->rx_desc_oflows;
2036 stat->rx_alignerrs += smb->rx_alignerrs;
2037 stat->rx_bcast_bytes += smb->rx_bcast_bytes;
2038 stat->rx_mcast_bytes += smb->rx_mcast_bytes;
2039 stat->rx_pkts_filtered += smb->rx_pkts_filtered;
2042 stat->tx_frames += smb->tx_frames;
2043 stat->tx_bcast_frames += smb->tx_bcast_frames;
2044 stat->tx_mcast_frames += smb->tx_mcast_frames;
2045 stat->tx_pause_frames += smb->tx_pause_frames;
2046 stat->tx_excess_defer += smb->tx_excess_defer;
2047 stat->tx_control_frames += smb->tx_control_frames;
2048 stat->tx_deferred += smb->tx_deferred;
2049 stat->tx_bytes += smb->tx_bytes;
2050 stat->tx_pkts_64 += smb->tx_pkts_64;
2051 stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
2052 stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
2053 stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
2054 stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
2055 stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
2056 stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
2057 stat->tx_single_colls += smb->tx_single_colls;
2058 stat->tx_multi_colls += smb->tx_multi_colls;
2059 stat->tx_late_colls += smb->tx_late_colls;
2060 stat->tx_excess_colls += smb->tx_excess_colls;
2061 stat->tx_underrun += smb->tx_underrun;
2062 stat->tx_desc_underrun += smb->tx_desc_underrun;
2063 stat->tx_lenerrs += smb->tx_lenerrs;
2064 stat->tx_pkts_truncated += smb->tx_pkts_truncated;
2065 stat->tx_bcast_bytes += smb->tx_bcast_bytes;
2066 stat->tx_mcast_bytes += smb->tx_mcast_bytes;
2069 if_inc_counter(ifp, IFCOUNTER_OPACKETS, smb->tx_frames);
2071 if_inc_counter(ifp, IFCOUNTER_COLLISIONS, smb->tx_single_colls +
2072 smb->tx_multi_colls + smb->tx_late_colls +
2073 smb->tx_excess_colls * HDPX_CFG_RETRY_DEFAULT);
2075 if_inc_counter(ifp, IFCOUNTER_OERRORS, smb->tx_excess_colls +
2076 smb->tx_late_colls + smb->tx_underrun +
2077 smb->tx_pkts_truncated);
2079 if_inc_counter(ifp, IFCOUNTER_IPACKETS, smb->rx_frames);
2081 if_inc_counter(ifp, IFCOUNTER_IERRORS, smb->rx_crcerrs +
2082 smb->rx_lenerrs + smb->rx_runts + smb->rx_pkts_truncated +
2083 smb->rx_fifo_oflows + smb->rx_desc_oflows +
2084 smb->rx_alignerrs);
2087 smb->updated = 0;