Debian Codegraph @

tests/shell/testcases/optionals/dumps/comments_0.json-nft

raw
1 {
2 "nftables": [
3 {
4 "metainfo": {
5 "version": "VERSION",
6 "release_name": "RELEASE_NAME",
7 "json_schema_version": 1
8 }
9 },
10 {
11 "table": {
12 "family": "ip",
13 "name": "test",
14 "handle": 0
15 }
16 },
17 {
18 "chain": {
19 "family": "ip",
20 "table": "test",
21 "name": "test",
22 "handle": 0
23 }
24 },
25 {
26 "rule": {
27 "family": "ip",
28 "table": "test",
29 "chain": "test",
30 "handle": 0,
31 "comment": "test_comment",
32 "expr": [
33 {
34 "match": {
35 "op": "==",
36 "left": {
37 "payload": {
38 "protocol": "tcp",
39 "field": "dport"
40 }
41 },
42 "right": 22
43 }
44 },
45 {
46 "counter": {
47 "packets": 0,
48 "bytes": 0
49 }
50 },
51 {
52 "accept": null
53 }
54 ]
55 }
56 }
57 ]
58 }