diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-05-27 12:13:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-27 12:13:54 +0200 |
commit | b11e6a453b0b870957663d214d9f1a0fdf49af90 (patch) | |
tree | 10d021503c71160bac691bca7beeaaafeac5db92 /src/lib/ndpi_main.c | |
parent | 63ac50e4f43f60687cca2cc70da6622c09b35d0e (diff) |
Add support for Epic Games and GeForceNow/Nvidia (#1990)
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 4792c4edf..5b340aba1 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -107,6 +107,8 @@ #include "inc_generated/ndpi_asn_yandex_cloud.c.inc" #include "inc_generated/ndpi_asn_disney_plus.c.inc" #include "inc_generated/ndpi_asn_hulu.c.inc" +#include "inc_generated/ndpi_asn_epicgames.c.inc" +#include "inc_generated/ndpi_asn_nvidia.c.inc" /* Third party libraries */ #include "third_party/include/ndpi_patricia.h" @@ -2835,6 +2837,8 @@ struct ndpi_detection_module_struct *ndpi_init_detection_module(ndpi_init_prefs ndpi_init_ptree_ipv4(ndpi_str, ndpi_str->protocols_ptree, ndpi_protocol_yandex_cloud_protocol_list); ndpi_init_ptree_ipv4(ndpi_str, ndpi_str->protocols_ptree, ndpi_protocol_disneyplus_protocol_list); ndpi_init_ptree_ipv4(ndpi_str, ndpi_str->protocols_ptree, ndpi_protocol_hulu_protocol_list); + ndpi_init_ptree_ipv4(ndpi_str, ndpi_str->protocols_ptree, ndpi_protocol_epicgames_protocol_list); + ndpi_init_ptree_ipv4(ndpi_str, ndpi_str->protocols_ptree, ndpi_protocol_nvidia_protocol_list); } if(prefs & ndpi_track_flow_payload) @@ -4942,6 +4946,9 @@ static int ndpi_callback_init(struct ndpi_detection_module_struct *ndpi_str) { /* Heroes of the Storm */ init_hots_dissector(ndpi_str, &a); + /* EpicGames */ + init_epicgames_dissector(ndpi_str, &a); + #ifdef CUSTOM_NDPI_PROTOCOLS #include "../../../nDPI-custom/custom_ndpi_main_init.c" #endif |