Packet *p, Flow *f, uint8_t flags,
AppProto alproto, uint16_t alversion)
{
- SCMutexLock(&f->de_state_m);
-
DetectEngineAppInspectionEngine *engine = NULL;
SigMatch *sm = NULL;
uint16_t file_no_match = 0;
int match = 0;
uint8_t alert = 0;
- DetectEngineStateDirection *dir_state = &f->de_state->dir_state[flags & STREAM_TOSERVER ? 0 : 1];
- DeStateStore *store = dir_state->head;
void *inspect_tx = NULL;
uint64_t inspect_tx_id = 0;
uint64_t total_txs = 0;
* assume that we have an alert if engine == NULL */
uint8_t total_matches = 0;
+ SCMutexLock(&f->de_state_m);
+ DetectEngineStateDirection *dir_state = &f->de_state->dir_state[flags & STREAM_TOSERVER ? 0 : 1];
+ DeStateStore *store = dir_state->head;
+
DeStateResetFileInspection(f, alproto, alstate, flags);
if (AppLayerParserProtocolSupportsTxs(f->proto, alproto)) {