From e193f3713de57a738aae735101f20ff78bd23e8c Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Mon, 28 Feb 2022 15:03:49 +0100 Subject: Removed some unused fields (#1461) --- python/ndpi.py | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'python/ndpi.py') diff --git a/python/ndpi.py b/python/ndpi.py index 039f222ae..1d5d9447a 100644 --- a/python/ndpi.py +++ b/python/ndpi.py @@ -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; -- cgit v1.2.3