summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/meta.t.json.output
blob: 19b2d2621f6e0704e02f8defcce75e47917107f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# meta nfproto ipv4 ip saddr 1.2.3.4
[
    {
        "match": {
            "left": {
                "payload": {
                    "field": "saddr",
                    "name": "ip"
                }
            },
            "right": "1.2.3.4"
        }
    }
]

# meta nfproto ipv6 meta l4proto tcp
[
    {
        "match": {
            "left": {
                "meta": "nfproto"
            },
            "right": "ipv6"
        }
    },
    {
        "match": {
            "left": {
                "meta": "l4proto"
            },
            "right": 6
        }
    }
]