SMB3_COMPRESS_LZ77
case SMB3_COMPRESS_LZ77:
hdr.CompressionAlgorithm = SMB3_COMPRESS_LZ77;
pneg_ctxt->CompressionAlgorithms[0] = SMB3_COMPRESS_LZ77;
if (ctxt->CompressionAlgorithms[i] == SMB3_COMPRESS_LZ77)
server->compression.alg = SMB3_COMPRESS_LZ77;
if (server->compression.alg != SMB3_COMPRESS_LZ77)
} else if (payload_alg == alg && alg == SMB3_COMPRESS_LZ77) {
payload = smb_compression_add_payload(builder, SMB3_COMPRESS_LZ77,
if (!src || !dst || !dlen || alg != SMB3_COMPRESS_LZ77 ||
return alg == SMB3_COMPRESS_LZ77 || alg == SMB3_COMPRESS_PATTERN;
work->conn->compress_algorithm != SMB3_COMPRESS_LZ77)
rc = smb_compression_compress_chained(SMB3_COMPRESS_LZ77,
chdr->CompressionAlgorithm = SMB3_COMPRESS_LZ77;
if (alg == SMB3_COMPRESS_LZ77) {