Lines Matching refs:outbuf
65 u_char outbuf[DEFLATE_BUF_SIZE]; /* output buffer */ member
458 priv->cx.next_out = priv->outbuf + 2 + DEFLATE_HDRLEN; in ng_deflate_compress()
484 MPASS(priv->outbuf[outlen + 0] == 0x00); in ng_deflate_compress()
485 MPASS(priv->outbuf[outlen + 1] == 0x00); in ng_deflate_compress()
486 MPASS(priv->outbuf[outlen + 2] == 0xff); in ng_deflate_compress()
487 MPASS(priv->outbuf[outlen + 3] == 0xff); in ng_deflate_compress()
497 be16enc(priv->outbuf, PROT_COMPD); in ng_deflate_compress()
498 be16enc(priv->outbuf + 2, priv->seqnum); in ng_deflate_compress()
501 m_copyback(m, 0, outlen, (caddr_t)priv->outbuf); in ng_deflate_compress()
591 priv->cx.next_out = priv->outbuf + 1; in ng_deflate_decompress()
626 if ((priv->outbuf[1] & 0x01) != 0) { in ng_deflate_decompress()
627 priv->outbuf[0] = 0; in ng_deflate_decompress()
629 m_copyback(m, 0, outlen, (caddr_t)priv->outbuf); in ng_deflate_decompress()
633 m_copyback(m, 0, outlen, (caddr_t)(priv->outbuf + 1)); in ng_deflate_decompress()
662 priv->cx.next_out = priv->outbuf; in ng_deflate_decompress()
675 priv->cx.next_out = priv->outbuf; in ng_deflate_decompress()