Lines Matching defs:smb

2085 	struct smb sb;
2104 struct smb sb, *smb;
2113 smb = &sb;
2127 stat->rx_frames += smb->rx_frames;
2128 stat->rx_bcast_frames += smb->rx_bcast_frames;
2129 stat->rx_mcast_frames += smb->rx_mcast_frames;
2130 stat->rx_pause_frames += smb->rx_pause_frames;
2131 stat->rx_control_frames += smb->rx_control_frames;
2132 stat->rx_crcerrs += smb->rx_crcerrs;
2133 stat->rx_lenerrs += smb->rx_lenerrs;
2134 stat->rx_bytes += smb->rx_bytes;
2135 stat->rx_runts += smb->rx_runts;
2136 stat->rx_fragments += smb->rx_fragments;
2137 stat->rx_pkts_64 += smb->rx_pkts_64;
2138 stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
2139 stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
2140 stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
2141 stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
2142 stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
2143 stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
2144 stat->rx_pkts_truncated += smb->rx_pkts_truncated;
2145 stat->rx_fifo_oflows += smb->rx_fifo_oflows;
2146 stat->rx_rrs_errs += smb->rx_rrs_errs;
2147 stat->rx_alignerrs += smb->rx_alignerrs;
2148 stat->rx_bcast_bytes += smb->rx_bcast_bytes;
2149 stat->rx_mcast_bytes += smb->rx_mcast_bytes;
2150 stat->rx_pkts_filtered += smb->rx_pkts_filtered;
2153 stat->tx_frames += smb->tx_frames;
2154 stat->tx_bcast_frames += smb->tx_bcast_frames;
2155 stat->tx_mcast_frames += smb->tx_mcast_frames;
2156 stat->tx_pause_frames += smb->tx_pause_frames;
2157 stat->tx_excess_defer += smb->tx_excess_defer;
2158 stat->tx_control_frames += smb->tx_control_frames;
2159 stat->tx_deferred += smb->tx_deferred;
2160 stat->tx_bytes += smb->tx_bytes;
2161 stat->tx_pkts_64 += smb->tx_pkts_64;
2162 stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
2163 stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
2164 stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
2165 stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
2166 stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
2167 stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
2168 stat->tx_single_colls += smb->tx_single_colls;
2169 stat->tx_multi_colls += smb->tx_multi_colls;
2170 stat->tx_late_colls += smb->tx_late_colls;
2171 stat->tx_excess_colls += smb->tx_excess_colls;
2172 stat->tx_underrun += smb->tx_underrun;
2173 stat->tx_desc_underrun += smb->tx_desc_underrun;
2174 stat->tx_lenerrs += smb->tx_lenerrs;
2175 stat->tx_pkts_truncated += smb->tx_pkts_truncated;
2176 stat->tx_bcast_bytes += smb->tx_bcast_bytes;
2177 stat->tx_mcast_bytes += smb->tx_mcast_bytes;
2180 if_inc_counter(ifp, IFCOUNTER_OPACKETS, smb->tx_frames);
2182 if_inc_counter(ifp, IFCOUNTER_COLLISIONS, smb->tx_single_colls +
2183 smb->tx_multi_colls * 2 + smb->tx_late_colls +
2184 smb->tx_excess_colls * HDPX_CFG_RETRY_DEFAULT);
2186 if_inc_counter(ifp, IFCOUNTER_OERRORS, smb->tx_late_colls +
2187 smb->tx_excess_colls + smb->tx_underrun + smb->tx_pkts_truncated);
2189 if_inc_counter(ifp, IFCOUNTER_IPACKETS, smb->rx_frames);
2192 smb->rx_crcerrs + smb->rx_lenerrs +
2193 smb->rx_runts + smb->rx_pkts_truncated +
2194 smb->rx_fifo_oflows + smb->rx_rrs_errs +
2195 smb->rx_alignerrs);