#include <stdlib.h>
#include <ctype.h>
#include "rules.h"
#include "decode.h"
#include "debug.h"
#include "plugbase.h"
#include "parser.h"
#include "plugin_enum.h"
#include "util.h"
Go to the source code of this file.
Typedefs | |
typedef _TtlCheckData | TtlCheckData |
Functions | |
void | TtlCheckInit (char *, OptTreeNode *, int) |
void | ParseTtl (char *, OptTreeNode *) |
int | CheckTtlEq (Packet *, struct _OptTreeNode *, OptFpList *) |
int | CheckTtlGT (Packet *, struct _OptTreeNode *, OptFpList *) |
int | CheckTtlLT (Packet *, struct _OptTreeNode *, OptFpList *) |
int | CheckTtlRG (Packet *, struct _OptTreeNode *, OptFpList *) |
void | SetupTtlCheck (void) |
|
|
|
Definition at line 211 of file sp_ttl_check.c. References DEBUG_PLUGIN, _OptTreeNode::ds_list, _IPHdr::ip_ttl, _Packet::iph, _OptFpList::next, _OptFpList::OptTestFunc, and PLUGIN_TTL_CHECK. Referenced by ParseTtl(). |
|
Definition at line 248 of file sp_ttl_check.c. References DEBUG_PLUGIN, _OptTreeNode::ds_list, _IPHdr::ip_ttl, _Packet::iph, _OptFpList::next, _OptFpList::OptTestFunc, and PLUGIN_TTL_CHECK. Referenced by ParseTtl(). |
|
Definition at line 286 of file sp_ttl_check.c. References DEBUG_PLUGIN, _OptTreeNode::ds_list, _IPHdr::ip_ttl, _Packet::iph, _OptFpList::next, _OptFpList::OptTestFunc, and PLUGIN_TTL_CHECK. Referenced by ParseTtl(). |
|
Definition at line 325 of file sp_ttl_check.c. References DEBUG_PLUGIN, _OptTreeNode::ds_list, _IPHdr::ip_ttl, _Packet::iph, _OptFpList::next, _OptFpList::OptTestFunc, and PLUGIN_TTL_CHECK. Referenced by ParseTtl(). |
|
Definition at line 122 of file sp_ttl_check.c. References AddOptFuncToList(), CheckTtlEq(), CheckTtlGT(), CheckTtlLT(), CheckTtlRG(), DEBUG_PLUGIN, DEBUG_WRAP, _OptTreeNode::ds_list, _TtlCheckData::h_ttl, PLUGIN_TTL_CHECK, and _TtlCheckData::ttl. Referenced by TtlCheckInit(). |
|
Definition at line 64 of file sp_ttl_check.c. References DEBUG_PLUGIN, DEBUG_WRAP, RegisterPlugin(), and TtlCheckInit(). Referenced by InitPlugIns(). |
|
Definition at line 86 of file sp_ttl_check.c. References _OptTreeNode::ds_list, FatalError(), file_line, file_name, ParseTtl(), PLUGIN_TTL_CHECK, and SnortAlloc(). Referenced by SetupTtlCheck(). |