Lines Matching defs:smb

1167 	struct smb sb;
1187 struct smb sb, *smb;
1192 smb = &sb;
1206 stat->rx_frames += smb->rx_frames;
1207 stat->rx_bcast_frames += smb->rx_bcast_frames;
1208 stat->rx_mcast_frames += smb->rx_mcast_frames;
1209 stat->rx_pause_frames += smb->rx_pause_frames;
1210 stat->rx_control_frames += smb->rx_control_frames;
1211 stat->rx_crcerrs += smb->rx_crcerrs;
1212 stat->rx_lenerrs += smb->rx_lenerrs;
1213 stat->rx_bytes += smb->rx_bytes;
1214 stat->rx_runts += smb->rx_runts;
1215 stat->rx_fragments += smb->rx_fragments;
1216 stat->rx_pkts_64 += smb->rx_pkts_64;
1217 stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
1218 stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
1219 stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
1220 stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
1221 stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
1222 stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
1223 stat->rx_pkts_truncated += smb->rx_pkts_truncated;
1224 stat->rx_fifo_oflows += smb->rx_fifo_oflows;
1225 stat->rx_rrs_errs += smb->rx_rrs_errs;
1226 stat->rx_alignerrs += smb->rx_alignerrs;
1227 stat->rx_bcast_bytes += smb->rx_bcast_bytes;
1228 stat->rx_mcast_bytes += smb->rx_mcast_bytes;
1229 stat->rx_pkts_filtered += smb->rx_pkts_filtered;
1232 stat->tx_frames += smb->tx_frames;
1233 stat->tx_bcast_frames += smb->tx_bcast_frames;
1234 stat->tx_mcast_frames += smb->tx_mcast_frames;
1235 stat->tx_pause_frames += smb->tx_pause_frames;
1236 stat->tx_excess_defer += smb->tx_excess_defer;
1237 stat->tx_control_frames += smb->tx_control_frames;
1238 stat->tx_deferred += smb->tx_deferred;
1239 stat->tx_bytes += smb->tx_bytes;
1240 stat->tx_pkts_64 += smb->tx_pkts_64;
1241 stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
1242 stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
1243 stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
1244 stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
1245 stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
1246 stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
1247 stat->tx_single_colls += smb->tx_single_colls;
1248 stat->tx_multi_colls += smb->tx_multi_colls;
1249 stat->tx_late_colls += smb->tx_late_colls;
1250 stat->tx_excess_colls += smb->tx_excess_colls;
1251 stat->tx_abort += smb->tx_abort;
1252 stat->tx_underrun += smb->tx_underrun;
1253 stat->tx_desc_underrun += smb->tx_desc_underrun;
1254 stat->tx_lenerrs += smb->tx_lenerrs;
1255 stat->tx_pkts_truncated += smb->tx_pkts_truncated;
1256 stat->tx_bcast_bytes += smb->tx_bcast_bytes;
1257 stat->tx_mcast_bytes += smb->tx_mcast_bytes;
1260 ifp->if_opackets += smb->tx_frames;
1262 ifp->if_collisions += smb->tx_single_colls +
1263 smb->tx_multi_colls * 2 + smb->tx_late_colls +
1264 smb->tx_abort * HDPX_CFG_RETRY_DEFAULT;
1273 ifp->if_oerrors += smb->tx_abort + smb->tx_late_colls +
1274 smb->tx_underrun;
1276 ifp->if_ipackets += smb->rx_frames;
1278 ifp->if_ierrors += smb->rx_crcerrs + smb->rx_lenerrs +
1279 smb->rx_runts + smb->rx_pkts_truncated +
1280 smb->rx_fifo_oflows + smb->rx_rrs_errs +
1281 smb->rx_alignerrs;