nDPI
4.1
User's Guide
What is nDPI
Developer's Guide
Library API
Class Hierarchy
File Hierarchy
Full API
Classes and Structs
Enums
Unions
Functions
Function ndpi_add_host_risk_mask
Function ndpi_add_ip_risk_mask
Function ndpi_add_string_to_automa
Function ndpi_add_string_value_to_automa
Function ndpi_add_trusted_issuer_dn
Function ndpi_alloc_data_analysis
Function ndpi_alloc_data_analysis_from_series
Function ndpi_alloc_rsi
Function ndpi_automa_get_stats
Function ndpi_base64_decode
Function ndpi_base64_encode
Function ndpi_bin_similarity
Function ndpi_binary_bitmap_alloc
Function ndpi_binary_bitmap_cardinality
Function ndpi_binary_bitmap_compress
Function ndpi_binary_bitmap_free
Function ndpi_binary_bitmap_isset
Function ndpi_binary_bitmap_set
Function ndpi_binary_bitmap_size
Function ndpi_bitmap64_fuse_alloc
Function ndpi_bitmap64_fuse_compress
Function ndpi_bitmap64_fuse_free
Function ndpi_bitmap64_fuse_isset
Function ndpi_bitmap64_fuse_set
Function ndpi_bitmap64_fuse_size
Function ndpi_bitmap_alloc
Function ndpi_bitmap_and
Function ndpi_bitmap_and_alloc
Function ndpi_bitmap_andnot
Function ndpi_bitmap_cardinality
Function ndpi_bitmap_copy
Function ndpi_bitmap_deserialize
Function ndpi_bitmap_free
Function ndpi_bitmap_is_empty
Function ndpi_bitmap_isset
Function ndpi_bitmap_iterator_alloc
Function ndpi_bitmap_iterator_free
Function ndpi_bitmap_iterator_next
Function ndpi_bitmap_optimize
Function ndpi_bitmap_or
Function ndpi_bitmap_ot_alloc
Function ndpi_bitmap_serialize
Function ndpi_bitmap_set
Function ndpi_bitmap_unset
Function ndpi_bitmap_xor
Function NDPI_BITMASK_COMPARE
Function ndpi_bytestream_dec_or_hex_to_number64
Function ndpi_bytestream_to_ipv4
Function ndpi_bytestream_to_number
Function ndpi_bytestream_to_number64
Function ndpi_calloc
Function ndpi_category_get_name
Function ndpi_category_set_name
Function ndpi_check_dga_name
Function ndpi_check_flow_risk_exceptions
Function ndpi_check_issuerdn_risk_exception
Function ndpi_check_punycode_string
Function ndpi_check_subprotocol_risk
Function ndpi_cipher2str
Function ndpi_classify
Function ndpi_clone_bin
Function ndpi_cluster_bins
Function ndpi_cm_sketch_add
Function ndpi_cm_sketch_count
Function ndpi_cm_sketch_destroy
Function ndpi_cm_sketch_init
Function ndpi_compress_str
Function ndpi_confidence_get_name
Function ndpi_crc16_ccit
Function ndpi_crc16_ccit_false
Function ndpi_crc16_x25
Function ndpi_crc16_xmodem
Function ndpi_crc32
Function ndpi_data_add_value
Function ndpi_data_average
Function ndpi_data_entropy
Function ndpi_data_last
Function ndpi_data_max
Function ndpi_data_mean
Function ndpi_data_min
Function ndpi_data_print_window_values
Function ndpi_data_ratio
Function ndpi_data_ratio2str
Function ndpi_data_stddev
Function ndpi_data_variance
Function ndpi_data_window_average
Function ndpi_data_window_stddev
Function ndpi_data_window_variance
Function ndpi_debug_printf
Function ndpi_decompress_str
Function ndpi_des_add_value
Function ndpi_des_fitting
Function ndpi_des_init
Function ndpi_des_reset
Function ndpi_deserialize_clone_all
Function ndpi_deserialize_clone_item
Function ndpi_deserialize_get_format
Function ndpi_deserialize_get_item_type
Function ndpi_deserialize_key_string
Function ndpi_deserialize_key_uint32
Function ndpi_deserialize_next
Function ndpi_deserialize_value_double
Function ndpi_deserialize_value_float
Function ndpi_deserialize_value_int32
Function ndpi_deserialize_value_int64
Function ndpi_deserialize_value_string
Function ndpi_deserialize_value_uint32
Function ndpi_deserialize_value_uint64
Function ndpi_detection_get_l4
Function ndpi_detection_get_sizeof_ndpi_flow_struct
Function ndpi_detection_get_sizeof_ndpi_flow_tcp_struct
Function ndpi_detection_get_sizeof_ndpi_flow_udp_struct
Function ndpi_detection_giveup
Function ndpi_detection_process_packet
Function ndpi_domain_classify_add
Function ndpi_domain_classify_add_domains
Function ndpi_domain_classify_alloc
Function ndpi_domain_classify_free
Function ndpi_domain_classify_hostname
Function ndpi_domain_classify_size
Function ndpi_dpi2json
Function ndpi_dump_config
Function ndpi_dump_protocols
Function ndpi_dump_risks_score
Function ndpi_enable_loaded_categories
Function ndpi_encode_domain
Function ndpi_entropy
Function ndpi_entropy2risk
Function ndpi_entropy2str
Function ndpi_exclude_protocol
Function ndpi_exit_detection_module
Function ndpi_extra_dissection_possible
Function ndpi_fill_ip_protocol_category
Function ndpi_fill_ipv6_protocol_category
Function ndpi_fill_prefix_mac
Function ndpi_fill_prefix_v4
Function ndpi_fill_prefix_v6
Function ndpi_fill_protocol_category
Function ndpi_filter_add
Function ndpi_filter_add_string
Function ndpi_filter_alloc
Function ndpi_filter_cardinality
Function ndpi_filter_contains
Function ndpi_filter_contains_string
Function ndpi_filter_free
Function ndpi_filter_size
Function ndpi_finalize_automa
Function ndpi_finalize_initialization
Function ndpi_find_ipv4_category_userdata
Function ndpi_find_ipv6_category_userdata
Function ndpi_find_outliers
Function ndpi_find_port_based_protocol
Function ndpi_flow2json
Function ndpi_flow_free
Function ndpi_flow_info_freer
Function ndpi_flow_malloc
Function ndpi_flowv4_flow_hash
Function ndpi_flowv6_flow_hash
Function ndpi_fpc_confidence_get_name
Function ndpi_free
Function ndpi_free_automa
Function ndpi_free_bin
Function ndpi_free_data_analysis
Function ndpi_free_flow
Function ndpi_free_flow_data
Function ndpi_free_geoip
Function ndpi_free_rsi
Function ndpi_generate_options
Function ndpi_get_api_version
Function ndpi_get_automa_stats
Function ndpi_get_bin_value
Function ndpi_get_category_id
Function ndpi_get_config
Function ndpi_get_current_time
Function ndpi_get_custom_category_match
Function ndpi_get_flow_appprotocol
Function ndpi_get_flow_category
Function ndpi_get_flow_error_code
Function ndpi_get_flow_info
Function ndpi_get_flow_masterprotocol
Function ndpi_get_flow_name
Function ndpi_get_flow_ndpi_proto
Function ndpi_get_flow_risk_info
Function ndpi_get_gcrypt_version
Function ndpi_get_geoip_asn
Function ndpi_get_geoip_country_continent
Function ndpi_get_host_domain
Function ndpi_get_host_domain_suffix
Function ndpi_get_http_content_type
Function ndpi_get_http_method
Function ndpi_get_http_url
Function ndpi_get_ip_proto_name
Function ndpi_get_ip_string
Function ndpi_get_l4_proto_info
Function ndpi_get_l4_proto_name
Function ndpi_get_lower_proto
Function ndpi_get_lru_cache_stats
Function ndpi_get_ndpi_detection_module_size
Function ndpi_get_ndpi_num_custom_protocols
Function ndpi_get_ndpi_num_supported_protocols
Function ndpi_get_num_supported_protocols
Function ndpi_get_patricia_stats
Function ndpi_get_proto_breed
Function ndpi_get_proto_breed_name
Function ndpi_get_proto_by_id
Function ndpi_get_proto_by_name
Function ndpi_get_proto_category
Function ndpi_get_proto_defaults
Function ndpi_get_proto_name
Function ndpi_get_protocol_id
Function ndpi_get_tot_allocated_memory
Function ndpi_get_upper_proto
Function ndpi_get_user_data
Function ndpi_global_deinit
Function ndpi_global_init
Function ndpi_gmtime_r
Function ndpi_guess_host_protocol_id
Function ndpi_guess_undetected_protocol
Function ndpi_guess_undetected_protocol_v4
Function ndpi_handle_ipv6_extension_headers
Function ndpi_handle_risk_exceptions
Function ndpi_has_human_readeable_string
Function ndpi_hash_add_entry
Function ndpi_hash_find_entry
Function ndpi_hash_free
Function ndpi_hash_init
Function ndpi_hash_string
Function ndpi_hash_string_len
Function ndpi_hll_add
Function ndpi_hll_add_number
Function ndpi_hll_count
Function ndpi_hll_destroy
Function ndpi_hll_init
Function ndpi_hll_reset
Function ndpi_htonll
Function ndpi_http_method2str
Function ndpi_http_str2method
Function ndpi_hw_add_value
Function ndpi_hw_free
Function ndpi_hw_init
Function ndpi_hw_reset
Function ndpi_inc_bin
Function ndpi_init_app_protocol
Function ndpi_init_automa
Function ndpi_init_automa_domain
Function ndpi_init_bin
Function ndpi_init_data_analysis
Function ndpi_init_deserializer
Function ndpi_init_deserializer_buf
Function ndpi_init_detection_module
Function ndpi_init_empty_app_protocol
Function ndpi_init_protocol_match
Function ndpi_init_serializer
Function ndpi_init_serializer_ll
Function ndpi_is_custom_category
Function ndpi_is_encrypted_proto
Function ndpi_is_ipv6
Function ndpi_is_outlier
Function ndpi_is_printable_buffer
Function ndpi_is_proto
Function ndpi_is_protocol_detected
Function ndpi_is_safe_ssl_cipher
Function ndpi_is_subprotocol_informative
Function ndpi_is_tls_tor
Function ndpi_is_valid_hostname
Function ndpi_is_valid_protoId
Function ndpi_isset_risk
Function ndpi_jitter_add_value
Function ndpi_jitter_free
Function ndpi_jitter_init
Function ndpi_json_string_escape
Function ndpi_load_categories_dir
Function ndpi_load_categories_file
Function ndpi_load_category
Function ndpi_load_category_file
Function ndpi_load_domain_suffixes
Function ndpi_load_geoip
Function ndpi_load_hostname_category
Function ndpi_load_ip_category
Function ndpi_load_ipv4_ptree
Function ndpi_load_malicious_ja3_file
Function ndpi_load_malicious_sha1_file
Function ndpi_load_protocols_file
Function ndpi_load_ptree_file
Function ndpi_load_risk_domain_file
Function ndpi_log_timestamp
Function ndpi_lru_add_to_cache
Function ndpi_lru_cache_idx_to_name
Function ndpi_lru_cache_init
Function ndpi_lru_find_cache
Function ndpi_lru_free_cache
Function ndpi_lru_get_stats
Function ndpi_malloc
Function ndpi_map_ndpi_id_to_user_proto_id
Function ndpi_map_user_proto_id_to_ndpi_id
Function ndpi_match_bigram
Function ndpi_match_custom_category
Function ndpi_match_host_subprotocol
Function ndpi_match_hostname_protocol
Function ndpi_match_prefix
Function ndpi_match_string
Function ndpi_match_string_protocol_id
Function ndpi_match_string_subprotocol
Function ndpi_match_string_value
Function ndpi_md5
Function ndpi_memmem
Function ndpi_merge_splt_arrays
Function ndpi_murmur_hash
Function ndpi_nearest_power_of_two
Function ndpi_netbios_name_interpret
Function ndpi_network_port_ptree6_match
Function ndpi_network_port_ptree_match
Function ndpi_network_ptree_match
Function ndpi_normalize_bin
Function ndpi_normalize_printable_string
Function ndpi_ntohll
Function ndpi_parse_ip_string
Function ndpi_patchIPv6Address
Function ndpi_patricia_clone
Function ndpi_patricia_destroy
Function ndpi_patricia_get_maxbits
Function ndpi_patricia_get_node_bits
Function ndpi_patricia_get_node_data
Function ndpi_patricia_get_node_prefix
Function ndpi_patricia_get_node_u64
Function ndpi_patricia_get_stats
Function ndpi_patricia_lookup
Function ndpi_patricia_new
Function ndpi_patricia_process
Function ndpi_patricia_remove
Function ndpi_patricia_search_best
Function ndpi_patricia_search_exact
Function ndpi_patricia_set_node_data
Function ndpi_patricia_set_node_u64
Function ndpi_patricia_walk_inorder
Function ndpi_patricia_walk_tree_inorder
Function ndpi_pearson_correlation
Function ndpi_popcount_count
Function ndpi_popcount_init
Function ndpi_predict_linear
Function ndpi_print_bin
Function ndpi_process_extra_packet
Function ndpi_protocol2id
Function ndpi_protocol2name
Function ndpi_ptree_create
Function ndpi_ptree_destroy
Function ndpi_ptree_insert
Function ndpi_ptree_match_addr
Function ndpi_quic_version2str
Function ndpi_quick_16_byte_hash
Function ndpi_quick_hash
Function ndpi_quick_hash64
Function ndpi_realloc
Function ndpi_reset_bin
Function ndpi_reset_data_analysis
Function ndpi_reset_serializer
Function ndpi_rev_hash_string
Function ndpi_revision
Function ndpi_risk2score
Function ndpi_risk2severity
Function ndpi_risk2str
Function ndpi_rsi_add_value
Function ndpi_search_tcp_or_udp
Function ndpi_self_check_host_match
Function ndpi_serialize_binary_binary
Function ndpi_serialize_binary_boolean
Function ndpi_serialize_binary_double
Function ndpi_serialize_binary_float
Function ndpi_serialize_binary_int32
Function ndpi_serialize_binary_int64
Function ndpi_serialize_binary_uint32
Function ndpi_serialize_binary_uint64
Function ndpi_serialize_confidence
Function ndpi_serialize_end_of_block
Function ndpi_serialize_end_of_list
Function ndpi_serialize_end_of_record
Function ndpi_serialize_proto
Function ndpi_serialize_raw_record
Function ndpi_serialize_risk
Function ndpi_serialize_risk_score
Function ndpi_serialize_start_of_block
Function ndpi_serialize_start_of_block_binary
Function ndpi_serialize_start_of_block_uint32
Function ndpi_serialize_start_of_list
Function ndpi_serialize_start_of_list_binary
Function ndpi_serialize_string_binary
Function ndpi_serialize_string_boolean
Function ndpi_serialize_string_double
Function ndpi_serialize_string_float
Function ndpi_serialize_string_int32
Function ndpi_serialize_string_int64
Function ndpi_serialize_string_raw
Function ndpi_serialize_string_string
Function ndpi_serialize_string_string_len
Function ndpi_serialize_string_uint32
Function ndpi_serialize_string_uint32_format
Function ndpi_serialize_string_uint64
Function ndpi_serialize_uint32_binary
Function ndpi_serialize_uint32_boolean
Function ndpi_serialize_uint32_double
Function ndpi_serialize_uint32_float
Function ndpi_serialize_uint32_int32
Function ndpi_serialize_uint32_int64
Function ndpi_serialize_uint32_string
Function ndpi_serialize_uint32_uint32
Function ndpi_serialize_uint32_uint64
Function ndpi_serializer_create_snapshot
Function ndpi_serializer_get_buffer
Function ndpi_serializer_get_buffer_len
Function ndpi_serializer_get_format
Function ndpi_serializer_get_header
Function ndpi_serializer_get_internal_buffer_size
Function ndpi_serializer_rollback_snapshot
Function ndpi_serializer_set_buffer_len
Function ndpi_serializer_set_csv_separator
Function ndpi_serializer_skip_header
Function ndpi_ses_add_value
Function ndpi_ses_fitting
Function ndpi_ses_init
Function ndpi_ses_reset
Function ndpi_set_automa
Function ndpi_set_bin
Function ndpi_set_bitmask_protocol_detection
Function ndpi_set_config
Function ndpi_set_config_u64
Function ndpi_set_proto_breed
Function ndpi_set_proto_category
Function ndpi_set_proto_defaults
Function ndpi_set_proto_subprotocols
Function ndpi_set_protocol_detection_bitmask2
Function ndpi_set_risk
Function ndpi_set_user_data
Function ndpi_severity2str
Function ndpi_sha256
Function ndpi_snprintf
Function ndpi_ssl_version2str
Function ndpi_strdup
Function ndpi_string_sha1_hash
Function ndpi_strlcpy
Function ndpi_strncasestr
Function ndpi_strnstr
Function ndpi_strtonum
Function ndpi_tdelete
Function ndpi_tdestroy
Function ndpi_term_serializer
Function ndpi_tfind
Function ndpi_timer_clear
Function ndpi_timer_eq
Function ndpi_timer_lt
Function ndpi_timer_sub
Function ndpi_timeval_to_microseconds
Function ndpi_timeval_to_milliseconds
Function ndpi_tsearch
Function ndpi_tunnel2str
Function ndpi_twalk
Function ndpi_unset_risk
Function ndpi_update_params
Function ndpi_user_pwd_payload_copy
Function ndpi_validate_url
Function ndpi_vsnprintf
Function ntohs_ndpi_bytestream_to_number
Function set_ndpi_debug_function
Function set_ndpi_flow_free
Function set_ndpi_flow_malloc
Function set_ndpi_free
Function set_ndpi_malloc
Function strsep
Variables
Defines
Typedefs
nDPI Protocols List
nDPI Flow Risks
Other Products
ntopng
nProbe
nProbe Cento
n2disk
PF_RING
nEdge
nScrub
nBox
nTap
nDPI
Docs
»
Library API
»
Function ndpi_filter_alloc
View page source
Function ndpi_filter_alloc
¶
Defined in
File ndpi_api.h
Function Documentation
¶
ndpi_filter
*
ndpi_filter_alloc
(
void
)
¶