#include "test_tcp_listnocase.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "../decoders/decode_tcp.h"
#include "../packets/packet.h"
#include "../engine/jtree.h"
#include "../engine/parse_config.h"
#include <arpa/inet.h>
Go to the source code of this file.
Data Structures | |
struct | tcp_nocase_data |
Typedefs | |
typedef tcp_nocase_data | TCPListNoCaseData |
Functions | |
int | TestTCPListNoCase (int PacketSlot, TestNode *Nodes) |
int | TCPListNoCaseAddNode (int TestID, int RuleID, char *Args) |
int | TestTCPListNoCaseFinishedSetup () |
int | InitTestTCPListNoCase () |
Variables | |
GlobalVars | Globals |
int | TCPDecoderID |
JTree | TCPListNoCaseTree |
typedef struct tcp_nocase_data TCPListNoCaseData |
int InitTestTCPListNoCase | ( | ) |
Definition at line 130 of file test_tcp_listnocase.c.
References test_rec::AddNode, BindTestToDecoder(), CreateTest(), FALSE, test_rec::FinishedSetup, GetDecoderByName(), Globals, InitJTree(), MAX_NAME_LEN, test_rec::ShortName, TCPDecoderID, TCPListNoCaseAddNode(), TCPListNoCaseTree, TEST_NONE, test_rec::TestFunc, global_vars::Tests, TestTCPListNoCase(), TestTCPListNoCaseFinishedSetup(), and TRUE.
Referenced by InitTests().
int TCPListNoCaseAddNode | ( | int | TestID, | |
int | RuleID, | |||
char * | Args | |||
) |
Definition at line 74 of file test_tcp_listnocase.c.
References AddStringJTree(), FALSE, GetLine(), NULL, TCPListNoCaseTree, and TestAddNode().
Referenced by InitTestTCPListNoCase().
int TestTCPListNoCase | ( | int | PacketSlot, | |
TestNode * | Nodes | |||
) |
Definition at line 26 of file test_tcp_listnocase.c.
References packet_rec::BeginData, FALSE, Globals, MatchStrings(), global_vars::NumRules, packet_rec::PacketLen, global_vars::Packets, packet_rec::RawPacket, packet_rec::RuleBits, RuleIsActive(), TCPListNoCaseTree, and TRUE.
Referenced by InitTestTCPListNoCase().
int TestTCPListNoCaseFinishedSetup | ( | ) |
Definition at line 118 of file test_tcp_listnocase.c.
References FinalizeJTree(), and TCPListNoCaseTree.
Referenced by InitTestTCPListNoCase().
int TCPDecoderID |
Definition at line 20 of file test_tcp_listnocase.c.
Definition at line 21 of file test_tcp_listnocase.c.
Referenced by InitTestTCPListNoCase(), TCPListNoCaseAddNode(), TestTCPListNoCase(), and TestTCPListNoCaseFinishedSetup().