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_typestruct.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'python/ndpi_typestruct.py') diff --git a/python/ndpi_typestruct.py b/python/ndpi_typestruct.py index 2ba626bc8..7ff561d4e 100644 --- a/python/ndpi_typestruct.py +++ b/python/ndpi_typestruct.py @@ -227,9 +227,7 @@ class CustomCategories(Structure): NDPIDetectionModuleStruct._fields_ = [ ("detection_bitmask", NDPIProtocolBitMask), - ("generic_http_packet_bitmask", NDPIProtocolBitMask), ("current_ts", c_uint32), - ("ticks_per_second", c_uint32), ("custom_category_labels", (c_char * ndpi.ndpi_wrap_num_custom_categories()) * ndpi.ndpi_wrap_custom_category_label_len()), ("callback_buffer", NDPICallFunctionStruct * (ndpi.ndpi_wrap_ndpi_max_supported_protocols() + 1)), @@ -246,7 +244,6 @@ NDPIDetectionModuleStruct._fields_ = [ ("udpRoot", POINTER(NDPIDefaultsPortsTreeNodeT)), ("ndpi_log_level", c_uint), ("tcp_max_retransmission_window_size", c_uint32), - ("directconnect_connection_ip_tick_timeout", c_uint32), ("subprotocol_conf", NDPISubprotocolConfStruct * (ndpi.ndpi_wrap_ndpi_max_supported_protocols() + 1)), ("ndpi_num_supported_protocols", c_uint), ("ndpi_num_custom_protocols", c_uint), @@ -255,16 +252,7 @@ NDPIDetectionModuleStruct._fields_ = [ ("impossible_bigrams_automa", NDPIAutoma), ("custom_categories", CustomCategories), ("protocols_ptree", c_void_p), - ("irc_timeout", c_uint32), - ("gnutella_timeout", c_uint32), - ("zattoo_connection_timeout", c_uint32), - ("jabber_stun_timeout", c_uint32), - ("jabber_file_transfer_timeout", c_uint32), ("ip_version_limit", c_uint8), - ("bt_ht", POINTER(HashIp4pTable)), - ("bt6_ht", POINTER(HashIp4pTable)), - ("bt_ann", POINTER(BtAnnounce)), - ("bt_ann_len", c_int), ("ookla_cache", POINTER(NDPILruCache)), ("tinc_cache", POINTER(Cache)), ("proto_defaults", NDPIProtoDefaultsT * (ndpi.ndpi_wrap_ndpi_max_supported_protocols() + -- cgit v1.2.3