mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-04-30 16:09:43 +00:00
We use `registr_dissector()` instead of
`ndpi_set_bitmask_protocol_detection()`.
Every file in `src/lib/protocols/*.c` is a dissector.
Every dissector can handle multiple protocols.
The real goal is this small change:
```
struct call_function_struct {
- NDPI_PROTOCOL_BITMASK detection_bitmask;
```
i.e. getting rid of another protocol bitmask: this is mandatory to try
to fix #2136 (see also e845e8205b68752c997d05224d8b2fd45acde714)
As a nice side effect, we remove a bitmask comparison in the hot function
`check_ndpi_detection_func()`
TODO: change logging configuration from per-protocol to per-dissector
|
||
|---|---|---|
| .. | ||
| src | ||
| WpdPack | ||
| nDPI.sln | ||
| nDPI.vcxproj | ||
| nDPI.vcxproj.filters | ||
| packages.config | ||
| README.md | ||
Building on Windows
This directory contains windows-specific files. In particular:
- nDPI.vcxproj is a sample project for nDPI. Use it as starting point for compiling on Windows. Note that it might be outdated as new protocols are added to nDPI