Merge RTP and RTCP logic (#2416)
Avoid code duplication between these two protocols. We remove support for RTCP over TCP; it is quite rare to find this kind of traffic and, more important, we have never had support for RTP over TCP: we should try to add both detecion as follow-up. Fix a message log in the LINE code
This commit is contained in:
@@ -668,6 +668,9 @@ int search_into_bittorrent_cache(struct ndpi_detection_module_struct *ndpi_struc
|
||||
|
||||
/* Stun */
|
||||
int stun_search_into_zoom_cache(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow);
|
||||
int is_stun(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
struct ndpi_flow_struct *flow,
|
||||
u_int16_t *app_proto);
|
||||
|
||||
/* TPKT */
|
||||
int tpkt_verify_hdr(const struct ndpi_packet_struct * const packet);
|
||||
|
||||
@@ -914,6 +914,9 @@ struct ndpi_flow_udp_struct {
|
||||
/* NDPI_PROTOCOL_RTP */
|
||||
u_int32_t rtp_stage:2;
|
||||
|
||||
/* NDPI_PROTOCOL_RTCP */
|
||||
u_int32_t rtcp_stage:2;
|
||||
|
||||
/* NDPI_PROTOCOL_QUIC */
|
||||
u_int32_t quic_0rtt_found:1;
|
||||
u_int32_t quic_vn_pair:1;
|
||||
|
||||
Reference in New Issue
Block a user