aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h
diff options
context:
space:
mode:
authorLuca <deri@ntop.org>2016-01-21 13:25:55 +0100
committerLuca <deri@ntop.org>2016-01-21 13:25:55 +0100
commitbc48b770de2afc7383e924eb5fb819ad6c4fcfa2 (patch)
treeeef2da6193f3d5975bd7b33efd4205ac47f83607 /src/include/ndpi_api.h
parent0f3222e48946ee20e6de22cbe744ff7a84198dae (diff)
Added ndpi_automa_match_string_subprotocol call
Fixed DNS dissector decoding bug
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r--src/include/ndpi_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index 86192c1fb..364fd0101 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -165,6 +165,8 @@ extern "C" {
u_int8_t proto, u_int32_t shost, u_int16_t sport, u_int32_t dhost, u_int16_t dport);
ndpi_protocol ndpi_guess_undetected_protocol(struct ndpi_detection_module_struct *ndpi_struct,
u_int8_t proto, u_int32_t shost, u_int16_t sport, u_int32_t dhost, u_int16_t dport);
+ int ndpi_match_string_subprotocol(struct ndpi_detection_module_struct *ndpi_struct,
+ char *string_to_match, u_int string_to_match_len);
int ndpi_match_host_subprotocol(struct ndpi_detection_module_struct *ndpi_struct,
struct ndpi_flow_struct *flow, char *string_to_match, u_int string_to_match_len,
u_int16_t master_protocol_id);