Extended analyse application to write global stats to a CSV.

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig
2024-08-15 12:33:46 +02:00
parent 762e6d36bf
commit f6f3a4daab
3 changed files with 1578 additions and 95 deletions

View File

@@ -391,7 +391,7 @@ if(BUILD_EXAMPLES)
add_executable(nDPIsrvd-analysed examples/c-analysed/c-analysed.c utils.c)
target_compile_definitions(nDPIsrvd-analysed PRIVATE ${NDPID_DEFS})
target_include_directories(nDPIsrvd-analysed PRIVATE ${NDPID_DEPS_INC})
target_include_directories(nDPIsrvd-analysed PRIVATE "${STATIC_LIBNDPI_INC}" "${NDPID_DEPS_INC}")
add_executable(nDPIsrvd-simple examples/c-simple/c-simple.c)
target_compile_definitions(nDPIsrvd-simple PRIVATE ${NDPID_DEFS})

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,3 @@
#include "utils.h"
#include <errno.h>
#include <fcntl.h>
#include <grp.h>
@@ -15,6 +13,8 @@
#include <sys/types.h>
#include <unistd.h>
#include "utils.h"
typedef char pid_str[16];
static char const * app_name = NULL;