aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_typedefs.h
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-11-29 17:13:00 +0100
committerGitHub <noreply@github.com>2023-11-29 17:13:00 +0100
commit3b35cb37d9b12d3fe3386e9d3f60ab46076d3fbc (patch)
tree3cf19bde0e542ee8bf7467a7d545ff8ebcb8fdab /src/include/ndpi_typedefs.h
parentac90b1f00910a33d9104d0470429bb8244a49cc9 (diff)
Keep separating public and private API (#2157)
See: b08c787fe
Diffstat (limited to 'src/include/ndpi_typedefs.h')
-rw-r--r--src/include/ndpi_typedefs.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 68e0365b4..3b29cb046 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -29,7 +29,6 @@ E * ndpi_typedefs.h
#include "ndpi_includes.h"
#endif
#include "ndpi_protocol_ids.h"
-#include "ndpi_utils.h"
/* Used by both nDPI core and patricia code under third-party */
#include "ndpi_patricia_typedefs.h"
@@ -235,11 +234,6 @@ typedef enum {
ndpi_leaf
} ndpi_VISIT;
-/* NDPI_NODE */
-typedef struct node_t {
- char *key;
- struct node_t *left, *right;
-} ndpi_node;
/* NDPI_MASK_SIZE */
typedef u_int32_t ndpi_ndpi_mask;
@@ -635,9 +629,6 @@ struct ndpi_flow_input_info {
unsigned char seen_flow_beginning;
};
-/* Save memory limiting the key to 56 bit */
-//#define SAVE_BINARY_BITMAP_MEMORY
-
PACK_ON
struct ndpi_binary_bitmap_entry {
#ifdef SAVE_BINARY_BITMAP_MEMORY
@@ -1503,16 +1494,6 @@ typedef struct {
} ndpi_protocol_match;
typedef struct {
- char *string_to_match;
- ndpi_protocol_category_t protocol_category;
-} ndpi_category_match;
-
-typedef struct {
- char *string_to_match;
- u_int16_t protocol_id;
-} ndpi_tls_cert_name_match;
-
-typedef struct {
u_int32_t network;
u_int8_t cidr;
u_int16_t value;