diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-06-21 09:16:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 09:16:20 +0200 |
commit | 3608ab01b61bde1b7ac88baa448fe37724a313db (patch) | |
tree | 6e3223c4908f82bf057c0d2477c2780baf9fc8b6 /src/include/ndpi_api.h | |
parent | 04be3080921507b69899d01bc79be86181e6f536 (diff) |
STUN: keep monitoring/processing STUN flows (#2012)
Look for RTP packets in the STUN sessions.
TODO: tell RTP from RTCP
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r-- | src/include/ndpi_api.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index b378dfb58..258c09ae8 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -1050,6 +1050,12 @@ extern "C" { u_int32_t ndpi_get_protocol_aggressiveness(struct ndpi_detection_module_struct *ndpi_struct, u_int16_t proto); + int ndpi_set_monitoring_state(struct ndpi_detection_module_struct *ndpi_struct, + u_int16_t proto, u_int32_t num_pkts, u_int32_t flags); + int ndpi_get_monitoring_state(struct ndpi_detection_module_struct *ndpi_struct, + u_int16_t proto, u_int32_t *num_pkts, u_int32_t *flags); + + /** * Find a protocol id associated with a string automata * |