diff options
author | Luca Deri <deri@ntop.org> | 2019-03-08 15:59:26 +0000 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-03-08 15:59:26 +0000 |
commit | aaa686b9fe4887196d6295f746e9c67465907912 (patch) | |
tree | 77d78d1c131b9610e0738037a72fb33ea8a65060 /src/include/ndpi_api.h | |
parent | 03b0aa7185261f34dc60f1ac72ff142c5758f20d (diff) | |
parent | 59f683858b2b8f28e88b9348b75fef5164665964 (diff) |
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r-- | src/include/ndpi_api.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index e09c91c8e..386d306fd 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -740,8 +740,11 @@ extern "C" { char *name, ndpi_protocol_category_t category); int ndpi_enable_loaded_categories(struct ndpi_detection_module_struct *ndpi_struct); int ndpi_fill_ip_protocol_category(struct ndpi_detection_module_struct *ndpi_struct, - const struct ndpi_iphdr *iph, + u_int32_t saddr, + u_int32_t daddr, ndpi_protocol *ret); + int ndpi_match_custom_category(struct ndpi_detection_module_struct *ndpi_struct, + char *name, unsigned long *id); void ndpi_fill_protocol_category(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow, ndpi_protocol *ret); |