Moved global in reader_util.c
This commit is contained in:
@@ -76,7 +76,7 @@ u_int8_t enable_protocol_guess = 1, enable_payload_analyzer = 0, num_bin_cluster
|
|||||||
u_int8_t verbose = 0, enable_joy_stats = 0;
|
u_int8_t verbose = 0, enable_joy_stats = 0;
|
||||||
int nDPI_LogLevel = 0;
|
int nDPI_LogLevel = 0;
|
||||||
char *_debug_protocols = NULL;
|
char *_debug_protocols = NULL;
|
||||||
u_int8_t human_readeable_string_len = 5, enable_doh_dot_detection = 0;
|
u_int8_t human_readeable_string_len = 5;
|
||||||
u_int8_t max_num_udp_dissected_pkts = 16 /* 8 is enough for most protocols, Signal requires more */, max_num_tcp_dissected_pkts = 80 /* due to telnet */;
|
u_int8_t max_num_udp_dissected_pkts = 16 /* 8 is enough for most protocols, Signal requires more */, max_num_tcp_dissected_pkts = 80 /* due to telnet */;
|
||||||
static u_int32_t pcap_analysis_duration = (u_int32_t)-1;
|
static u_int32_t pcap_analysis_duration = (u_int32_t)-1;
|
||||||
static u_int16_t decode_tunnels = 0;
|
static u_int16_t decode_tunnels = 0;
|
||||||
@@ -94,6 +94,7 @@ static time_t capture_until = 0;
|
|||||||
static u_int32_t num_flows;
|
static u_int32_t num_flows;
|
||||||
static struct ndpi_detection_module_struct *ndpi_info_mod = NULL;
|
static struct ndpi_detection_module_struct *ndpi_info_mod = NULL;
|
||||||
|
|
||||||
|
extern u_int8_t enable_doh_dot_detection;
|
||||||
extern u_int32_t max_num_packets_per_flow, max_packet_payload_dissection, max_num_reported_top_payloads;
|
extern u_int32_t max_num_packets_per_flow, max_packet_payload_dissection, max_num_reported_top_payloads;
|
||||||
extern u_int16_t min_pattern_len, max_pattern_len;
|
extern u_int16_t min_pattern_len, max_pattern_len;
|
||||||
extern void ndpi_self_check_host_match(); /* Self check function */
|
extern void ndpi_self_check_host_match(); /* Self check function */
|
||||||
|
|||||||
@@ -86,9 +86,9 @@
|
|||||||
extern u_int8_t enable_protocol_guess, enable_joy_stats, enable_payload_analyzer;
|
extern u_int8_t enable_protocol_guess, enable_joy_stats, enable_payload_analyzer;
|
||||||
extern u_int8_t verbose, human_readeable_string_len;
|
extern u_int8_t verbose, human_readeable_string_len;
|
||||||
extern u_int8_t max_num_udp_dissected_pkts /* 8 */, max_num_tcp_dissected_pkts /* 10 */;
|
extern u_int8_t max_num_udp_dissected_pkts /* 8 */, max_num_tcp_dissected_pkts /* 10 */;
|
||||||
extern u_int8_t enable_doh_dot_detection;
|
|
||||||
static u_int32_t flow_id = 0;
|
static u_int32_t flow_id = 0;
|
||||||
|
|
||||||
|
u_int8_t enable_doh_dot_detection = 0;
|
||||||
/* ****************************************************** */
|
/* ****************************************************** */
|
||||||
|
|
||||||
struct flow_id_stats {
|
struct flow_id_stats {
|
||||||
|
|||||||
Reference in New Issue
Block a user