]> git.ipfire.org Git - thirdparty/suricata.git/commit
tcp reuse: enable stream handling based on runmode
authorVictor Julien <victor@inliniac.net>
Tue, 17 Feb 2015 09:34:53 +0000 (10:34 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 18 Feb 2015 08:18:43 +0000 (09:18 +0100)
commitc88cbb39fec66faef315c5968d0cacd8e309a780
tree374491e16e42304ce954ba3eba593c542ad37392
parenteaae008aeb68ac74468dad0fe473cf7cd04358ed
tcp reuse: enable stream handling based on runmode

Add a way for runmodes to state that flow and stream run asynchorously.

In the stream engine, enable the TCP reuse handling only if that flag
is set.
src/flow-hash.c
src/runmode-erf-file.c
src/runmode-pcap-file.c
src/stream-tcp.c
src/stream-tcp.h
src/util-runmodes.c
src/util-runmodes.h