diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-06-26 12:05:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-26 12:05:16 +0200 |
commit | 88425e0199dc85f95b05ffb244c6ecc048dab853 (patch) | |
tree | a5fc230cd6d1dbc18563d4e37e4b642565228230 /src/include | |
parent | 3a1600ff26d02a3440186a6e8355521086a7e11f (diff) |
Simplify the report of streaming multimedia info (#2026)
The two fields `flow->flow_type` and `flow->protos.rtp.stream_type` are
pretty much identical: rename the former in `flow->flow_multimedia_type`
and remove the latter.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_typedefs.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 98e17cb15..7f6e34b2c 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -1363,14 +1363,6 @@ struct ndpi_risk_information { char *info; }; -enum ndpi_rtp_stream_type { - rtp_unknown = 0, - rtp_audio, - rtp_video, - rtp_audio_video, - rtp_screen_share -}; - struct ndpi_flow_struct { u_int16_t detected_protocol_stack[NDPI_PROTOCOL_SIZE]; @@ -1453,7 +1445,7 @@ struct ndpi_flow_struct { char *nat_ip; /* Via HTTP X-Forwarded-For */ } http; - ndpi_multimedia_flow_type flow_type; + ndpi_multimedia_flow_type flow_multimedia_type; /* Put outside of the union to avoid issues in case the protocol @@ -1485,10 +1477,6 @@ 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; |