Added ndpi_bin_XXX API

Added packet lenght distribution bins
This commit is contained in:
Luca Deri
2020-06-22 01:02:54 +02:00
parent 2a137100da
commit 1a62f4c799
142 changed files with 4409 additions and 4189 deletions
+7
View File
@@ -1064,6 +1064,13 @@ extern "C" {
/* Get cardinality estimation */
double ndpi_hll_count(struct ndpi_hll *hll);
/* ******************************* */
int ndpi_init_bin(struct ndpi_bin *b, enum ndpi_bin_family f, u_int8_t num_bins);
void ndpi_free_bin(struct ndpi_bin *b);
void ndpi_inc_bin(struct ndpi_bin *b, u_int8_t slot_id);
void ndpi_normalize_bin(struct ndpi_bin *b);
#ifdef __cplusplus
}