Lines Matching defs:hlen
1324 int hlen;
1346 hlen = i + 1;
1351 if (hlen < (IS_DECOMP_AC(cp) ? 0 : 2) + (IS_DECOMP_PROT(cp) ? 1 : 2)) {
1355 if (mp->b_rptr + hlen > mp->b_wptr) {
1360 if (!adjmsg(mp, hlen)) {
1363 hlen = 0;
1365 if (hlen != PPP_HDRLEN) {
1376 dp = mp->b_rptr + hlen - PPP_HDRLEN;
1384 mp->b_rptr += hlen;
1496 hlen = (proto == PPP_VJC_COMP) ? MAX_VJHDR : MAX_TCPIPHLEN;
1497 if (hlen > len) {
1498 hlen = len;
1500 if ((np->b_wptr < dp + hlen) || DB_REF(np) > 1) {
1506 zmp = msgpullup(mp, hlen + PPP_HDRLEN);
1583 if (!vj_uncompress_uncomp(dp, hlen, &cp->cp_vj)) {