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

sp_ip_same_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 _IpSameData IpSameData

Functions

void IpSameCheckInit (char *, OptTreeNode *, int)
void ParseIpSame (char *, OptTreeNode *)
int IpSameCheck (Packet *, struct _OptTreeNode *, OptFpList *)
void SetupIpSameCheck (void)


Typedef Documentation

typedef struct _IpSameData IpSameData
 


Function Documentation

int IpSameCheck Packet ,
struct _OptTreeNode ,
OptFpList
 

Definition at line 155 of file sp_ip_same_check.c.

References DEBUG_PLUGIN, DEBUG_WRAP, _IPHdr::ip_dst, _IPHdr::ip_src, _Packet::iph, _OptFpList::next, and _OptFpList::OptTestFunc.

Referenced by IpSameCheckInit().

void IpSameCheckInit char *  ,
OptTreeNode ,
int 
 

Definition at line 83 of file sp_ip_same_check.c.

References AddOptFuncToList(), _OptTreeNode::ds_list, FatalError(), file_line, file_name, IpSameCheck(), ParseIpSame(), PLUGIN_IP_SAME_CHECK, and SnortAlloc().

Referenced by SetupIpSameCheck().

void ParseIpSame char *  ,
OptTreeNode
 

Definition at line 121 of file sp_ip_same_check.c.

References _OptTreeNode::ds_list, FatalError(), file_line, file_name, and PLUGIN_IP_SAME_CHECK.

Referenced by IpSameCheckInit().

void SetupIpSameCheck void   ) 
 

Definition at line 62 of file sp_ip_same_check.c.

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

Referenced by InitPlugIns().


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