diff options
author | Luca Deri <deri@ntop.org> | 2017-01-31 15:04:24 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2017-01-31 15:04:24 +0100 |
commit | 8805d8523b6f2f22d4db0a1344439f36e5f3f9c2 (patch) | |
tree | 8ff2ff1bfb898889d5b2e56f1841fd6a85fb925a /src/include | |
parent | 0610ae2d21d08a1e13d42e672362fdd05c72f33a (diff) |
Optimized code to avoid multiple calls to ndpi_network_ptree_match()
HTTP-based subprotocols have not HTTP set as master_protocols
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_protocols.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ndpi_protocols.h b/src/include/ndpi_protocols.h index f34a12f13..edf4ca3dc 100644 --- a/src/include/ndpi_protocols.h +++ b/src/include/ndpi_protocols.h @@ -44,6 +44,7 @@ ndpi_port_range* ndpi_build_default_ports(ndpi_port_range *ports, /* TCP/UDP protocols */ u_int ndpi_search_tcp_or_udp_raw(struct ndpi_detection_module_struct *ndpi_struct, + struct ndpi_flow_struct *flow, u_int8_t protocol, u_int32_t saddr, u_int32_t daddr, u_int16_t sport, u_int16_t dport); |