Added ndpi_binary_bitmap datastruture

It is similar to ndpi_filter but based on binary search and with
the ability to store a category per value (as ndpi_domain_classify)
This commit is contained in:
Luca Deri
2023-08-31 23:51:50 +02:00
parent 19381f330a
commit 133f45f3f3
3 changed files with 27 additions and 2 deletions
+1 -2
View File
@@ -32,8 +32,6 @@
#include "ndpi_config.h"
#include "ndpi_api.h"
#include "ndpi_includes.h"
#include "ndpi_encryption.h"
typedef struct {
ndpi_bitmap *bitmap[NUM_DOMAIN_BITMAPS];
@@ -410,3 +408,4 @@ u_int16_t ndpi_domain_classify_contains(ndpi_domain_classify *_s,
return(0);
}