Lines Matching defs:smb
2057 struct smb sb, *smb;
2065 smb = sc->alc_rdata.alc_smb;
2067 smb->updated = 0;
2091 struct smb sb, *smb;
2100 smb = sc->alc_rdata.alc_smb;
2101 if (smb->updated == 0)
2104 smb = &sb;
2120 stat->rx_frames += smb->rx_frames;
2121 stat->rx_bcast_frames += smb->rx_bcast_frames;
2122 stat->rx_mcast_frames += smb->rx_mcast_frames;
2123 stat->rx_pause_frames += smb->rx_pause_frames;
2124 stat->rx_control_frames += smb->rx_control_frames;
2125 stat->rx_crcerrs += smb->rx_crcerrs;
2126 stat->rx_lenerrs += smb->rx_lenerrs;
2127 stat->rx_bytes += smb->rx_bytes;
2128 stat->rx_runts += smb->rx_runts;
2129 stat->rx_fragments += smb->rx_fragments;
2130 stat->rx_pkts_64 += smb->rx_pkts_64;
2131 stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
2132 stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
2133 stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
2134 stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
2135 stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
2136 stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
2137 stat->rx_pkts_truncated += smb->rx_pkts_truncated;
2138 stat->rx_fifo_oflows += smb->rx_fifo_oflows;
2139 stat->rx_rrs_errs += smb->rx_rrs_errs;
2140 stat->rx_alignerrs += smb->rx_alignerrs;
2141 stat->rx_bcast_bytes += smb->rx_bcast_bytes;
2142 stat->rx_mcast_bytes += smb->rx_mcast_bytes;
2143 stat->rx_pkts_filtered += smb->rx_pkts_filtered;
2146 stat->tx_frames += smb->tx_frames;
2147 stat->tx_bcast_frames += smb->tx_bcast_frames;
2148 stat->tx_mcast_frames += smb->tx_mcast_frames;
2149 stat->tx_pause_frames += smb->tx_pause_frames;
2150 stat->tx_excess_defer += smb->tx_excess_defer;
2151 stat->tx_control_frames += smb->tx_control_frames;
2152 stat->tx_deferred += smb->tx_deferred;
2153 stat->tx_bytes += smb->tx_bytes;
2154 stat->tx_pkts_64 += smb->tx_pkts_64;
2155 stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
2156 stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
2157 stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
2158 stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
2159 stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
2160 stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
2161 stat->tx_single_colls += smb->tx_single_colls;
2162 stat->tx_multi_colls += smb->tx_multi_colls;
2163 stat->tx_late_colls += smb->tx_late_colls;
2164 stat->tx_excess_colls += smb->tx_excess_colls;
2165 stat->tx_underrun += smb->tx_underrun;
2166 stat->tx_desc_underrun += smb->tx_desc_underrun;
2167 stat->tx_lenerrs += smb->tx_lenerrs;
2168 stat->tx_pkts_truncated += smb->tx_pkts_truncated;
2169 stat->tx_bcast_bytes += smb->tx_bcast_bytes;
2170 stat->tx_mcast_bytes += smb->tx_mcast_bytes;
2172 ifp->if_collisions += smb->tx_single_colls +
2173 smb->tx_multi_colls * 2 + smb->tx_late_colls +
2174 smb->tx_excess_colls * HDPX_CFG_RETRY_DEFAULT;
2176 ifp->if_oerrors += smb->tx_late_colls + smb->tx_excess_colls +
2177 smb->tx_underrun + smb->tx_pkts_truncated;
2179 ifp->if_ierrors += smb->rx_crcerrs + smb->rx_lenerrs +
2180 smb->rx_runts + smb->rx_pkts_truncated +
2181 smb->rx_fifo_oflows + smb->rx_rrs_errs +
2182 smb->rx_alignerrs;
2186 smb->updated = 0;