config: remove ndpi_set_detection_preferences()
This commit is contained in:
@@ -1035,9 +1035,6 @@ extern "C" {
|
||||
int ndpi_get_custom_category_match(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
char *name_or_ip, u_int name_len,
|
||||
ndpi_protocol_category_t *id);
|
||||
int ndpi_set_detection_preferences(struct ndpi_detection_module_struct *ndpi_mod,
|
||||
ndpi_detection_preference pref,
|
||||
int value);
|
||||
|
||||
u_int16_t ndpi_map_user_proto_id_to_ndpi_id(struct ndpi_detection_module_struct *ndpi_str,
|
||||
u_int16_t user_proto_id);
|
||||
|
||||
@@ -148,6 +148,7 @@ typedef struct {
|
||||
|
||||
struct ndpi_detection_module_config_struct {
|
||||
int max_packets_to_process;
|
||||
int direction_detect_enabled;
|
||||
|
||||
char filename_config[CFG_MAX_LEN];
|
||||
|
||||
@@ -172,6 +173,7 @@ struct ndpi_detection_module_config_struct {
|
||||
|
||||
/* Protocols */
|
||||
|
||||
int tls_app_blocks_tracking_enabled;
|
||||
int tls_sha1_fingerprint_enabled;
|
||||
|
||||
int smtp_opportunistic_tls_enabled;
|
||||
|
||||
@@ -1071,11 +1071,6 @@ typedef enum {
|
||||
NDPI_PROTOCOL_ANY_CATEGORY /* Used to handle wildcards */
|
||||
} ndpi_protocol_category_t;
|
||||
|
||||
typedef enum {
|
||||
ndpi_pref_direction_detect_disable = 0,
|
||||
ndpi_pref_enable_tls_block_dissection, /* nDPI considers only those blocks past the certificate exchange */
|
||||
} ndpi_detection_preference;
|
||||
|
||||
/* ntop extensions */
|
||||
typedef struct ndpi_proto_defaults {
|
||||
char *protoName;
|
||||
|
||||
Reference in New Issue
Block a user