#include "test_interface_name.h"#include <stdio.h>#include <string.h>#include <stdlib.h>#include "../decoders/decode_interface.h"#include "../packets/packet.h"Go to the source code of this file.
Data Structures | |
| struct | interface_name_data |
Defines | |
| #define | DEBUG |
Typedefs | |
| typedef interface_name_data | InterfaceNameData |
Functions | |
| int | TestInterfaceName (int PacketSlot, TestNode *Nodes) |
| int | InterfaceNameAddNode (int TestID, int RuleID, char *Args) |
| int | InitTestInterfaceName () |
Variables | |
| GlobalVars | Globals |
| int | InterfaceDecoderID |
| #define DEBUG |
Definition at line 14 of file test_interface_name.c.
| typedef struct interface_name_data InterfaceNameData |
| int InitTestInterfaceName | ( | ) |
Definition at line 128 of file test_interface_name.c.
References test_rec::AddNode, BindTestToDecoder(), CreateTest(), FALSE, GetDecoderByName(), Globals, InterfaceDecoderID, InterfaceNameAddNode(), MAX_NAME_LEN, test_rec::ShortName, TEST_NONE, test_rec::TestFunc, TestInterfaceName(), global_vars::Tests, and TRUE.
Referenced by InitTests().
| int InterfaceNameAddNode | ( | int | TestID, | |
| int | RuleID, | |||
| char * | Args | |||
| ) |
Definition at line 99 of file test_interface_name.c.
References Globals, interface_name_data::InterfaceNum, global_vars::Interfaces, interface_rec::Name, global_vars::NumInterfaces, and TestAddNode().
Referenced by InitTestInterfaceName().
| int TestInterfaceName | ( | int | PacketSlot, | |
| TestNode * | Nodes | |||
| ) |
Definition at line 21 of file test_interface_name.c.
References decoder_data::Data, decoder_data::DecoderID, packet_rec::DecoderInfo, Globals, InterfaceDecoderID, packet_rec::NumDecoderData, and global_vars::Packets.
Referenced by InitTestInterfaceName().
Definition at line 16 of file test_interface_name.c.
Referenced by InitTestInterfaceName(), and TestInterfaceName().
1.5.2