From 2103ee0811e3f606b8129d044e22cd33804e2117 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sat, 24 Sep 2022 23:25:33 +0200 Subject: Refactored client distributor C API. * Still not perfect, but the code before was not even able to deal with JSON arrays. Use common "speaking" function names for all functions in nDPIsrvd.h * Provide a more or less generic and easy extendable JSON walk function. * Modified C examples to align with the changed C API. * c-collectd: Reduced lot's of code duplication by providing mapping tables. * nDPId: IAT array requires one slot less (first packet has always an IAT of 0). Signed-off-by: Toni Uhlig --- test/results/http_on_sip_port.pcap.out | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/results/http_on_sip_port.pcap.out') diff --git a/test/results/http_on_sip_port.pcap.out b/test/results/http_on_sip_port.pcap.out index 296d99ede..5b7b40d03 100644 --- a/test/results/http_on_sip_port.pcap.out +++ b/test/results/http_on_sip_port.pcap.out @@ -15,8 +15,8 @@ ~~ total active/idle flows...: 1/1 ~~ total timeout flows.......: 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -~~ total memory allocated....: 6036109 bytes -~~ total memory freed........: 6036109 bytes +~~ total memory allocated....: 6036105 bytes +~~ total memory freed........: 6036105 bytes ~~ total allocations/frees...: 121497/121497 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ json string min len.......: 501 chars -- cgit v1.2.3