Lines Matching refs:mlen
61 register int mlen = 0; in in_cksum() local
77 if (mlen == -1) { in in_cksum()
89 mlen = vec->len - 1; in in_cksum()
91 mlen = vec->len; in in_cksum()
95 if ((1 & (unsigned long) w) && (mlen > 0)) { in in_cksum()
100 mlen--; in in_cksum()
107 while ((mlen -= 32) >= 0) { in in_cksum()
114 mlen += 32; in in_cksum()
115 while ((mlen -= 8) >= 0) { in in_cksum()
119 mlen += 8; in in_cksum()
120 if (mlen == 0 && byte_swapped == 0) in in_cksum()
123 while ((mlen -= 2) >= 0) { in in_cksum()
130 if (mlen == -1) { in in_cksum()
133 mlen = 0; in in_cksum()
135 mlen = -1; in in_cksum()
136 } else if (mlen == -1) in in_cksum()
139 if (mlen == -1) { in in_cksum()