XIAOMI: add detection of Xiaomi traffic (#1529)

Most of the credits should go to @utoni (see #1521)
This commit is contained in:
Ivan Nardi
2022-04-25 11:00:02 +02:00
committed by GitHub
parent ac0f50b561
commit 075bce5f3d
13 changed files with 170 additions and 12 deletions
+1
View File
@@ -224,6 +224,7 @@ void init_ethernet_ip_dissector(struct ndpi_detection_module_struct *ndpi_struct
void init_toca_boca_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask);
void init_sd_rtn_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask);
void init_raknet_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask);
void init_xiaomi_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask);
/* ndpi_main.c */
extern u_int32_t ndpi_ip_port_hash_funct(u_int32_t ip, u_int16_t port);