Lines Matching defs:smb

1516 	struct smb sb, *smb;
1524 smb = sc->alc_rdata.alc_smb;
1526 smb->updated = 0;
1550 struct smb sb, *smb;
1559 smb = sc->alc_rdata.alc_smb;
1560 if (smb->updated == 0)
1563 smb = &sb;
1579 stat->rx_frames += smb->rx_frames;
1580 stat->rx_bcast_frames += smb->rx_bcast_frames;
1581 stat->rx_mcast_frames += smb->rx_mcast_frames;
1582 stat->rx_pause_frames += smb->rx_pause_frames;
1583 stat->rx_control_frames += smb->rx_control_frames;
1584 stat->rx_crcerrs += smb->rx_crcerrs;
1585 stat->rx_lenerrs += smb->rx_lenerrs;
1586 stat->rx_bytes += smb->rx_bytes;
1587 stat->rx_runts += smb->rx_runts;
1588 stat->rx_fragments += smb->rx_fragments;
1589 stat->rx_pkts_64 += smb->rx_pkts_64;
1590 stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
1591 stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
1592 stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
1593 stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
1594 stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
1595 stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
1596 stat->rx_pkts_truncated += smb->rx_pkts_truncated;
1597 stat->rx_fifo_oflows += smb->rx_fifo_oflows;
1598 stat->rx_rrs_errs += smb->rx_rrs_errs;
1599 stat->rx_alignerrs += smb->rx_alignerrs;
1600 stat->rx_bcast_bytes += smb->rx_bcast_bytes;
1601 stat->rx_mcast_bytes += smb->rx_mcast_bytes;
1602 stat->rx_pkts_filtered += smb->rx_pkts_filtered;
1605 stat->tx_frames += smb->tx_frames;
1606 stat->tx_bcast_frames += smb->tx_bcast_frames;
1607 stat->tx_mcast_frames += smb->tx_mcast_frames;
1608 stat->tx_pause_frames += smb->tx_pause_frames;
1609 stat->tx_excess_defer += smb->tx_excess_defer;
1610 stat->tx_control_frames += smb->tx_control_frames;
1611 stat->tx_deferred += smb->tx_deferred;
1612 stat->tx_bytes += smb->tx_bytes;
1613 stat->tx_pkts_64 += smb->tx_pkts_64;
1614 stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
1615 stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
1616 stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
1617 stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
1618 stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
1619 stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
1620 stat->tx_single_colls += smb->tx_single_colls;
1621 stat->tx_multi_colls += smb->tx_multi_colls;
1622 stat->tx_late_colls += smb->tx_late_colls;
1623 stat->tx_excess_colls += smb->tx_excess_colls;
1624 stat->tx_abort += smb->tx_abort;
1625 stat->tx_underrun += smb->tx_underrun;
1626 stat->tx_desc_underrun += smb->tx_desc_underrun;
1627 stat->tx_lenerrs += smb->tx_lenerrs;
1628 stat->tx_pkts_truncated += smb->tx_pkts_truncated;
1629 stat->tx_bcast_bytes += smb->tx_bcast_bytes;
1630 stat->tx_mcast_bytes += smb->tx_mcast_bytes;
1633 ifp->if_opackets += smb->tx_frames;
1635 ifp->if_collisions += smb->tx_single_colls +
1636 smb->tx_multi_colls * 2 + smb->tx_late_colls +
1637 smb->tx_abort * HDPX_CFG_RETRY_DEFAULT;
1646 ifp->if_oerrors += smb->tx_abort + smb->tx_late_colls +
1647 smb->tx_underrun;
1649 ifp->if_ipackets += smb->rx_frames;
1651 ifp->if_ierrors += smb->rx_crcerrs + smb->rx_lenerrs +
1652 smb->rx_runts + smb->rx_pkts_truncated +
1653 smb->rx_fifo_oflows + smb->rx_rrs_errs +
1654 smb->rx_alignerrs;
1658 smb->updated = 0;