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

fpdetect.h File Reference

#include "fpcreate.h"

Go to the source code of this file.

Functions

int OtnXMatchDataInitialize ()
int fpSetDetectionOptions (FPDETECT *fpDetect)
int fpEvalPacket (Packet *p)
int fpLogEvent (RuleTreeNode *rtn, OptTreeNode *otn, Packet *p)


Function Documentation

int fpEvalPacket Packet p  ) 
 

Definition at line 1533 of file fpdetect.c.

References DEBUG_DETECT, DEBUG_WRAP, fpEvalHeaderIcmp(), fpEvalHeaderIp(), fpEvalHeaderTcp(), fpEvalHeaderUdp(), _Packet::icmph, _IPHdr::ip_proto, _Packet::iph, NULL, _Packet::tcph, and _Packet::udph.

Referenced by Detect().

int fpLogEvent RuleTreeNode rtn,
OptTreeNode otn,
Packet p
 

Definition at line 210 of file fpdetect.c.

References ActivateAction(), AlertAction(), _progvars::assurance_mode, ASSURE_EST, check_tags_flag, DEBUG_DETECT, DEBUG_WRAP, DropAction(), DynamicAction(), _OptTreeNode::event_data, event_id, InlineDrop(), InlineMode(), _IPHdr::ip_dst, _IPHdr::ip_src, _Packet::iph, LogAction(), _Packet::packet_flags, PassAction(), PKT_REBUILT_STREAM, PKT_STREAM_UNEST_UNI, _Packet::pkth, _Event::ref_time, RULE_ACTIVATE, RULE_ALERT, RULE_DROP, RULE_DYNAMIC, RULE_LOG, RULE_PASS, RULE_REINJECT, RULE_REJECT, RULE_REJECTBOTH, RULE_REJECTDST, RULE_REJECTSRC, RULE_SDROP, SetTags(), sfthreshold_test(), _Event::sig_generator, _Event::sig_id, _OptTreeNode::stateless, TriggerResponses(), pcap_pkthdr::ts, and _RuleTreeNode::type.

Referenced by fpEvalHeader(), and LogSnortEvents().

int fpSetDetectionOptions FPDETECT fpDetect  ) 
 

Definition at line 188 of file fpdetect.c.

Referenced by fpInitDetectionEngine().

int OtnXMatchDataInitialize  ) 
 

Definition at line 160 of file fpdetect.c.

References FatalError(), OTNX_MATCH_DATA::iMatchInfoArraySize, OTNX_MATCH_DATA::matchInfo, and _progvars::num_rule_types.

Referenced by SnortMain().


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