ndpiReader: improve printing of payload statistics (#1989)

Add a basic unit test

Fix an endianess issue
This commit is contained in:
Ivan Nardi
2023-05-29 16:53:11 +02:00
committed by GitHub
parent 7ce14da0c8
commit 46ff069117
7 changed files with 316 additions and 36 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
void ndpi_flow_info_free_data(struct ndpi_flow_info *flow);
void ndpi_flow_info_freer(void *node);
const char* print_cipher_id(u_int32_t cipher);
float ndpi_flow_get_byte_count_entropy(const uint32_t byte_count[256], unsigned int num_bytes);
double ndpi_flow_get_byte_count_entropy(const uint32_t byte_count[256], unsigned int num_bytes);
extern int nDPI_LogLevel;