aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.h
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 /example/reader_util.h
parent63f349319f00abd29af03ebefc969caf17fa65e9 (diff)
Added RTP stream type in flow metadata
Diffstat (limited to 'example/reader_util.h')
-rw-r--r--example/reader_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/reader_util.h b/example/reader_util.h
index 675b00bdf..3140a71bf 100644
--- a/example/reader_util.h
+++ b/example/reader_util.h
@@ -166,6 +166,7 @@ enum info_type {
INFO_TIVOCONNECT,
INFO_FTP_IMAP_POP_SMTP,
INFO_NATPMP,
+ INFO_RTP
};
// flow tracking
@@ -275,6 +276,10 @@ typedef struct ndpi_flow_info {
} ssh_tls;
struct {
+ enum ndpi_rtp_stream_type stream_type;
+ } rtp;
+
+ struct {
char url[256], request_content_type[64], content_type[64], user_agent[256], server[128];
u_int response_status_code;
} http;