Files
nDPId/schema/basic_event_schema.json
Toni Uhlig 0b5b177c14 Extended nDPIsrvd.h with address parsing.
* nDPId supports looading of custom nDPI protocol/category files
 * extended JSON schemas according to nDPI / nDPId JSON serializing
 * removed memory holes in nDPId
 * extended examples/c-captured

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2021-02-23 14:46:47 +01:00

84 lines
1.7 KiB
JSON

{
"type": "object",
"required": [
"alias",
"source",
"thread_id",
"packet_id",
"basic_event_id",
"basic_event_name"
],
"properties": {
"alias": {
"type": "string"
},
"source": {
"type": "string"
},
"thread_id": {
"type": "number"
},
"packet_id": {
"type": "number",
"minimum": 0
},
"basic_event_id": {
"type": "number",
"minimum": 0,
"maximum": 16
},
"basic_event_name": {
"type": "string"
},
"datalink": {
"type": "number",
"minimum": 0,
"maximum": 265
},
"header": {
"type": "number"
},
"type": {
"type": "number",
"minimum": 0,
"maximum": 65535
},
"protocol": {
"type": "number",
"minimum": 0,
"maximum": 65535
},
"caplen": {
"type": "number"
},
"len": {
"type": "number"
},
"ip_size": {
"type": "number"
},
"expected": {
"type": "number"
},
"l4_data_len": {
"type": "number"
},
"header_len": {
"type": "number"
},
"size": {
"type": "number"
},
"current_active": {
"type": "number"
},
"current_idle": {
"type": "number"
},
"max_active": {
"type": "number"
}
},
"additionalProperties": false
}