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

sp_icmp_seq_check.c File Reference

#include <stdlib.h>
#include <ctype.h>
#include "rules.h"
#include "decode.h"
#include "plugbase.h"
#include "parser.h"
#include "debug.h"
#include "util.h"
#include "plugin_enum.h"

Go to the source code of this file.

Typedefs

typedef _IcmpSeqData IcmpSeqData

Functions

void IcmpSeqCheckInit (char *, OptTreeNode *, int)
void ParseIcmpSeq (char *, OptTreeNode *)
int IcmpSeqCheck (Packet *, struct _OptTreeNode *, OptFpList *)
void SetupIcmpSeqCheck (void)


Typedef Documentation

typedef struct _IcmpSeqData IcmpSeqData
 


Function Documentation

int IcmpSeqCheck Packet ,
struct _OptTreeNode ,
OptFpList
 

Definition at line 179 of file sp_icmp_seq_check.c.

References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, ICMP_ECHO, ICMP_ECHOREPLY, _Packet::icmph, _OptFpList::next, _OptFpList::OptTestFunc, PLUGIN_ICMP_SEQ_CHECK, and _ICMPHdr::type.

Referenced by IcmpSeqCheckInit().

void IcmpSeqCheckInit char *  ,
OptTreeNode ,
int 
 

Definition at line 106 of file sp_icmp_seq_check.c.

References AddOptFuncToList(), _OptTreeNode::ds_list, FatalError(), file_line, file_name, IcmpSeqCheck(), ParseIcmpSeq(), PLUGIN_ICMP_SEQ_CHECK, and SnortAlloc().

Referenced by SetupIcmpSeqCheck().

void ParseIcmpSeq char *  ,
OptTreeNode
 

Definition at line 148 of file sp_icmp_seq_check.c.

References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _IcmpSeqData::icmpseq, and PLUGIN_ICMP_SEQ_CHECK.

Referenced by IcmpSeqCheckInit().

void SetupIcmpSeqCheck void   ) 
 

Definition at line 84 of file sp_icmp_seq_check.c.

References DEBUG_PLUGIN, DEBUG_WRAP, IcmpSeqCheckInit(), and RegisterPlugin().

Referenced by InitPlugIns().


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