Lines Matching defs:total_len
471 int total_len;
481 total_len = m->m_pkthdr.len;
483 if (total_len < URL_MIN_FRAME_LEN) {
484 memset(c->unc_buf + total_len, 0,
485 URL_MIN_FRAME_LEN - total_len);
486 total_len = URL_MIN_FRAME_LEN;
490 __func__, total_len));
492 return total_len;
496 url_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
503 if (total_len <= ETHER_CRC_LEN || total_len <= sizeof(rxhdr)) {
508 memcpy(&rxhdr, c->unc_buf + total_len - ETHER_CRC_LEN, sizeof(rxhdr));
523 total_len -= ETHER_CRC_LEN;
526 __func__, total_len));
527 usbnet_enqueue(un, c->unc_buf, total_len, 0, 0, 0);