From cd41ab7c8f4c5d20efff5c39a2f805277f6d8dc3 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Sun, 13 Nov 2022 22:35:46 +0100 Subject: Improve export/print of L4 protocol information (#1799) Close #1797 --- src/include/ndpi_api.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index 962f68d87..f570ceb3d 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -1100,6 +1100,8 @@ extern "C" { ndpi_protocol l7_protocol, ndpi_serializer *serializer); + char *ndpi_get_ip_proto_name(u_int16_t ip_proto, char *name, unsigned int name_len); + void ndpi_md5(const u_char *data, size_t data_len, u_char hash[16]); u_int32_t ndpi_quick_hash(unsigned char *str, u_int str_len); -- cgit v1.2.3