Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

fpcreate.h File Reference

#include "rules.h"
#include "parser.h"
#include "pcrm.h"

Go to the source code of this file.

Defines

#define INLINE   inline

Typedefs

typedef _otnx_ OTNX
typedef _pmx_ PMX
typedef _FPDETECT FPDETECT

Functions

int fpInitDetectionEngine ()
int fpCreateFastPacketDetection ()
int prmFindRuleGroupTcp (int dport, int sport, PORT_GROUP **src, PORT_GROUP **dst, PORT_GROUP **gen)
int prmFindRuleGroupUdp (int dport, int sport, PORT_GROUP **src, PORT_GROUP **dst, PORT_GROUP **gen)
int prmFindRuleGroupIp (int ip_proto, PORT_GROUP **ip_group, PORT_GROUP **gen)
int prmFindRuleGroupIcmp (int type, PORT_GROUP **type_group, PORT_GROUP **gen)
int fpSetDetectSearchMethod (char *method)
int fpSetDebugMode ()
int fpSetStreamInsert ()
int fpSetMaxQueueEvents (int iNum)
int fpShowEventStats ()


Define Documentation

#define INLINE   inline
 

Definition at line 42 of file fpcreate.h.


Typedef Documentation

typedef struct _FPDETECT FPDETECT
 

typedef struct _otnx_ OTNX
 

typedef struct _pmx_ PMX
 


Function Documentation

int fpCreateFastPacketDetection  ) 
 

Definition at line 689 of file fpcreate.c.

References ANY_DST_PORT, ANY_SRC_PORT, BIDIRECTIONAL, BuildMultiPatternGroups(), CheckPorts(), _IpProtoData::comparison_flag, _otnx_::content_length, _FPDETECT::debug, _RuleTreeNode::down, _OptTreeNode::ds_list, _RuleTreeNode::flags, GREATER_THAN, _RuleTreeNode::hdp, _RuleTreeNode::hsp, _IcmpTypeCheckData::icmp_type, ICMP_TYPE_TEST_EQ, _ListHead::IcmpList, _ListHead::IpList, _RuleTreeNode::ldp, LESS_THAN, _RuleTreeNode::lsp, MEMASSERT, _SigInfo::message, _OptTreeNode::next, _RuleListNode::next, _RuleTreeNode::not_dp_flag, _IpProtoData::not_flag, _RuleTreeNode::not_sp_flag, NULL, _IcmpTypeCheckData::operator, _otnx_::otn, OtnHasContent(), OtnHasUriContent(), PLUGIN_ICMP_TYPE, PLUGIN_IP_PROTO_CHECK, prmAddRule(), prmAddRuleNC(), prmAddRuleUri(), prmCompileGroups(), prmNewMap(), prmShowStats(), _IpProtoData::protocol, _RuleTreeNode::right, _otnx_::rtn, _RuleListNode::RuleList, RuleLists, _OptTreeNode::sigInfo, _ListHead::TcpList, and _ListHead::UdpList.

Referenced by SnortMain().

int fpInitDetectionEngine  ) 
 

Definition at line 180 of file fpcreate.c.

References fpSetDetectionOptions(), memset, and MPSE_MWM.

Referenced by SnortMain().

int fpSetDebugMode  ) 
 

Definition at line 259 of file fpcreate.c.

References _FPDETECT::debug.

Referenced by ProcessDetectionOptions().

int fpSetDetectSearchMethod char *  method  ) 
 

Definition at line 205 of file fpcreate.c.

References LogMessage(), MPSE_AC, MPSE_ACB, MPSE_ACF, MPSE_ACS, MPSE_ACSB, MPSE_LOWMEM, MPSE_MWM, _FPDETECT::search_method, and strcasecmp.

Referenced by ProcessDetectionOptions().

int fpSetMaxQueueEvents int  iNum  ) 
 

Definition at line 279 of file fpcreate.c.

References _FPDETECT::max_queue_events.

Referenced by ProcessDetectionOptions().

int fpSetStreamInsert  ) 
 

Definition at line 269 of file fpcreate.c.

References _FPDETECT::inspect_stream_insert.

Referenced by ProcessDetectionOptions().

int fpShowEventStats  ) 
 

Definition at line 1113 of file fpcreate.c.

References _FPDETECT::debug, and prmShowEventStats().

Referenced by CleanExit(), and Restart().

int prmFindRuleGroupIcmp int  type,
PORT_GROUP **  type_group,
PORT_GROUP **  gen
 

Definition at line 89 of file fpcreate.c.

References prmFindRuleGroup().

Referenced by fpEvalHeaderIcmp().

int prmFindRuleGroupIp int  ip_proto,
PORT_GROUP **  ip_group,
PORT_GROUP **  gen
 

Definition at line 83 of file fpcreate.c.

References prmFindRuleGroup().

Referenced by fpEvalHeaderIp().

int prmFindRuleGroupTcp int  dport,
int  sport,
PORT_GROUP **  src,
PORT_GROUP **  dst,
PORT_GROUP **  gen
 

Definition at line 95 of file fpcreate.c.

References prmFindRuleGroup().

Referenced by fpEvalHeaderTcp().

int prmFindRuleGroupUdp int  dport,
int  sport,
PORT_GROUP **  src,
PORT_GROUP **  dst,
PORT_GROUP **  gen
 

Definition at line 101 of file fpcreate.c.

References prmFindRuleGroup().

Referenced by fpEvalHeaderUdp().


Generated on Sun May 14 14:51:23 2006 by  doxygen 1.4.2