Home
last modified time | relevance | path

Searched refs:preprocOpt (Results 1 – 7 of 7) sorted by relevance

/dports/security/snort/snort-2.9.18/src/dynamic-plugins/
H A Dsp_dynamic.c541 PreprocessorOption *preprocOpt = (PreprocessorOption *)opt; in DynamicPreprocRuleOptInit() local
549 if (preprocOpt == NULL) in DynamicPreprocRuleOptInit()
552 if (preprocOpt->optionName == NULL) in DynamicPreprocRuleOptInit()
556 &preprocOpt->optionInit, in DynamicPreprocRuleOptInit()
557 &preprocOpt->optionEval, in DynamicPreprocRuleOptInit()
559 &preprocOpt->optionFpFunc, in DynamicPreprocRuleOptInit()
560 &preprocOpt->optionCleanup); in DynamicPreprocRuleOptInit()
564 optionInit = (PreprocOptionInit)preprocOpt->optionInit; in DynamicPreprocRuleOptInit()
566 option_name = SnortStrdup(preprocOpt->optionName); in DynamicPreprocRuleOptInit()
578 if (preprocOpt->optionParameters != NULL) in DynamicPreprocRuleOptInit()
[all …]
H A Dsf_convert_dynamic.c252 PreprocessorOption *preprocOpt = rule->options[index]->option_u.preprocOpt; in ConvertPreprocessorOption() local
257 preprocOptInfo->optionInit = preprocOpt->optionInit; in ConvertPreprocessorOption()
258 preprocOptInfo->optionEval = preprocOpt->optionEval; in ConvertPreprocessorOption()
259 preprocOptInfo->optionFpFunc = preprocOpt->optionFpFunc; in ConvertPreprocessorOption()
260 preprocOptInfo->data = preprocOpt->dataPtr; in ConvertPreprocessorOption()
/dports/security/snort/snort-2.9.18/src/dynamic-plugins/sf_engine/
H A Dsf_snort_detection_engine.c350 PreprocessorOption *preprocOpt = option->option_u.preprocOpt; in GetDynamicPreprocOptFpContents() local
352 if (preprocOpt->optionFpFunc != NULL) in GetDynamicPreprocOptFpContents()
356 if (preprocOpt->optionFpFunc(preprocOpt->dataPtr, in GetDynamicPreprocOptFpContents()
980 PreprocessorOption *preprocOpt = option->option_u.preprocOpt; in RegisterOneRule() local
982 if (_ded.preprocRuleOptInit(sc, (void *)preprocOpt) == -1) in RegisterOneRule()
1159 PreprocessorOption *preprocOpt = in FreeOneRule() local
1160 (PreprocessorOption *)option->option_u.preprocOpt; in FreeOneRule()
1162 if (preprocOpt->dataPtr && preprocOpt->optionCleanup) in FreeOneRule()
1164 preprocOpt->optionCleanup(preprocOpt->dataPtr); in FreeOneRule()
1165 preprocOpt->dataPtr = NULL; in FreeOneRule()
H A Dsf_snort_plugin_api.c624 ENGINE_LINKAGE int preprocOptionEval(void *p, PreprocessorOption *preprocOpt, const uint8_t **curso… in preprocOptionEval() argument
626 PreprocOptionEval evalFunc = (PreprocOptionEval)preprocOpt->optionEval; in preprocOptionEval()
627 if (preprocOpt->flags & NOT_FLAG) in preprocOptionEval()
628 return invertMatchResult(evalFunc(p, cursor, preprocOpt->dataPtr)); in preprocOptionEval()
629 return evalFunc(p, cursor, preprocOpt->dataPtr); in preprocOptionEval()
815 … retVal = preprocOptionEval(p, rule->options[optIndex]->option_u.preprocOpt, &thisCursor); in ruleMatchInternal()
H A Dsf_snort_plugin_api.h405 PreprocessorOption *preprocOpt; member
489 ENGINE_LINKAGE int preprocOptionEval(void *p, PreprocessorOption *preprocOpt, const uint8_t **curso…
/dports/security/snort/snort-2.9.18/src/dynamic-plugins/sf_engine/examples/
H A Drule_ftpbounce.c139 if (preprocOptionEval(p, rule_ftpbounce.options[2]->option_u.preprocOpt, &norm_cur)>0) in rule_ftpbounceEval()
/dports/security/snort/snort-2.9.18/doc/
H A Dsnort_manual.tex19180 PreprocessorOption *preprocOpt;
19670 \item {\em int preprocOptionEval(void *p, PreprocessorOption *preprocOpt, u\_int8\_t **cursor)}