aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_private.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-12-05 07:39:50 +0100
committerToni Uhlig <matzeton@googlemail.com>2023-12-13 19:10:49 +0100
commitd2103380c775c5d6715228301285f4786dd2a440 (patch)
tree63747aef9ada5faafdec2807a63f5d23034228e5 /src/lib/ndpi_private.h
parent193f28582bf19fc9b42c7ea2a0a07203c218c728 (diff)
Add Monero protocol classification.add/monero-protocol-dissector
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/ndpi_private.h')
-rw-r--r--src/lib/ndpi_private.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/ndpi_private.h b/src/lib/ndpi_private.h
index 9829ef0c3..a14cfcd2d 100644
--- a/src/lib/ndpi_private.h
+++ b/src/lib/ndpi_private.h
@@ -414,15 +414,16 @@ int search_into_bittorrent_cache(struct ndpi_detection_module_struct *ndpi_struc
struct ndpi_flow_struct *flow);
-/* Mining */
-u_int32_t make_mining_key(struct ndpi_flow_struct *flow);
-
/* Stun */
int stun_search_into_zoom_cache(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow);
/* TPKT */
int tpkt_verify_hdr(const struct ndpi_packet_struct * const packet);
+/* Mining Protocols (Ethereum, Monero, ...) */
+u_int32_t mining_make_lru_cache_key(struct ndpi_flow_struct *flow);
+
+
/* Protocols init */
void init_diameter_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_afp_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
@@ -472,6 +473,7 @@ void init_megaco_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_i
void init_mgcp_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_mining_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_mms_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
+void init_monero_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_nats_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_mpegts_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_mssql_tds_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);