#include <stdlib.h>#include <string.h>#include <ctype.h>#include "rules.h"#include "decode.h"#include "plugbase.h"#include "parser.h"#include "util.h"#include "debug.h"#include "plugin_enum.h"Go to the source code of this file.
Defines | |
| #define | ICMP_CODE_TEST_EQ 1 |
| #define | ICMP_CODE_TEST_GT 2 |
| #define | ICMP_CODE_TEST_LT 3 |
| #define | ICMP_CODE_TEST_RG 4 |
Typedefs | |
| typedef _IcmpCodeCheckData | IcmpCodeCheckData |
Functions | |
| void | IcmpCodeCheckInit (char *, OptTreeNode *, int) |
| void | ParseIcmpCode (char *, OptTreeNode *) |
| int | IcmpCodeCheck (Packet *, struct _OptTreeNode *, OptFpList *) |
| void | SetupIcmpCodeCheck (void) |
|
|
Definition at line 45 of file sp_icmp_code_check.c. Referenced by IcmpCodeCheck(), and ParseIcmpCode(). |
|
|
Definition at line 46 of file sp_icmp_code_check.c. Referenced by IcmpCodeCheck(), and ParseIcmpCode(). |
|
|
Definition at line 47 of file sp_icmp_code_check.c. Referenced by IcmpCodeCheck(), and ParseIcmpCode(). |
|
|
Definition at line 48 of file sp_icmp_code_check.c. Referenced by IcmpCodeCheck(), and ParseIcmpCode(). |
|
|
|
|
||||||||||||||||
|
Definition at line 223 of file sp_icmp_code_check.c. References _ICMPHdr::code, DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _IcmpCodeCheckData::icmp_code, _IcmpCodeCheckData::icmp_code2, ICMP_CODE_TEST_EQ, ICMP_CODE_TEST_GT, ICMP_CODE_TEST_LT, ICMP_CODE_TEST_RG, _Packet::icmph, _OptFpList::next, _IcmpCodeCheckData::operator, _OptFpList::OptTestFunc, and PLUGIN_ICMP_CODE. Referenced by IcmpCodeCheckInit(). |
|
||||||||||||||||
|
Definition at line 91 of file sp_icmp_code_check.c. References AddOptFuncToList(), _OptTreeNode::ds_list, FatalError(), file_line, file_name, IcmpCodeCheck(), ParseIcmpCode(), PLUGIN_ICMP_CODE, and SnortAlloc(). Referenced by SetupIcmpCodeCheck(). |
|
||||||||||||
|
Definition at line 135 of file sp_icmp_code_check.c. References _OptTreeNode::ds_list, FatalError(), file_line, file_name, _IcmpCodeCheckData::icmp_code, _IcmpCodeCheckData::icmp_code2, ICMP_CODE_TEST_EQ, ICMP_CODE_TEST_GT, ICMP_CODE_TEST_LT, ICMP_CODE_TEST_RG, NULL, _IcmpCodeCheckData::operator, and PLUGIN_ICMP_CODE. Referenced by IcmpCodeCheckInit(). |
|
|
Definition at line 70 of file sp_icmp_code_check.c. References DEBUG_PLUGIN, DEBUG_WRAP, IcmpCodeCheckInit(), and RegisterPlugin(). Referenced by InitPlugIns(). |
1.4.2