aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h
diff options
context:
space:
mode:
authorZied Aouini <aouinizied@gmail.com>2020-02-21 15:49:46 +0100
committerZied Aouini <aouinizied@gmail.com>2020-02-21 15:49:46 +0100
commit5a0f60908671932b6a316f3894cbd6218e77e68c (patch)
treea354dbb698add93110cffb8c713689e486507553 /src/include/ndpi_api.h
parent2972e29097fdcd8f445b89469d968c4f1f414891 (diff)
Add ndpi_flow_tcp_struct and ndpi_flow_udp_struct api calls.
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r--src/include/ndpi_api.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index e52993243..d4e940bde 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -78,6 +78,25 @@ extern "C" {
*/
u_int32_t ndpi_detection_get_sizeof_ndpi_id_struct(void);
+
+ /**
+ * Get the size of the flow struct
+ *
+ * @return the size of the flow struct
+ *
+ */
+ u_int32_t ndpi_detection_get_sizeof_ndpi_flow_tcp_struct(void);
+
+
+ /**
+ * Get the size of the flow struct
+ *
+ * @return the size of the flow struct
+ *
+ */
+ u_int32_t ndpi_detection_get_sizeof_ndpi_flow_udp_struct(void);
+
+
/**
* nDPI personal allocation and free functions
**/