nDPI/windows
Ivan Nardi 78f4b60efe
A new interface for dissectors registration (#2843)
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
2025-05-24 13:17:46 +02:00
..
src A new interface for dissectors registration (#2843) 2025-05-24 13:17:46 +02:00
WpdPack Fixed Mingw64 build, SonerCloud-CI and more. (#1273) 2021-08-18 11:34:16 +02:00
nDPI.sln Build ndpiReader and run regression tests. 2022-09-21 18:03:22 +02:00
nDPI.vcxproj Add MELSEC protocol support (#2846) 2025-05-23 11:13:52 +02:00
nDPI.vcxproj.filters Add MELSEC protocol support (#2846) 2025-05-23 11:13:52 +02:00
packages.config Build ndpiReader and run regression tests. 2022-09-21 18:03:22 +02:00
README.md Added sample Windows MSVC project 2020-09-20 18:44:57 +02:00

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