]> git.ipfire.org Git - thirdparty/suricata.git/commit
Pass ThreadVars ptr to various thread init funcs
authorVictor Julien <victor@inliniac.net>
Tue, 21 Jan 2014 12:42:10 +0000 (13:42 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 21 Jan 2014 12:43:38 +0000 (13:43 +0100)
commit5f307acacec2cb4f2c015a2d79c82a0faebcb4ff
treebd01a4830f4e8ed1c35af9016a34659ea4add03e
parentb844d4315f95811e706cbe326d40af2b92d5a447
Pass ThreadVars ptr to various thread init funcs

To be able to register counters from AppLayerGetCtxThread, the
ThreadVars pointer needs to be available in it and thus in it's
callers:

- AppLayerGetCtxThread
- DecodeThreadVarsAlloc
- StreamTcpReassembleInitThreadCtx
20 files changed:
src/app-layer.c
src/app-layer.h
src/decode.c
src/decode.h
src/detect-app-layer-event.c
src/detect-fragbits.c
src/detect-replace.c
src/source-af-packet.c
src/source-erf-dag.c
src/source-erf-file.c
src/source-ipfw.c
src/source-napatech.c
src/source-nfq.c
src/source-pcap-file.c
src/source-pcap.c
src/source-pfring.c
src/stream-tcp-reassemble.c
src/stream-tcp-reassemble.h
src/stream-tcp-util.c
src/stream-tcp.c