#include <sys/types.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include "bounds.h"
#include "byte_extract.h"
#include "rules.h"
#include "decode.h"
#include "plugbase.h"
#include "parser.h"
#include "debug.h"
#include "util.h"
#include "plugin_enum.h"
#include "mstring.h"
Go to the source code of this file.
Defines | |
#define | BT_LESS_THAN 1 |
#define | BT_EQUALS 2 |
#define | BT_GREATER_THAN 3 |
#define | BT_AND 4 |
#define | BT_OR 5 |
#define | BIG 0 |
#define | LITTLE 1 |
#define | PARSELEN 10 |
#define | TEXTLEN (PARSELEN + 2) |
Typedefs | |
typedef _ByteTestData | ByteTestData |
Functions | |
void | ByteTestInit (char *, OptTreeNode *, int) |
void | ByteTestParse (char *, ByteTestData *, OptTreeNode *) |
int | ByteTest (Packet *, struct _OptTreeNode *, OptFpList *) |
void | SetupByteTest (void) |
Variables | |
u_int8_t * | doe_ptr |
u_int8_t | DecodeBuffer [DECODE_BLEN] |
|
Definition at line 103 of file sp_byte_check.c. |
|
Definition at line 100 of file sp_byte_check.c. Referenced by ByteTest(), and ByteTestParse(). |
|
Definition at line 98 of file sp_byte_check.c. Referenced by ByteTest(), and ByteTestParse(). |
|
Definition at line 99 of file sp_byte_check.c. Referenced by ByteTest(), and ByteTestParse(). |
|
Definition at line 97 of file sp_byte_check.c. Referenced by ByteTest(), and ByteTestParse(). |
|
Definition at line 101 of file sp_byte_check.c. Referenced by ByteTest(), and ByteTestParse(). |
|
Definition at line 104 of file sp_byte_check.c. |
|
Definition at line 105 of file sp_byte_check.c. |
|
Definition at line 106 of file sp_byte_check.c. |
|
|
|
|
Definition at line 164 of file sp_byte_check.c. References AddOptFuncToList(), ByteTest(), ByteTestParse(), _OptFpList::context, FatalError(), file_line, file_name, and NULL. Referenced by SetupByteTest(). |
|
Definition at line 207 of file sp_byte_check.c. References _ByteTestData::base, BIG, BT_AND, BT_EQUALS, BT_GREATER_THAN, BT_LESS_THAN, BT_OR, _ByteTestData::bytes_to_compare, _ByteTestData::cmp_value, _ByteTestData::data_string_convert_flag, DEBUG_PATTERN_MATCH, DEBUG_WRAP, _ByteTestData::endianess, errno, FatalError(), file_line, file_name, LITTLE, mSplit(), mSplitFree(), _ByteTestData::not_flag, _ByteTestData::offset, _ByteTestData::operator, PARSELEN, _ByteTestData::relative_flag, strcasecmp, strtol(), and strtoul(). Referenced by ByteTestInit(). |
|
Definition at line 140 of file sp_byte_check.c. References ByteTestInit(), DEBUG_PLUGIN, DEBUG_WRAP, and RegisterPlugin(). Referenced by InitPlugIns(). |
|
|
|
Definition at line 72 of file sp_pattern_match.c. |