detect.h (snort-2.9.16.1) | : | detect.h (snort-2.9.17) | ||
---|---|---|---|---|
skipping to change at line 108 | skipping to change at line 108 | |||
{ | { | |||
do_detect_content = 1; | do_detect_content = 1; | |||
} | } | |||
static inline void DisablePacketAnalysis( Packet *p ) | static inline void DisablePacketAnalysis( Packet *p ) | |||
{ | { | |||
DisableAllPreprocessors ( p ); | DisableAllPreprocessors ( p ); | |||
do_detect = do_detect_content = 0; | do_detect = do_detect_content = 0; | |||
} | } | |||
static inline void EnableContentPreprocDetection( Packet *p, PreprocEnableMask e | ||||
nabled_pps ) | ||||
{ | ||||
EnableContentDetect(); | ||||
EnablePreprocessors( p, enabled_pps ); | ||||
} | ||||
/* counter for number of times we evaluate rules. Used to | /* counter for number of times we evaluate rules. Used to | |||
* cache result of check for rule option tree nodes. */ | * cache result of check for rule option tree nodes. */ | |||
extern uint64_t rule_eval_pkt_count; | extern uint64_t rule_eval_pkt_count; | |||
#endif /* __DETECT_H__ */ | #endif /* __DETECT_H__ */ | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 7 lines changed or added |