Lines Matching refs:pktlen
516 int len, pktlen; in rum_rxeof() local
558 pktlen = (LE_32(desc->flags) >> 16) & 0xfff; in rum_rxeof()
560 if (pktlen > (len - RT2573_RX_DESC_SIZE)) { in rum_rxeof()
562 "rum_rxeof(): pktlen mismatch <%d, %d>.\n", pktlen, len); in rum_rxeof()
566 if ((m = allocb(pktlen, BPRI_MED)) == NULL) { in rum_rxeof()
573 bcopy(rxbuf + RT2573_RX_DESC_SIZE, m->b_rptr, pktlen); in rum_rxeof()
574 m->b_wptr += pktlen; in rum_rxeof()
740 int off, mblen, pktlen, xferlen; in rum_send() local
850 pktlen = msgdsize(m) - RT2573_TX_DESC_SIZE; in rum_send()
851 rum_setup_tx_desc(sc, desc, flags, 0, pktlen, rate); in rum_send()
854 xferlen = (RT2573_TX_DESC_SIZE + pktlen + 3) & ~3; in rum_send()
866 pktlen, rate, xferlen); in rum_send()
872 ic->ic_stats.is_tx_bytes += pktlen; in rum_send()