Home | History | Annotate | Download | only in dev

Lines Matching defs:totlen

397 	u_int len, totlen = 0;
405 totlen += len;
411 if (totlen > PAGE_SIZE)
415 if (totlen < ETHERMIN + sizeof(struct ether_header)) {
416 int pad = ETHERMIN + sizeof(struct ether_header) - totlen;
417 memset(sc->sc_txbuf + totlen, 0, pad);
418 totlen = ETHERMIN + sizeof(struct ether_header);
422 (*sc->sc_putpacket)(sc, totlen);
425 return totlen;
604 mace_get(struct mc_softc *sc, void *pkt, int totlen)
614 m->m_pkthdr.len = totlen;
619 while (totlen > 0) {
628 if (totlen >= MINCLSIZE) {
637 m->m_len = len = uimin(totlen, len);
640 totlen -= len;