diff options
Diffstat (limited to 'src/include/ndpi_api.h.in')
-rw-r--r-- | src/include/ndpi_api.h.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h.in b/src/include/ndpi_api.h.in index 9ad9bd7c2..c350159f0 100644 --- a/src/include/ndpi_api.h.in +++ b/src/include/ndpi_api.h.in @@ -99,6 +99,15 @@ extern "C" { u_int match_len, u_int32_t *num); /** + * Return the protocol error code of a given flow + * + * @par flow = the flow to analyze + * @return the error code or 0 otherwise + * + */ + u_int32_t ndpi_get_flow_error_code(struct ndpi_flow_struct *flow); + + /** * nDPI personal allocation and free functions **/ void * ndpi_malloc(size_t size); |