#include <ctype.h>#include <stdlib.h>#include <string.h>#include "rules.h"#include "decode.h"#include "plugbase.h"#include "debug.h"#include "parser.h"#include "plugin_enum.h"#include "util.h"Go to the source code of this file.
Defines | |
| #define | EQ 0 |
| #define | GT 1 |
| #define | LT 2 |
Typedefs | |
| typedef _DsizeCheckData | DsizeCheckData |
Functions | |
| void | DsizeCheckInit (char *, OptTreeNode *, int) |
| void | ParseDsize (char *, OptTreeNode *) |
| int | CheckDsizeEq (Packet *, struct _OptTreeNode *, OptFpList *) |
| int | CheckDsizeGT (Packet *, struct _OptTreeNode *, OptFpList *) |
| int | CheckDsizeLT (Packet *, struct _OptTreeNode *, OptFpList *) |
| int | CheckDsizeRange (Packet *, struct _OptTreeNode *, OptFpList *) |
| void | SetupDsizeCheck (void) |
|
|
Definition at line 36 of file sp_dsize_check.c. |
|
|
Definition at line 37 of file sp_dsize_check.c. |
|
|
Definition at line 38 of file sp_dsize_check.c. |
|
|
|
|
||||||||||||||||
|
Definition at line 227 of file sp_dsize_check.c. References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _Packet::dsize, _OptFpList::next, _OptFpList::OptTestFunc, _Packet::packet_flags, PKT_REBUILT_STREAM, and PLUGIN_DSIZE_CHECK. Referenced by ParseDsize(). |
|
||||||||||||||||
|
Definition at line 267 of file sp_dsize_check.c. References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _Packet::dsize, _OptFpList::next, _OptFpList::OptTestFunc, _Packet::packet_flags, PKT_REBUILT_STREAM, and PLUGIN_DSIZE_CHECK. Referenced by ParseDsize(). |
|
||||||||||||||||
|
Definition at line 307 of file sp_dsize_check.c. References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _Packet::dsize, _OptFpList::next, _OptFpList::OptTestFunc, _Packet::packet_flags, PKT_REBUILT_STREAM, and PLUGIN_DSIZE_CHECK. Referenced by ParseDsize(). |
|
||||||||||||||||
|
Definition at line 345 of file sp_dsize_check.c. References DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _Packet::dsize, _OptFpList::next, _OptFpList::OptTestFunc, _Packet::packet_flags, PKT_REBUILT_STREAM, and PLUGIN_DSIZE_CHECK. Referenced by ParseDsize(). |
|
||||||||||||||||
|
Definition at line 86 of file sp_dsize_check.c. References _OptTreeNode::ds_list, FatalError(), file_line, file_name, ParseDsize(), PLUGIN_DSIZE_CHECK, and SnortAlloc(). Referenced by SetupDsizeCheck(). |
|
||||||||||||
|
Definition at line 124 of file sp_dsize_check.c. References AddOptFuncToList(), CheckDsizeEq(), CheckDsizeGT(), CheckDsizeLT(), CheckDsizeRange(), DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _DsizeCheckData::dsize, _DsizeCheckData::dsize2, FatalError(), file_line, file_name, NULL, PLUGIN_DSIZE_CHECK, and strtol(). Referenced by DsizeCheckInit(). |
|
|
Definition at line 65 of file sp_dsize_check.c. References DEBUG_PLUGIN, DEBUG_WRAP, DsizeCheckInit(), and RegisterPlugin(). Referenced by InitPlugIns(). |
1.4.2