mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Work on parameter estimation and serialization.
This commit is contained in:
parent
f529df33e0
commit
f708cd4a36
6 changed files with 198 additions and 22 deletions
|
@ -50,6 +50,9 @@ SERIAL_IS_BO(CASE, 0x1200)
|
|||
SERIAL_IS(LOCATION, 0x1300)
|
||||
SERIAL_IS(RE_MATCHER, 0x1400)
|
||||
SERIAL_IS(BITVECTOR, 0x1500)
|
||||
SERIAL_IS(COUNTERVECTOR, 0xa000)
|
||||
SERIAL_IS(BLOOMFILTER, 0xa100)
|
||||
SERIAL_IS(BASICBLOOMFILTER, 0xa200)
|
||||
|
||||
// These are the externally visible types.
|
||||
const SerialType SER_NONE = 0;
|
||||
|
@ -105,6 +108,7 @@ SERIAL_VAL(MD5_VAL, 16)
|
|||
SERIAL_VAL(SHA1_VAL, 17)
|
||||
SERIAL_VAL(SHA256_VAL, 18)
|
||||
SERIAL_VAL(ENTROPY_VAL, 19)
|
||||
SERIAL_VAL(BLOOMFILTER_VAL, 20)
|
||||
|
||||
#define SERIAL_EXPR(name, val) SERIAL_CONST(name, val, EXPR)
|
||||
SERIAL_EXPR(EXPR, 1)
|
||||
|
@ -204,5 +208,8 @@ SERIAL_CONST2(CASE)
|
|||
SERIAL_CONST2(LOCATION)
|
||||
SERIAL_CONST2(RE_MATCHER)
|
||||
SERIAL_CONST2(BITVECTOR)
|
||||
SERIAL_CONST2(COUNTERVECTOR)
|
||||
SERIAL_CONST2(BLOOMFILTER)
|
||||
SERIAL_CONST2(BASICBLOOMFILTER)
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue