Lines Matching defs:smb

1977 	struct smb *smb;
1985 smb = sc->age_rdata.age_smb_block;
1986 if (smb->updated == 0)
1990 stat->rx_frames += smb->rx_frames;
1991 stat->rx_bcast_frames += smb->rx_bcast_frames;
1992 stat->rx_mcast_frames += smb->rx_mcast_frames;
1993 stat->rx_pause_frames += smb->rx_pause_frames;
1994 stat->rx_control_frames += smb->rx_control_frames;
1995 stat->rx_crcerrs += smb->rx_crcerrs;
1996 stat->rx_lenerrs += smb->rx_lenerrs;
1997 stat->rx_bytes += smb->rx_bytes;
1998 stat->rx_runts += smb->rx_runts;
1999 stat->rx_fragments += smb->rx_fragments;
2000 stat->rx_pkts_64 += smb->rx_pkts_64;
2001 stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
2002 stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
2003 stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
2004 stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
2005 stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
2006 stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
2007 stat->rx_pkts_truncated += smb->rx_pkts_truncated;
2008 stat->rx_fifo_oflows += smb->rx_fifo_oflows;
2009 stat->rx_desc_oflows += smb->rx_desc_oflows;
2010 stat->rx_alignerrs += smb->rx_alignerrs;
2011 stat->rx_bcast_bytes += smb->rx_bcast_bytes;
2012 stat->rx_mcast_bytes += smb->rx_mcast_bytes;
2013 stat->rx_pkts_filtered += smb->rx_pkts_filtered;
2016 stat->tx_frames += smb->tx_frames;
2017 stat->tx_bcast_frames += smb->tx_bcast_frames;
2018 stat->tx_mcast_frames += smb->tx_mcast_frames;
2019 stat->tx_pause_frames += smb->tx_pause_frames;
2020 stat->tx_excess_defer += smb->tx_excess_defer;
2021 stat->tx_control_frames += smb->tx_control_frames;
2022 stat->tx_deferred += smb->tx_deferred;
2023 stat->tx_bytes += smb->tx_bytes;
2024 stat->tx_pkts_64 += smb->tx_pkts_64;
2025 stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
2026 stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
2027 stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
2028 stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
2029 stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
2030 stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
2031 stat->tx_single_colls += smb->tx_single_colls;
2032 stat->tx_multi_colls += smb->tx_multi_colls;
2033 stat->tx_late_colls += smb->tx_late_colls;
2034 stat->tx_excess_colls += smb->tx_excess_colls;
2035 stat->tx_underrun += smb->tx_underrun;
2036 stat->tx_desc_underrun += smb->tx_desc_underrun;
2037 stat->tx_lenerrs += smb->tx_lenerrs;
2038 stat->tx_pkts_truncated += smb->tx_pkts_truncated;
2039 stat->tx_bcast_bytes += smb->tx_bcast_bytes;
2040 stat->tx_mcast_bytes += smb->tx_mcast_bytes;
2043 ifp->if_opackets += smb->tx_frames;
2045 ifp->if_collisions += smb->tx_single_colls +
2046 smb->tx_multi_colls + smb->tx_late_colls +
2047 smb->tx_excess_colls * HDPX_CFG_RETRY_DEFAULT;
2049 ifp->if_oerrors += smb->tx_excess_colls +
2050 smb->tx_late_colls + smb->tx_underrun +
2051 smb->tx_pkts_truncated;
2053 ifp->if_ipackets += smb->rx_frames;
2055 ifp->if_ierrors += smb->rx_crcerrs + smb->rx_lenerrs +
2056 smb->rx_runts + smb->rx_pkts_truncated +
2057 smb->rx_fifo_oflows + smb->rx_desc_oflows +
2058 smb->rx_alignerrs;
2061 smb->updated = 0;