aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_typedefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ndpi_typedefs.h')
-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;