aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2022-12-09 14:26:53 +0100
committerLuca Deri <deri@ntop.org>2022-12-09 14:26:53 +0100
commitfc7b070030cc33029fc16a71ecd6bbe140bd105c (patch)
tree74b6cc36a68b8428b3eba724fc1d0d7a0cc99cfc /src/include
parent63f349319f00abd29af03ebefc969caf17fa65e9 (diff)
Added RTP stream type in flow metadata
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_typedefs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index fb996f9a5..8c73723b2 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -1278,6 +1278,13 @@ struct ndpi_risk_information {
char *info;
};
+enum ndpi_rtp_stream_type {
+ rtp_unknown = 0,
+ rtp_audio,
+ rtp_video,
+ rtp_audio_video,
+};
+
struct ndpi_flow_struct {
u_int16_t detected_protocol_stack[NDPI_PROTOCOL_SIZE];
@@ -1388,6 +1395,10 @@ struct ndpi_flow_struct {
} dns;
struct {
+ enum ndpi_rtp_stream_type stream_type;
+ } rtp;
+
+ struct {
u_int8_t request_code;
u_int8_t version;
} ntp;