aboutsummaryrefslogtreecommitdiff
path: root/schema/packet_event_schema.json
blob: 6f722bf6f71bbba088f69e50f45e4995929d8173 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
    "type": "object",
    "required": [
        "alias",
        "source",
        "thread_id",
        "packet_id",
        "packet_event_id",
        "packet_event_name"
    ],
    "properties": {
        "alias": {
            "type": "string"
        },
        "source": {
            "type": "string"
        },
        "thread_id": {
            "type": "number"
        },
        "packet_id": {
            "type": "number",
            "minimum": 0
        },
        "packet_event_id": {
            "type": "number",
            "minimum": 0,
            "maximum": 2
        },
        "packet_event_name": {
            "type": "string",
            "enum": [
                "invalid",
                "packet",
                "packet-flow"
            ]
        },
        "flow_id": {
            "type": "number",
            "minimum": 1
        },
        "flow_packet_id": {
            "type": "number"
        },
        "pkt_caplen": {
            "type": "number",
            "minimum": 1,
            "maximum": 65535
        },
        "pkt_type": {
            "type": "number",
            "minimum": 0,
            "maximum": 65535
        },
        "pkt_oversize": {
            "type": "boolean"
        },
        "pkt_l3_offset": {
            "type": "number",
            "minimum": 0,
            "maximum": 65535
        },
        "pkt_l4_len": {
            "type": "number",
            "minimum": 0,
            "maximum": 65535
        },
        "pkt_l4_offset": {
            "type": "number",
            "minimum": 0,
            "maximum": 65535
        },
        "pkt_len": {
            "type": "number",
            "minimum": 0,
            "maximum": 65535
        },
        "pkt_ts_usec": {
            "type": "number"
        },
        "pkt_ts_sec": {
            "type": "number"
        },
        "pkt": {
            "type": "string"
        }
    },
    "additionalProperties": false
}