]> git.ipfire.org Git - thirdparty/suricata.git/commit
decode: convert 'action' macros to inline funcs
authorVictor Julien <victor@inliniac.net>
Sat, 16 Nov 2019 18:20:31 +0000 (19:20 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 1 Sep 2021 06:33:52 +0000 (08:33 +0200)
commit4c7eb64411c9b7141a4d8e339982d657eb028bfc
tree2b5c0ad966d8ea7d904bb20e0b37401c922a1e39
parent2d1580233ec2833fa79db1d312a52763cae8a6a3
decode: convert 'action' macros to inline funcs

Make sure most common branch is handled first to assist branch
prediction.

Macros still play a small role to please our 'action' cocci check.
19 files changed:
src/alert-prelude.c
src/decode.c
src/decode.h
src/detect-detection-filter.c
src/detect-engine-alert.c
src/detect-iprep.c
src/detect-threshold.c
src/detect.c
src/output-json-alert.c
src/output-json-drop.c
src/respond-reject.c
src/source-af-packet.c
src/source-ipfw.c
src/source-napatech.c
src/source-netmap.c
src/source-nfq.c
src/source-windivert.c
src/tests/detect.c
src/util-threshold-config.c