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

sp_icmp_id_check.c File Reference

#include <sys/types.h>
#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 _IcmpIdData IcmpIdData

Functions

void ParseIcmpId (char *, OptTreeNode *)
int IcmpIdCheck (Packet *, struct _OptTreeNode *, OptFpList *)
void IcmpIdCheckInit (char *, OptTreeNode *, int)
void SetupIcmpIdCheck (void)


Typedef Documentation

typedef struct _IcmpIdData IcmpIdData
 


Function Documentation

int IcmpIdCheck Packet ,
struct _OptTreeNode ,
OptFpList
 

Definition at line 180 of file sp_icmp_id_check.c.

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

Referenced by IcmpIdCheckInit().

void IcmpIdCheckInit char *  ,
OptTreeNode ,
int 
 

Definition at line 106 of file sp_icmp_id_check.c.

References AddOptFuncToList(), _OptTreeNode::ds_list, FatalError(), file_line, file_name, IcmpIdCheck(), ParseIcmpId(), PLUGIN_ICMP_ID_CHECK, and SnortAlloc().

Referenced by SetupIcmpIdCheck().

void ParseIcmpId char *  ,
OptTreeNode
 

Definition at line 149 of file sp_icmp_id_check.c.

References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _IcmpIdData::icmpid, and PLUGIN_ICMP_ID_CHECK.

Referenced by IcmpIdCheckInit().

void SetupIcmpIdCheck void   ) 
 

Definition at line 84 of file sp_icmp_id_check.c.

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

Referenced by InitPlugIns().


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