aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/postgres.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2025-06-16 14:04:56 +0200
committerGitHub <noreply@github.com>2025-06-16 14:04:56 +0200
commit57d529f74f7a53d62d62d2292ac5fed194e9e7d0 (patch)
tree651ad6ddd37f9749b0c2d21c8ebb70f905b40b78 /src/lib/protocols/postgres.c
parent28ae2e14d815ee957b2c2838a3a24461912a5bfb (diff)
No limits on the number of (custom) protocols (#2875)
The hard limit of total number of protocols (internal and custom) is ~65535, because protocol ids are `u_int16_t`... API changes: 1. From `NDPI_MAX_SUPPORTED_PROTOCOLS + NDPI_MAX_NUM_CUSTOM_PROTOCOLS` to `ndpi_get_num_protocols()` (after having called `ndpi_finalize_initialization()`); 2. From `proto_id >= NDPI_MAX_SUPPORTED_PROTOCOLS` to `ndpi_is_custom_protocol(proto_id)` (after having called `ndpi_finalize_initialization()`); Close #2136 Close #2545
Diffstat (limited to 'src/lib/protocols/postgres.c')
0 files changed, 0 insertions, 0 deletions