Lines Matching refs:smb

3159 	struct smb sb, *smb;
3167 smb = sc->alc_rdata.alc_smb;
3169 smb->updated = 0;
3192 struct smb sb, *smb;
3205 smb = sc->alc_rdata.alc_smb;
3206 if (smb->updated == 0)
3209 smb = &sb;
3225 stat->rx_frames += smb->rx_frames;
3226 stat->rx_bcast_frames += smb->rx_bcast_frames;
3227 stat->rx_mcast_frames += smb->rx_mcast_frames;
3228 stat->rx_pause_frames += smb->rx_pause_frames;
3229 stat->rx_control_frames += smb->rx_control_frames;
3230 stat->rx_crcerrs += smb->rx_crcerrs;
3231 stat->rx_lenerrs += smb->rx_lenerrs;
3232 stat->rx_bytes += smb->rx_bytes;
3233 stat->rx_runts += smb->rx_runts;
3234 stat->rx_fragments += smb->rx_fragments;
3235 stat->rx_pkts_64 += smb->rx_pkts_64;
3236 stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
3237 stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
3238 stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
3239 stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
3240 stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
3241 stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
3242 stat->rx_pkts_truncated += smb->rx_pkts_truncated;
3243 stat->rx_fifo_oflows += smb->rx_fifo_oflows;
3244 stat->rx_rrs_errs += smb->rx_rrs_errs;
3245 stat->rx_alignerrs += smb->rx_alignerrs;
3246 stat->rx_bcast_bytes += smb->rx_bcast_bytes;
3247 stat->rx_mcast_bytes += smb->rx_mcast_bytes;
3248 stat->rx_pkts_filtered += smb->rx_pkts_filtered;
3251 stat->tx_frames += smb->tx_frames;
3252 stat->tx_bcast_frames += smb->tx_bcast_frames;
3253 stat->tx_mcast_frames += smb->tx_mcast_frames;
3254 stat->tx_pause_frames += smb->tx_pause_frames;
3255 stat->tx_excess_defer += smb->tx_excess_defer;
3256 stat->tx_control_frames += smb->tx_control_frames;
3257 stat->tx_deferred += smb->tx_deferred;
3258 stat->tx_bytes += smb->tx_bytes;
3259 stat->tx_pkts_64 += smb->tx_pkts_64;
3260 stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
3261 stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
3262 stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
3263 stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
3264 stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
3265 stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
3266 stat->tx_single_colls += smb->tx_single_colls;
3267 stat->tx_multi_colls += smb->tx_multi_colls;
3268 stat->tx_late_colls += smb->tx_late_colls;
3269 stat->tx_excess_colls += smb->tx_excess_colls;
3270 stat->tx_underrun += smb->tx_underrun;
3271 stat->tx_desc_underrun += smb->tx_desc_underrun;
3272 stat->tx_lenerrs += smb->tx_lenerrs;
3273 stat->tx_pkts_truncated += smb->tx_pkts_truncated;
3274 stat->tx_bcast_bytes += smb->tx_bcast_bytes;
3275 stat->tx_mcast_bytes += smb->tx_mcast_bytes;
3278 ifp->if_opackets += smb->tx_frames;
3280 ifp->if_collisions += smb->tx_single_colls +
3281 smb->tx_multi_colls * 2 + smb->tx_late_colls +
3282 smb->tx_excess_colls * HDPX_CFG_RETRY_DEFAULT;
3291 ifp->if_oerrors += smb->tx_late_colls + smb->tx_excess_colls +
3292 smb->tx_underrun + smb->tx_pkts_truncated;
3294 ifp->if_ipackets += smb->rx_frames;
3296 ifp->if_ierrors += smb->rx_crcerrs + smb->rx_lenerrs +
3297 smb->rx_runts + smb->rx_pkts_truncated +
3298 smb->rx_fifo_oflows + smb->rx_rrs_errs +
3299 smb->rx_alignerrs;
3303 smb->updated = 0;