#include <hlbr.h>
Data Fields | |
int | PacketSlot |
unsigned int | PacketNum |
int | InterfaceNum |
int | TargetInterface |
unsigned char * | RawPacket |
char | Pad [2] |
unsigned char | TypicalPacket [TYPICAL_PACKET_SIZE] |
char | LargePacket |
int | PacketLen |
unsigned char | RuleBits [MAX_RULES/8] |
timeval | tv |
DecoderData | DecoderInfo [MAX_DECODER_DEPTH] |
int | NumDecoderData |
int | BeginData |
char | PassRawPacket |
int | SaveCount |
char | Status |
pthread_mutex_t | Mutex |
int | LockID |
port_pair * | Stream |
Definition at line 160 of file hlbr.h.
Definition at line 161 of file hlbr.h.
Referenced by DecodeTCPStream(), GetEmptyPacket(), HandleARPPacket(), HandleIPPacket(), RouteBNS(), RouteBroadcast(), RouteDIP(), and RouteMacFilter().
unsigned int packet_rec::PacketNum |
Definition at line 164 of file hlbr.h.
Referenced by DecodeInterface(), HandleARPPacket(), HandleIPPacket(), ReadPacketTCPDump(), RebuildPacket(), RouteAndSend(), RouteBNS(), RouteDIP(), RouteInterface(), RouteMacFilter(), RouteSBridge(), and RouteSIP().
Definition at line 165 of file hlbr.h.
Referenced by HandleARPPacket(), HandleIPPacket(), RouteAndSend(), RouteARP(), RouteBroadcast(), RouteDIP(), RouteInterface(), RouteMacFilter(), RouteSBridge(), SendARP(), and WritePacket().
unsigned char* packet_rec::RawPacket |
Definition at line 167 of file hlbr.h.
Referenced by DecodeARP(), DecodeDNS(), DecodeEthernet(), DecodeICMP(), DecodeIP(), DecodeTCP(), DecodeUDP(), DumpPacketAction(), ReadPacketTCPDump(), RebuildPacket(), ReturnEmptyPacket(), RouteAndSend(), SendARP(), TestTCPContent(), TestTCPListContent(), TestTCPListNoCase(), TestTCPNoCase(), TestTCPRegExp(), TestUDPContent(), TestUDPNoCase(), TestUDPRegExp(), and WritePacket().
char packet_rec::Pad[2] |
unsigned char packet_rec::TypicalPacket[TYPICAL_PACKET_SIZE] |
Definition at line 171 of file hlbr.h.
Referenced by DecodeTCP(), DumpPacketAction(), ReadPacketTCPDump(), RebuildPacket(), SendARP(), TestTCPContent(), TestTCPListContent(), TestTCPListNoCase(), TestTCPNoCase(), TestUDPContent(), TestUDPNoCase(), and WritePacket().
unsigned char packet_rec::RuleBits[MAX_RULES/8] |
Definition at line 173 of file hlbr.h.
Referenced by Decode(), ProcessPacket(), RuleIsActive(), SetRuleInactive(), TestIPDst(), TestIPTTL(), TestTCPContent(), TestTCPDst(), TestTCPFlags(), TestTCPListContent(), TestTCPListNoCase(), TestTCPNoCase(), TestUDPContent(), TestUDPNoCase(), and TestUDPSrc().
struct timeval packet_rec::tv [read] |
Definition at line 174 of file hlbr.h.
Referenced by ApplyMessage(), AssignSessionTCP(), BNSAction(), DecodeIPDefrag(), DumpPacketAction(), HandleIPPacket(), ProcessPacket(), ReadPacketTCPDump(), RebuildPacket(), RouteSIPAction(), and SavePacket().
DecoderData packet_rec::DecoderInfo[MAX_DECODER_DEPTH] |
Definition at line 176 of file hlbr.h.
Referenced by Decode(), DecodeEthernet(), GetDataByID(), ReturnEmptyPacket(), TestEthernetDst(), TestEthernetSrc(), TestEthernetType(), TestICMPCode(), TestICMPType(), TestInterfaceName(), TestIPCheck(), TestIPProto(), TestTCPOffset(), TestTCPPort(), and TestTCPSrc().
Definition at line 177 of file hlbr.h.
Referenced by Decode(), GetDataByID(), ReturnEmptyPacket(), TestEthernetDst(), TestEthernetSrc(), TestEthernetType(), TestICMPCode(), TestICMPType(), TestInterfaceName(), TestIPCheck(), TestIPProto(), TestTCPOffset(), TestTCPPort(), and TestTCPSrc().
Definition at line 178 of file hlbr.h.
Referenced by DecodeARP(), DecodeDNS(), DecodeEthernet(), DecodeICMP(), DecodeIP(), DecodeTCP(), DecodeUDP(), TestTCPContent(), TestTCPListContent(), TestTCPListNoCase(), TestTCPNoCase(), TestTCPRegExp(), TestUDPContent(), TestUDPNoCase(), and TestUDPRegExp().
true if we pass this one as is (route it), false to be dropped
Definition at line 181 of file hlbr.h.
Referenced by DecodeIPDefrag(), DropAction(), DropPacket(), and RouteAndSend().
Definition at line 182 of file hlbr.h.
Referenced by DecodeIPDefrag(), FreeSaved(), GetEmptyPacket(), ReturnEmptyPacket(), and SavePacket().
char packet_rec::Status |
where the packet is in the processing loop (see packet.h)
Definition at line 185 of file hlbr.h.
Referenced by AddPacketToPending(), BlockPacket(), DropAction(), GetEmptyPacket(), PopFromPending(), ProcessPacket(), RebuildPacket(), and ReturnEmptyPacket().
pthread_mutex_t packet_rec::Mutex |
Definition at line 187 of file hlbr.h.
Referenced by FreeSaved(), GetAndLockSavedPackets(), SavePacket(), and UnlockSavedQuery().
struct port_pair* packet_rec::Stream [read] |