]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/mpm: unify packet/stream mpm_ctx pointers
authorVictor Julien <victor@inliniac.net>
Mon, 26 Oct 2015 13:18:37 +0000 (14:18 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 5 Apr 2016 07:37:41 +0000 (09:37 +0200)
commit87f3adbe4c25a3047acf40670eba151af49cbd78
tree2c5e53adac91f6aa337ace5268e58394a0864b33
parent30755265ee4bbb424ce221e06dcb586ece0f8846
detect/mpm: unify packet/stream mpm_ctx pointers

SGH's for tcp and udp are now always only per proto and per direction.
This means we can simply reuse the packet and stream mpm pointers.

The SGH's for the other protocols already used a directionless catch
all mpm pointer.
src/detect-engine-mpm.c
src/detect-engine-payload.c
src/detect.h