Added nDPId-test as all-in-one JSON dumper.

* fixed invalid flow event schema type
 * added run_tests.sh to generate/diff JSON dumps
 * renamed lot's of vars/fns in nDPId.c/nDPIsrvd.c, so nDPId-test.c can include "*.c"
 * improved CMake dependency checks

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig 2021-03-24 11:17:49 +01:00
parent bdc8c5df2a
commit e835d36f63
No known key found for this signature in database
GPG key ID: 22C5333D922537D2
7 changed files with 669 additions and 237 deletions

View file

@ -97,12 +97,12 @@
]
},
"l4_proto": {
"type": "string",
"oneOf": [
{
"pattern": "^[0-9]+$"
"type": "number"
},
{
"type": "string",
"enum": [
"tcp",
"udp",