Lines Matching defs:total_len
622 int total_len;
632 total_len = m->m_pkthdr.len;
633 if (total_len < UDAV_MIN_FRAME_LEN) {
634 memset(buf + 2 + total_len, 0,
635 UDAV_MIN_FRAME_LEN - total_len);
636 total_len = UDAV_MIN_FRAME_LEN;
640 buf[0] = (uint8_t)total_len;
641 buf[1] = (uint8_t)(total_len >> 8);
642 total_len += 2;
645 __func__, total_len));
647 return total_len;
651 udav_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len)
662 total_len -= sizeof(pktstat);
668 total_len -= sizeof(pkt_len);
679 pkt_len > total_len ||