#include <stdlib.h>
#include <string.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"
#include "sp_icmp_type_check.h"
Go to the source code of this file.
Functions | |
void | IcmpTypeCheckInit (char *, OptTreeNode *, int) |
void | ParseIcmpType (char *, OptTreeNode *) |
int | IcmpTypeCheck (Packet *, struct _OptTreeNode *, OptFpList *) |
void | SetupIcmpTypeCheck (void) |
|
Definition at line 209 of file sp_icmp_type_check.c. References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _IcmpTypeCheckData::icmp_type, _IcmpTypeCheckData::icmp_type2, ICMP_TYPE_TEST_EQ, ICMP_TYPE_TEST_GT, ICMP_TYPE_TEST_LT, ICMP_TYPE_TEST_RG, _Packet::icmph, _OptFpList::next, _IcmpTypeCheckData::operator, _OptFpList::OptTestFunc, PLUGIN_ICMP_TYPE, and _ICMPHdr::type. Referenced by IcmpTypeCheckInit(). |
|
Definition at line 78 of file sp_icmp_type_check.c. References AddOptFuncToList(), _OptTreeNode::ds_list, FatalError(), file_line, file_name, IcmpTypeCheck(), ParseIcmpType(), PLUGIN_ICMP_TYPE, and SnortAlloc(). Referenced by SetupIcmpTypeCheck(). |
|
Definition at line 120 of file sp_icmp_type_check.c. References _OptTreeNode::ds_list, FatalError(), file_line, file_name, _IcmpTypeCheckData::icmp_type, _IcmpTypeCheckData::icmp_type2, ICMP_TYPE_TEST_EQ, ICMP_TYPE_TEST_GT, ICMP_TYPE_TEST_LT, ICMP_TYPE_TEST_RG, NULL, _IcmpTypeCheckData::operator, and PLUGIN_ICMP_TYPE. Referenced by IcmpTypeCheckInit(). |
|
Definition at line 57 of file sp_icmp_type_check.c. References DEBUG_PLUGIN, DEBUG_WRAP, IcmpTypeCheckInit(), and RegisterPlugin(). Referenced by InitPlugIns(). |