diff options
author | Luca Deri <deri@ntop.org> | 2019-09-02 14:00:18 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-09-02 14:00:18 +0200 |
commit | d0436e7b29698ffa0e3c855b258af7b89ea53e20 (patch) | |
tree | f16688c12e72ec36bc18464d3a7ec41ed17346ca /src/include/ndpi_api.h | |
parent | eb6afa17c0200487aeb3a7f3c391e3f77e2015ac (diff) |
Added new parameter to -P
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r-- | src/include/ndpi_api.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index 12387cd70..97ae56b86 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -906,7 +906,11 @@ extern "C" { float ndpi_data_entropy(struct ndpi_analyze_struct *s); float ndpi_data_variance(struct ndpi_analyze_struct *s); float ndpi_data_stddev(struct ndpi_analyze_struct *s); + u_int32_t ndpi_data_min(struct ndpi_analyze_struct *s); + u_int32_t ndpi_data_max(struct ndpi_analyze_struct *s); float ndpi_data_ratio(u_int32_t sent, u_int32_t rcvd); + + const char* ndpi_data_ratio2str(float ratio); void ndpi_data_print_window_values(struct ndpi_analyze_struct *s); /* debug */ |