Added ndpi_get_proto_by_name() for mapping protocolIDs to protocol names

Added a new parameter to ndpi_guess_protocol_id() to indicate if the guessed protocol has been set by the user through a custom protocols file
This commit is contained in:
Luca Deri
2016-07-25 14:52:44 +02:00
parent 32e6a79e9c
commit da80bd8bb4
4 changed files with 144 additions and 93 deletions
+1
View File
@@ -29,6 +29,7 @@ ndpi_free_flow
ndpi_get_proto_breed
ndpi_get_proto_breed_name
ndpi_get_proto_by_id
ndpi_get_proto_by_name
ndpi_get_protocol_id_master_proto
ndpi_guess_protocol_id
ndpi_protocol2name