Lines Matching refs:total_len
1113 int total_len = 0;
1155 total_len = rxstat >> 16;
1156 if (total_len == RL_RXSTAT_UNFINISHED)
1160 total_len < ETHER_MIN_LEN ||
1161 total_len > ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN) {
1169 rx_bytes += total_len + 4;
1178 total_len -= ETHER_CRC_LEN;
1193 if (total_len > wrap) {
1194 m = m_devget(rxbufpos, total_len, RL_ETHER_ALIGN, ifp,
1197 m_copyback(m, wrap, total_len - wrap,
1199 cur_rx = (total_len - wrap + ETHER_CRC_LEN);
1201 m = m_devget(rxbufpos, total_len, RL_ETHER_ALIGN, ifp,
1203 cur_rx += total_len + 4 + ETHER_CRC_LEN;