blob: b7818d857335c3ddb9b22c8e5fa65ce8a8194301 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
local zpcap = require("dnsjit.input.zpcap").new()
zpcap:lz4()
if zpcap:have_support() then
print("lz4")
end
zpcap:zstd()
if zpcap:have_support() then
print("zstd")
end
zpcap:lzma()
if zpcap:have_support() then
print("lzma")
end
zpcap:gzip()
if zpcap:have_support() then
print("gzip")
end
|