Lines Matching refs:totlen
1186 m_devget(char *buf, int totlen, int off, struct ifnet *ifp,
1196 while (totlen > 0) {
1198 if (totlen + off >= MINCLSIZE) {
1206 if (m && totlen + off + max_linkhdr <= MHLEN) {
1214 m->m_pkthdr.len = totlen;
1216 if (totlen + off >= MINCLSIZE) {
1233 m->m_len = len = min(totlen, len);
1241 totlen -= len;
1279 int totlen = 0;
1285 totlen += mlen;
1310 totlen += mlen;
1322 out: if (((m = m0)->m_flags & M_PKTHDR) && (m->m_pkthdr.len < totlen))
1323 m->m_pkthdr.len = totlen;