Removed some unused fields (#1461)

This commit is contained in:
Ivan Nardi 2022-02-28 15:03:49 +01:00 committed by GitHub
parent c390085f91
commit e193f3713d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 59 deletions

View file

@ -849,12 +849,9 @@ typedef struct ndpi_proto {
struct ndpi_detection_module_struct {
NDPI_PROTOCOL_BITMASK detection_bitmask;
NDPI_PROTOCOL_BITMASK generic_http_packet_bitmask;
uint32_t current_ts;
uint32_t ticks_per_second;
uint16_t num_tls_blocks_to_follow;
char custom_category_labels[NUM_CUSTOM_CATEGORIES][CUSTOM_CATEGORY_LABEL_LEN];
@ -881,8 +878,6 @@ struct ndpi_detection_module_struct {
/* misc parameters */
uint32_t tcp_max_retransmission_window_size;
uint32_t directconnect_connection_ip_tick_timeout;
/* subprotocol registration handler */
struct ndpi_subprotocol_conf_struct subprotocol_conf[250];
@ -903,20 +898,7 @@ struct ndpi_detection_module_struct {
/* IP-based protocol detection */
void *protocols_ptree;
/* irc parameters */
uint32_t irc_timeout;
/* gnutella parameters */
uint32_t gnutella_timeout;
/* rstp */
uint32_t jabber_stun_timeout;
uint32_t jabber_file_transfer_timeout;
uint8_t ip_version_limit;
/* NDPI_PROTOCOL_BITTORRENT */
struct hash_ip4p_table *bt_ht;
struct hash_ip4p_table *bt6_ht;
/* BT_ANNOUNCE */
struct bt_announce *bt_ann;
int bt_ann_len;
/* NDPI_PROTOCOL_OOKLA */
struct ndpi_lru_cache *ookla_cache;