Lines Matching full:compress
70 u_char compress; /* compress/decompress flag */ member
198 priv->compress = 1; in ng_deflate_newhook()
200 priv->compress = 0; in ng_deflate_newhook()
240 if (priv->compress) in ng_deflate_rcvmsg()
253 if (priv->compress) { in ng_deflate_rcvmsg()
334 /* Compress */ in ng_deflate_rcvdata()
335 if (priv->compress) { in ng_deflate_rcvdata()
374 if (priv->compress) in ng_deflate_shutdown()
396 if (priv->compress) in ng_deflate_disconnect()
414 * Compress/encrypt a packet and put the result in a new mbuf at *resultp.
449 /* Compress "inbuf" into "outbuf". */ in ng_deflate_compress()
450 /* Prepare to compress. */ in ng_deflate_compress()
455 priv->cx.next_in = priv->inbuf + 1; /* compress protocol */ in ng_deflate_compress()
461 /* Compress. */ in ng_deflate_compress()
489 /* If we can't compress this packet, send it as-is. */ in ng_deflate_compress()
669 priv->inbuf + 1; /* compress protocol */ in ng_deflate_decompress()
711 if (priv->compress) in ng_deflate_reset_req()