Lines Matching refs:orglen
180 int orglen, len; in Pred1Output() local
184 orglen = m_length(bp) + 2; /* add count of proto */ in Pred1Output()
185 mwp = m_get((orglen + 2) / 8 * 9 + 12, MB_CCPOUT); in Pred1Output()
188 *wp++ = *cp++ = orglen >> 8; in Pred1Output()
189 *wp++ = *cp++ = orglen & 0377; in Pred1Output()
192 mbuf_Read(bp, cp, orglen - 2); in Pred1Output()
193 fcs = hdlc_Fcs(bufp, 2 + orglen); in Pred1Output()
196 len = compress(state, bufp + 2, wp, orglen); in Pred1Output()
197 log_Printf(LogDEBUG, "Pred1Output: orglen (%d) --> len (%d)\n", orglen, len); in Pred1Output()
198 ccp->uncompout += orglen; in Pred1Output()
199 if (len < orglen) { in Pred1Output()
204 memcpy(wp, bufp + 2, orglen); in Pred1Output()
205 wp += orglen; in Pred1Output()
206 ccp->compout += orglen; in Pred1Output()