Lines Matching refs:inbuf
64 u_char inbuf[DEFLATE_BUF_SIZE]; /* input buffer */ member
446 m_copydata(m, 0, inlen, (caddr_t)priv->inbuf); in ng_deflate_compress()
451 if (priv->inbuf[0] != 0) { in ng_deflate_compress()
452 priv->cx.next_in = priv->inbuf; in ng_deflate_compress()
455 priv->cx.next_in = priv->inbuf + 1; /* compress protocol */ in ng_deflate_compress()
555 m_copydata(m, 0, inlen, (caddr_t)priv->inbuf); in ng_deflate_decompress()
558 if ((priv->inbuf[0] & 0x01) != 0) { in ng_deflate_decompress()
559 proto = priv->inbuf[0]; in ng_deflate_decompress()
562 proto = be16dec(priv->inbuf); in ng_deflate_decompress()
573 rseqnum = be16dec(priv->inbuf + offset); in ng_deflate_decompress()
588 priv->cx.next_in = priv->inbuf + offset; in ng_deflate_decompress()
667 if (priv->inbuf[0] == 0) { in ng_deflate_decompress()
669 priv->inbuf + 1; /* compress protocol */ in ng_deflate_decompress()
672 priv->cx.next_in = priv->inbuf; in ng_deflate_decompress()