]> git.ipfire.org Git - thirdparty/suricata.git/commit
app-layer: make number of alprotos dynamic
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 11 Nov 2024 06:26:11 +0000 (07:26 +0100)
committerPhilippe Antoine <pantoine@oisf.net>
Mon, 13 Jan 2025 12:35:13 +0000 (13:35 +0100)
commitae1a4ef757583e4307d3322130f893db4b716a59
treea980eb5b01178786203cf989b3ee7b5a522a336c
parente6be049c5dc2859a833fc21321bc7bfd15be2904
app-layer: make number of alprotos dynamic

Ticket: 5053

The names are now dynamically registered at runtime.
The AppProto alproto enum identifiers are still static for now.

This is the final step before app-layer plugins.
17 files changed:
scripts/setup-app-layer.py
src/app-layer-detect-proto.c
src/app-layer-frames.c
src/app-layer-parser.c
src/app-layer-protos.c
src/app-layer-protos.h
src/app-layer.c
src/detect-engine-build.c
src/detect-engine-mpm.c
src/detect-engine-prefilter.c
src/detect-file-data.c
src/output-tx.c
src/output.c
src/runmodes.c
src/tests/fuzz/fuzz_applayerparserparse.c
src/util-profiling.c
src/util-profiling.h