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

sp_ip_id_check.c File Reference

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

Go to the source code of this file.

Typedefs

typedef _IpIdData IpIdData

Functions

void IpIdCheckInit (char *, OptTreeNode *, int)
void ParseIpId (char *, OptTreeNode *)
int IpIdCheckEq (Packet *, struct _OptTreeNode *, OptFpList *)
void SetupIpIdCheck (void)


Typedef Documentation

typedef struct _IpIdData IpIdData
 


Function Documentation

int IpIdCheckEq Packet ,
struct _OptTreeNode ,
OptFpList
 

Definition at line 153 of file sp_ip_id_check.c.

References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _IPHdr::ip_id, _Packet::iph, _OptFpList::next, _OptFpList::OptTestFunc, and PLUGIN_IP_ID_CHECK.

Referenced by IpIdCheckInit().

void IpIdCheckInit char *  ,
OptTreeNode ,
int 
 

Definition at line 81 of file sp_ip_id_check.c.

References AddOptFuncToList(), _OptTreeNode::ds_list, FatalError(), file_line, file_name, IpIdCheckEq(), ParseIpId(), PLUGIN_IP_ID_CHECK, and SnortAlloc().

Referenced by SetupIpIdCheck().

void ParseIpId char *  ,
OptTreeNode
 

Definition at line 119 of file sp_ip_id_check.c.

References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _IpIdData::ip_id, and PLUGIN_IP_ID_CHECK.

Referenced by IpIdCheckInit().

void SetupIpIdCheck void   ) 
 

Definition at line 59 of file sp_ip_id_check.c.

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

Referenced by InitPlugIns().


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