Lines Matching refs:totlen
533 u_int totlen = 0;
560 totlen += len;
564 if (totlen >= TXBSIZE) {
574 if (totlen < ETHERMIN + sizeof(struct ether_header)) {
575 int pad = ETHERMIN + sizeof(struct ether_header) - totlen;
576 (*sc->sc_zerobuf)(sc, mtdp->mtd_vbuf + totlen, pad);
577 totlen = ETHERMIN + sizeof(struct ether_header);
581 totlen);
583 SWO(sc, txp, TXP_PKTSIZE, totlen);
605 return (totlen);