mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
No description
![]() When constructing a Bloom filter, one now has to pass a HashPolicy instance to it. This separates more clearly the concerns of hashing and Bloom filter management. This commit also changes the interface to initialize Bloom filters: there exist now two initialization functions, one for each type: (1) bloomfilter_basic_init(fp: double, capacity: count, name: string &default=""): opaque of bloomfilter (2) bloomfilter_counting_init(k: count, cells: count, max: count, name: string &default=""): opaque of bloomfilter The BiFs for adding elements and performing lookups remain the same. This essentially gives us "BiF polymorphism" at script land, where the initialization BiF constructs the most derived type while subsequent BiFs adhere to the same interface. The reason why we split up the constructor in this case is that we have not yet derived the math that computes the optimal number of hash functions for counting Bloom filters---users have to explicitly parameterize them for now. |
||
---|---|---|
aux | ||
cmake@0187b33a29 | ||
doc | ||
magic | ||
pkg | ||
scripts | ||
src | ||
testing | ||
.gitignore | ||
.gitmodules | ||
bro-path-dev.in | ||
CHANGES | ||
CMakeLists.txt | ||
config.h.in | ||
configure | ||
COPYING | ||
INSTALL | ||
Makefile | ||
NEWS | ||
README | ||
VERSION |
============================ Bro Network Security Monitor ============================ Bro is a powerful framework for network analysis and security monitoring. Please see the INSTALL file for installation instructions and pointers for getting started. NEWS contains release notes for the current version, and CHANGES has the complete history of changes. Please see COPYING for licensing information. For more documentation, research publications, and community contact information, please see Bro's home page: http://www.bro.org On behalf of the Bro Development Team, Vern Paxson & Robin Sommer, International Computer Science Institute & Lawrence Berkeley National Laboratory vern@icir.org / robin@icir.org