aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/tor.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-06-10 23:43:35 +0200
committerLuca Deri <deri@ntop.org>2020-06-10 23:43:35 +0200
commit60aaa80570b48b15c14c2a5133d9b73f7578b21a (patch)
tree9615961ce54a59adb3ed993f58d5f125a58380b4 /src/lib/protocols/tor.c
parent0b9e46e65a8be9b30de96ec2e9f6061e2b4034b8 (diff)
Added HyperLogLog cardinality estimator API calls
/* Memory lifecycle */ int ndpi_hll_init(struct ndpi_hll *hll, u_int8_t bits); void ndpi_hll_destroy(struct ndpi_hll *hll); /* Add values */ void ndpi_hll_add(struct ndpi_hll *hll, const char *data, size_t data_len); void ndpi_hll_add_number(struct ndpi_hll *hll, u_int32_t value) ; /* Get cardinality estimation */ double ndpi_hll_count(struct ndpi_hll *hll);
Diffstat (limited to 'src/lib/protocols/tor.c')
0 files changed, 0 insertions, 0 deletions